Annotation-System/hmml_to_html/style.css

183 lines
3.1 KiB
CSS

/* Structure */
.title {
display: flex;
flex-direction: row;
}
.title > * {
padding: 10px;
}
.title .episode_name {
flex: 1 1;
}
.title .refs_container {
position: relative;
}
.title .refs_container .mouse_catcher {
position: absolute;
height: 100%;
width: 100%;
top: 0;
right: 0;
}
.title .refs_container .refs {
position: absolute;
top: 100%;
right: 0;
width: 350px;
z-index: 1;
display: none;
}
.title .refs_container:hover .refs {
display: block;
}
.title .refs_container > .refs .ref {
padding: 10px;
display: flex;
flex-direction: column;
align-items: center;
text-decoration: none;
}
.title .refs_container > .refs .ref:last-child {
border: none;
}
.title .refs_container > .refs .ref .timecode {
display: inline-block;
font-size: 12px;
padding: 0;
}
.title .refs_container > .refs .ref .ref_indices {
text-align: center;
}
.title .refs_container > .refs .ref .ref_indices .timecode {
display: inline-block;
font-size: 12px;
}
.title .refs_container > .refs .ref .ref_indices .timecode:first-child::before {
content: "";
}
.title .refs_container > .refs .ref .ref_indices .timecode::before {
content: "•";
margin: 0 4px;
}
.title .refs_container > .refs .ref .timecode:hover .time {
text-decoration: underline;
}
.title .refs_container > .refs .ref .ref_content {
width: 100%;
}
.title .refs_container > .refs .ref .source {
font-size: 10px;
line-height: 8px;
}
.title .refs_container > .refs .ref .ref_title {
font-style: oblique;
}
.title .refs_container > .refs .ref .timecode .ref_index {
margin-right: 4px;
}
.player_container {
display: flex;
flex-direction: row;
}
.video_container {
flex-grow: 1;
overflow: hidden;
}
.markers_container {
overflow-y: scroll;
position: relative;
}
.markers_container > .marker {
position: relative;
cursor: pointer;
}
.markers_container > .marker .content {
box-sizing: border-box;
display: block;
font-size: 14px;
padding: 5px;
width: 320px;
word-wrap: break-word;
}
.markers_container > .marker.authored .content .author {
font-style: normal;
}
.markers_container > .marker.authored {
font-style: oblique;
}
.markers_container > .marker .content sup {
font-style: normal;
font-variant: normal;
}
.markers_container > .marker.rant .content {
font-variant: small-caps;
}
.markers_container > .marker .progress {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 0px;
overflow: hidden;
}
.markers_container > .marker .timecode {
font-size: 9px;
font-style: normal;
padding-right: 8px;
position: relative;
top: -2px;
}
.markers_container > .marker .content .categories {
display: inline-flex;
margin: 4px;
}
.markers_container > .marker .content .categories .category {
border: 1px solid;
border-radius: 50%;
height: 5px;
margin-left: 2px;
width: 5px;
}
/* CUSTOM PAGE STYLE */
body {
background-color: #000;
font-family: sans-serif;
color: white;
margin: 0;
padding: 0;
}