114 lines
1.5 KiB
CSS
114 lines
1.5 KiB
CSS
html, body {
|
|
height: 100%;
|
|
width: 100%;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
#controls {
|
|
opacity: 0.8;
|
|
animation: 2s linear forwards fade;
|
|
}
|
|
|
|
@keyframes fade {
|
|
to { opacity: 0; }
|
|
}
|
|
|
|
.tap {
|
|
background: #000000;
|
|
position: fixed;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
#tap-left, #tap-right {
|
|
bottom: 0px;
|
|
width: 30vw;
|
|
height: 100vh;
|
|
}
|
|
|
|
#tap-left svg, #tap-right svg {
|
|
width: min(90%, 100px);
|
|
}
|
|
|
|
#tap-left {
|
|
left: 0px;
|
|
}
|
|
|
|
#tap-right {
|
|
right: 0px;
|
|
}
|
|
|
|
#tap-back, #tap-restart {
|
|
left: 30vw;
|
|
width: 40vw;
|
|
height: 20vh;
|
|
}
|
|
|
|
#tap-back svg {
|
|
height: min(51%, 100px);
|
|
}
|
|
|
|
#tap-restart svg {
|
|
height: min(90%, 175px);
|
|
}
|
|
|
|
#tap-back {
|
|
top: 0px;
|
|
}
|
|
|
|
#tap-restart {
|
|
bottom: 0px;
|
|
}
|
|
|
|
#viewer-images {
|
|
display: none;
|
|
}
|
|
|
|
#image-container {
|
|
height: 100vh;
|
|
width: 100vw;
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
}
|
|
|
|
#page-num, #duration {
|
|
position: fixed;
|
|
font-size: 14pt;
|
|
top: 10px;
|
|
font-weight: bold;
|
|
opacity: 0.75;
|
|
text-shadow: /* Duplicate the same shadow to make it very strong */
|
|
0 0 2px #222,
|
|
0 0 2px #222,
|
|
0 0 2px #222;
|
|
}
|
|
|
|
#page-num {
|
|
left: 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
#page-num table {
|
|
border-spacing: 0;
|
|
}
|
|
|
|
#current-page {
|
|
border-bottom: 2px solid;
|
|
}
|
|
|
|
#duration {
|
|
right: 10px;
|
|
}
|
|
|
|
#progress {
|
|
background-color: #4488ffcc;
|
|
height: 5px;
|
|
width: 0;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
}
|