70 lines
1.3 KiB
CSS
70 lines
1.3 KiB
CSS
#embed-pdf-container {
|
|
position: relative;
|
|
width: 100%;
|
|
height: auto;
|
|
min-height: 20vh;
|
|
}
|
|
.pdf-canvas {
|
|
border: 1px solid black;
|
|
direction: ltr;
|
|
width: 100%;
|
|
height: auto;
|
|
display: none;
|
|
}
|
|
#the-canvas {
|
|
border: 1px solid black;
|
|
direction: ltr;
|
|
width: 100%;
|
|
height: auto;
|
|
display: none;
|
|
}
|
|
.pdf-loadingWrapper {
|
|
display: none;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
height: 350px;
|
|
}
|
|
.pdf-loading {
|
|
display: inline-block;
|
|
width: 50px;
|
|
height: 50px;
|
|
border: 3px solid #d2d0d0;
|
|
;
|
|
border-radius: 50%;
|
|
border-top-color: #383838;
|
|
animation: spin 1s ease-in-out infinite;
|
|
-webkit-animation: spin 1s ease-in-out infinite;
|
|
}
|
|
#overlayText {
|
|
word-wrap: break-word;
|
|
display: grid;
|
|
justify-content: end;
|
|
}
|
|
#overlayText a {
|
|
position: relative;
|
|
top: 10px;
|
|
right: 4px;
|
|
color: #000;
|
|
margin: auto;
|
|
background-color: #eeeeee;
|
|
padding: 0.3em 1em;
|
|
border: solid 2px;
|
|
border-radius: 12px;
|
|
border-color: #00000030;
|
|
text-decoration: none;
|
|
}
|
|
#overlayText svg {
|
|
height: clamp(1em, 2vw, 1.4em);
|
|
width: clamp(1em, 2vw, 1.4em);
|
|
}
|
|
@keyframes spin {
|
|
to {
|
|
-webkit-transform: rotate(360deg);
|
|
}
|
|
}
|
|
@-webkit-keyframes spin {
|
|
to {
|
|
-webkit-transform: rotate(360deg);
|
|
}
|
|
} |