275 lines
4.4 KiB
CSS
275 lines
4.4 KiB
CSS
:root {
|
|
--bg: rgb(16, 16, 16);
|
|
--fg: #CCCCCC;
|
|
--title: rgb(240, 240, 240);
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background: var(--bg);
|
|
color: var(--fg);
|
|
font-family: "Noto Sans", "Lucida Grande", "Segoe UI", "DejaVu Sans", "Lucida Sans Unicode", Helvetica, Arial, sans-serif;
|
|
line-height: normal;
|
|
}
|
|
|
|
*, *::after, *::before {
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
*:focus {
|
|
outline: none;
|
|
}
|
|
|
|
a {
|
|
color: var(--fg)
|
|
}
|
|
iframe {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.player {
|
|
max-width: 100%;
|
|
}
|
|
video, .poster {
|
|
border-bottom: 1px solid yellow;
|
|
}
|
|
.content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
max-width: 1000px;
|
|
margin: auto;
|
|
padding-top: 16px;
|
|
}
|
|
.item-title {
|
|
color: var(--title);
|
|
text-decoration: underline;
|
|
padding-bottom: 0;
|
|
font-size: 16px;
|
|
text-wrap: balance;
|
|
}
|
|
.title {
|
|
padding-bottom: 0;
|
|
margin-bottom: 4px;
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
border-bottom: 1px solid pink;
|
|
text-wrap: balance;
|
|
}
|
|
.byline {
|
|
padding: 0;
|
|
padding-bottom: 16px;
|
|
}
|
|
.player {
|
|
text-align: center;
|
|
padding-top: 0px;
|
|
padding-bottom: 0px;
|
|
}
|
|
@media(max-width:768px) {
|
|
.item-title,
|
|
.title,
|
|
.byline {
|
|
padding-left: 4px;
|
|
padding-right: 4px;
|
|
}
|
|
.player {
|
|
position: sticky;
|
|
top: 0px;
|
|
}
|
|
}
|
|
.player video {
|
|
z-index: 0;
|
|
}
|
|
.value {
|
|
padding: 4px;
|
|
padding-top: 16px;
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
flex: 1;
|
|
}
|
|
@media(max-width:768px) {
|
|
.value {
|
|
padding-left: 4px;
|
|
padding-right: 4px;
|
|
}
|
|
}
|
|
.more {
|
|
padding-top: 16px;
|
|
padding-bottom: 16px;
|
|
text-align: center;
|
|
font-size: 14px;
|
|
}
|
|
.more a {
|
|
color: rgb(144, 144, 144);
|
|
}
|
|
.more nav {
|
|
margin-top: 24px;
|
|
margin-bottom: 24px;
|
|
}
|
|
.layer.active {
|
|
padding-top: 8px;
|
|
}
|
|
.layer.active:first-child {
|
|
padding-top: 0px;
|
|
}
|
|
.layer h3 {
|
|
font-weight: bold;
|
|
padding: 4px;
|
|
padding-left: 0;
|
|
margin: 0;
|
|
//display: none;
|
|
}
|
|
.layer.active h3 {
|
|
display: block;
|
|
}
|
|
|
|
.annotation {
|
|
padding: 4px;
|
|
border-bottom: 1px solid blueviolet;
|
|
display: none;
|
|
}
|
|
.annotation.active {
|
|
display: block;
|
|
}
|
|
.annotation.active.place,
|
|
.annotation.active.string {
|
|
display: inline-block;
|
|
border: 1px solid blueviolet;
|
|
margin-bottom: 4px;
|
|
}
|
|
.annotation .user {
|
|
font-style: italic;
|
|
}
|
|
|
|
@media(max-width:768px) {
|
|
.annotation a img {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.layer h3 {
|
|
cursor: pointer;
|
|
}
|
|
.layer .icon svg {
|
|
width: 12px;
|
|
height: 12px;
|
|
}
|
|
.layer.collapsed .annotation.active {
|
|
display: none;
|
|
}
|
|
.rotate {
|
|
transform: rotate(90deg) translateY(-100%);
|
|
transform-origin:bottom left;
|
|
}
|
|
|
|
.document.text {
|
|
line-height: 1.5;
|
|
letter-spacing: 0.1px;
|
|
word-wrap: break-word;
|
|
hyphens: auto;
|
|
}
|
|
.document.text p {
|
|
padding-bottom: 1em;
|
|
}
|
|
.document.text img {
|
|
max-width: 100vw;
|
|
margin-left: -4px;
|
|
margin-right: -4px;
|
|
}
|
|
figure {
|
|
text-align: center;
|
|
}
|
|
figure img {
|
|
max-width: 100vw;
|
|
margin-left: -4px;
|
|
margin-right: -4px;
|
|
}
|
|
@media(max-width:768px) {
|
|
.document.text {
|
|
padding-left: 4px;
|
|
padding-right: 4px;
|
|
}
|
|
}
|
|
|
|
ol li {
|
|
margin-left: 1em;
|
|
}
|
|
|
|
.blocked svg {
|
|
width: 64px;
|
|
height: 64px;
|
|
}
|
|
|
|
|
|
.seekbar {
|
|
padding: 12px 22px;
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
.fullscreen .seekbar {
|
|
padding: 28px 22px;
|
|
}
|
|
|
|
.seekbar-progress {
|
|
height: 10px;
|
|
border: solid 1px #B1B1B1;
|
|
}
|
|
|
|
.seekbar-progress [role="progressbar"] {
|
|
height: 100%;
|
|
position: relative;
|
|
background-color: #B1B1B180;
|
|
}
|
|
|
|
.seekbar-progress [role="progressbar"]:after {
|
|
content: " ";
|
|
display: block;
|
|
width: 20px;
|
|
height: 20px;
|
|
position: absolute;
|
|
top: -6px;
|
|
right: -10px;
|
|
background-color: #B1B1B1;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.seekbar input[type="range"] {
|
|
-webkit-appearance: none;
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 2;
|
|
background: transparent;
|
|
outline: 0;
|
|
border: 0;
|
|
}
|
|
|
|
.seekbar input[type="range"]::-webkit-slider-thumb {
|
|
-webkit-appearance: none;
|
|
display: block;
|
|
width: 48px;
|
|
height: 48px;
|
|
background-color: transparent;
|
|
}
|
|
|
|
.seekbar input[type="range"]::-moz-range-thumb {
|
|
display: block;
|
|
width: 48px;
|
|
height: 48px;
|
|
background: transparent;
|
|
border: 0;
|
|
}
|
|
|
|
.seekbar input[type="range"]::-moz-range-track {
|
|
background: transparent;
|
|
border: 0;
|
|
}
|
|
|
|
.seekbar input[type="range"]::-moz-focus-outer {
|
|
border: 0;
|
|
}
|