The frontend/UI server, written in JS using the MarkoJS library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

78 lines
1.2 KiB

.story-chapter {
padding-bottom: 2em;
h1.title {
border-bottom: 1px solid rgba(34, 187, 255, 0.25);
font-size: 1.75em;
margin: 0;
padding-bottom: 0.125em;
}
.metadata {
padding: 0;
margin: 0;
}
a.anchor {
display: block;
position: relative;
top: -8em;
}
.options {
position: absolute;
text-align: right;
width: calc(100% - 38.75ch);
max-width: 95ch;
pointer-events: none;
a {
display: inline-block;
padding: 0 0.5ch;
opacity: 0.5;
cursor: pointer;
user-select: none;
pointer-events: all;
}
a:hover {
opacity: 1;
}
@media screen and (max-width: 700px) {
width: calc(100% - 6.5ch);
}
}
div.chapter-content {
font-size: 1.25em;
}
div.comment-section {
margin: 1em 4ch 2em 4ch;
div.add-comment {
text-align: center;
margin-top: 1em;
padding: 1em 0;
font-size: 1.5em;
border: 1px solid;
opacity: 0.5;
cursor: pointer;
}
div.add-comment:hover {
opacity: 1;
}
div.add-comment:first-child {
margin-top: 0;
}
}
@media screen and (max-width: 1200px) {
div.comment-section {
margin: 1em 2ch 2em 2ch;
}
}
}