2021-04-15 01:37:18 -07:00
|
|
|
@import "variables.scss";
|
|
|
|
@import "mixins.scss";
|
|
|
|
@import "toc.scss";
|
2023-03-11 14:07:43 -08:00
|
|
|
@import "modes.scss";
|
2021-04-15 01:37:18 -07:00
|
|
|
|
|
|
|
body {
|
2023-03-11 14:07:43 -08:00
|
|
|
@include var(background-color, background-color);
|
|
|
|
@include var(color, text-color);
|
2021-04-15 01:37:18 -07:00
|
|
|
font-family: $font-body;
|
|
|
|
font-size: 1.0rem;
|
|
|
|
line-height: 1.5;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
text-align: justify;
|
|
|
|
|
|
|
|
@include below-container-width {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
margin-bottom: .1rem;
|
|
|
|
margin-top: .5rem;
|
|
|
|
font-family: $font-heading;
|
|
|
|
font-weight: normal;
|
|
|
|
text-align: center;
|
|
|
|
|
2022-01-01 20:12:50 -08:00
|
|
|
&:target {
|
2023-03-11 14:07:43 -08:00
|
|
|
@include var(background-color, target-background-color);
|
2022-01-01 20:12:50 -08:00
|
|
|
border-radius: 1rem;
|
|
|
|
}
|
|
|
|
|
2021-04-15 01:37:18 -07:00
|
|
|
a {
|
|
|
|
border-bottom: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $primary-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-05-21 19:04:34 -07:00
|
|
|
p {
|
|
|
|
&:target {
|
|
|
|
@include var(background-color, target-background-color);
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-04-15 01:37:18 -07:00
|
|
|
.container {
|
|
|
|
position: relative;
|
|
|
|
margin: auto;
|
|
|
|
width: 100%;
|
|
|
|
max-width: $container-width;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
@include below-container-width {
|
|
|
|
padding: 0 $container-min-padding 0 $container-min-padding;
|
|
|
|
margin: 0;
|
|
|
|
max-width: $container-width + 2 * $container-min-padding;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include below-two-margins {
|
|
|
|
left: -($margin-width + $margin-inner-offset + $margin-outer-offset)/2;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include below-one-margin {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.button, input[type="submit"] {
|
2023-12-30 16:31:16 -08:00
|
|
|
@include var(color, text-color);
|
2021-04-15 01:37:18 -07:00
|
|
|
padding: 0.5rem;
|
2023-12-30 16:31:16 -08:00
|
|
|
border: 1px solid $primary-color;
|
2021-04-15 01:37:18 -07:00
|
|
|
transition: color 0.25s, background-color 0.25s;
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover, &:focus {
|
2023-12-30 16:31:16 -08:00
|
|
|
background-color: rgba($primary-color, 0.2);
|
|
|
|
@include var(color, text-color);
|
2021-04-15 01:37:18 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-11-27 22:17:23 -08:00
|
|
|
.input[type="text"], textarea {
|
|
|
|
@include textual-input;
|
|
|
|
}
|
|
|
|
|
2021-04-15 01:37:18 -07:00
|
|
|
nav {
|
|
|
|
width: 100%;
|
|
|
|
margin: 0rem 0rem 1rem 0rem;
|
|
|
|
|
|
|
|
.container {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
padding: 0.25rem 0.75rem 0.25rem .75rem;
|
|
|
|
text-decoration: none;
|
2023-03-11 14:07:43 -08:00
|
|
|
@include var(color, text-color);
|
2021-04-15 01:37:18 -07:00
|
|
|
display: inline-block;
|
|
|
|
border-bottom: none;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-subscript {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-content {
|
|
|
|
margin-top: .5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 3.0rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 2.6rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 2.2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
font-size: 1.8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h5 {
|
|
|
|
font-size: 1.4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h6 {
|
|
|
|
font-size: 1.0rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2023-03-11 14:07:43 -08:00
|
|
|
@include var(color, text-color);
|
2021-04-15 01:37:18 -07:00
|
|
|
text-decoration: none;
|
|
|
|
border-bottom: .2rem solid $primary-color;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $primary-color;
|
2023-12-30 16:15:40 -08:00
|
|
|
transition: color 0.25s;
|
2021-04-15 01:37:18 -07:00
|
|
|
}
|
2024-06-19 17:30:46 -07:00
|
|
|
|
2024-06-23 12:46:07 -07:00
|
|
|
&.external-link, &.same-page-link {
|
2024-06-19 17:30:46 -07:00
|
|
|
.feather {
|
|
|
|
fill: none;
|
|
|
|
margin-left: 0.25rem;
|
|
|
|
position: relative;
|
|
|
|
top: 0.125em;
|
|
|
|
}
|
|
|
|
}
|
2021-04-15 01:37:18 -07:00
|
|
|
}
|
|
|
|
|
2024-07-06 17:25:02 -07:00
|
|
|
.draft-link {
|
|
|
|
border-bottom: .2rem solid $border-color;
|
|
|
|
}
|
|
|
|
|
2021-04-15 01:37:18 -07:00
|
|
|
img {
|
2023-03-11 11:52:49 -08:00
|
|
|
max-width: 100%;
|
|
|
|
background-color: white;
|
2021-04-15 01:37:18 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
@include bordered-block;
|
|
|
|
margin: auto;
|
|
|
|
padding: 0.5rem;
|
|
|
|
}
|
|
|
|
|
2022-09-10 17:20:54 -07:00
|
|
|
.fold-table + table {
|
|
|
|
tr {
|
|
|
|
@include below-container-width {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
2021-04-15 01:37:18 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
@include below-container-width {
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-09-10 17:20:54 -07:00
|
|
|
td, th {
|
2022-09-10 12:32:10 -07:00
|
|
|
padding: 0.5rem;
|
|
|
|
}
|
|
|
|
|
2021-04-15 01:37:18 -07:00
|
|
|
div.highlight tr {
|
|
|
|
display: table-row;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr.header-divider {
|
|
|
|
background-color: $primary-color;
|
|
|
|
height: 0.3rem;
|
|
|
|
border: none;
|
|
|
|
border-radius: 0.15rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr.footer-divider {
|
|
|
|
margin: auto;
|
|
|
|
margin-top: 1.5rem;
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
border: none;
|
|
|
|
border-bottom: $standard-border;
|
|
|
|
max-width: $container-width;
|
|
|
|
|
|
|
|
@include below-container-width {
|
|
|
|
max-width: 80%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.post-list {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
@include bordered-block;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
padding: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.post-title {
|
|
|
|
border-bottom: none;
|
|
|
|
font-size: 1.4rem;
|
|
|
|
font-family: $font-heading;
|
|
|
|
text-align: center;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2023-01-31 18:54:08 -08:00
|
|
|
p.post-status {
|
|
|
|
margin-bottom: 0.2rem;
|
|
|
|
margin-top: 0.2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
p.post-wordcount, p.post-status {
|
2021-04-15 01:37:18 -07:00
|
|
|
text-align: center;
|
|
|
|
margin-bottom: 0.6rem;
|
|
|
|
}
|
2024-11-25 19:15:07 -08:00
|
|
|
|
2024-11-26 19:51:40 -08:00
|
|
|
.series-link {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
2024-11-25 19:15:07 -08:00
|
|
|
margin-top: 1rem;
|
|
|
|
font-size: 1.1rem;
|
|
|
|
border-top: $standard-border;
|
|
|
|
padding-top: 1rem;
|
|
|
|
|
|
|
|
.feather {
|
|
|
|
fill: none;
|
2024-11-26 19:51:40 -08:00
|
|
|
flex-shrink: 0;
|
2024-11-25 19:15:07 -08:00
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
2021-04-15 01:37:18 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.katex-html {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
figure {
|
2024-06-24 19:43:13 -07:00
|
|
|
break-inside: avoid;
|
|
|
|
|
2021-04-15 01:37:18 -07:00
|
|
|
img {
|
2024-06-23 17:24:14 -07:00
|
|
|
border: $standard-border;
|
2023-03-11 11:52:49 -08:00
|
|
|
border-radius: 0.5rem;
|
2021-04-15 01:37:18 -07:00
|
|
|
max-width: 70%;
|
|
|
|
display: block;
|
|
|
|
margin: auto;
|
|
|
|
|
|
|
|
@include below-container-width {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
figcaption {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2022-01-01 20:12:50 -08:00
|
|
|
&.fullwide img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2021-04-15 01:37:18 -07:00
|
|
|
&.tiny img {
|
|
|
|
max-height: 15rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.small img {
|
|
|
|
max-height: 20rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.medium img {
|
|
|
|
max-height: 30rem;
|
|
|
|
}
|
2024-06-23 13:54:08 -07:00
|
|
|
|
|
|
|
&.fullwide {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2021-04-15 01:37:18 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.twitter-tweet {
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
2023-01-01 01:28:18 -08:00
|
|
|
.warning {
|
2021-04-15 01:37:18 -07:00
|
|
|
@include bordered-block;
|
|
|
|
padding: 0.5rem;
|
2023-03-11 14:07:43 -08:00
|
|
|
@include var(background-color, warning-background-color);
|
|
|
|
@include var(border-color, warning-border-color);
|
2021-04-15 01:37:18 -07:00
|
|
|
}
|
|
|
|
|
2024-06-24 19:26:44 -07:00
|
|
|
/*
|
|
|
|
Note: by absolute default (via inline CSS) feather icons are hidden.
|
|
|
|
That's because firefox reader mode doesn't play nice with them, and
|
|
|
|
it seems to ignore all styles in <head>. Then, the inline style
|
|
|
|
in <head> uses !important to restore the display of icons, but provides
|
|
|
|
limited styling. Here, we finally apply the full extent of the feather
|
|
|
|
styles.
|
|
|
|
*/
|
2021-04-15 01:37:18 -07:00
|
|
|
.feather {
|
|
|
|
width: 1rem;
|
|
|
|
height: 1rem;
|
|
|
|
stroke: currentColor;
|
|
|
|
stroke-width: 2;
|
|
|
|
stroke-linecap: round;
|
|
|
|
stroke-linejoin: round;
|
|
|
|
fill: currentColor;
|
|
|
|
}
|
2022-03-27 18:52:53 -07:00
|
|
|
|
|
|
|
.katex * {
|
|
|
|
font-family: unset;
|
|
|
|
}
|
2022-07-02 16:13:57 -07:00
|
|
|
|
2022-09-10 12:32:10 -07:00
|
|
|
.block {
|
|
|
|
@include bordered-block;
|
|
|
|
margin: auto;
|
|
|
|
padding: 0.5rem;
|
|
|
|
width: fit-content;
|
|
|
|
}
|
|
|
|
|
2022-07-02 16:13:57 -07:00
|
|
|
.dialog {
|
|
|
|
.message {
|
|
|
|
max-width: 0.8*$container-width;
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
.message-sender {
|
|
|
|
width: 4rem;
|
2022-08-28 19:07:14 -07:00
|
|
|
margin: 0.75rem;
|
2022-07-02 16:13:57 -07:00
|
|
|
|
|
|
|
.feather {
|
|
|
|
width: 2rem;
|
|
|
|
height: 1.6rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-28 19:07:14 -07:00
|
|
|
.message-text {
|
|
|
|
@include bordered-block;
|
|
|
|
display: block;
|
|
|
|
padding: 0.75rem;
|
|
|
|
}
|
|
|
|
|
2022-07-02 16:13:57 -07:00
|
|
|
&.side-answer {
|
|
|
|
margin-left: auto;
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-01-31 17:43:05 -08:00
|
|
|
|
2024-06-19 22:28:49 -07:00
|
|
|
.series-navigation {
|
2024-05-20 00:27:25 -07:00
|
|
|
margin-top: 1em;
|
|
|
|
display: flex;
|
2024-05-20 00:34:52 -07:00
|
|
|
flex-wrap: wrap;
|
2024-05-20 00:27:25 -07:00
|
|
|
|
|
|
|
.wrapper {
|
|
|
|
flex-grow: 1;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
&.previous {
|
|
|
|
justify-content: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.next {
|
|
|
|
justify-content: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2024-06-26 19:48:55 -07:00
|
|
|
a, .ongoing-placeholder {
|
2024-05-20 00:27:25 -07:00
|
|
|
@include bordered-block;
|
|
|
|
padding: 0.5em 1em 0.5em 1em;
|
|
|
|
font-size: 1.1em;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2024-05-20 00:34:52 -07:00
|
|
|
margin-top: 1em;
|
2024-05-20 00:27:25 -07:00
|
|
|
|
|
|
|
.feather {
|
|
|
|
height: 1.25em;
|
|
|
|
width: 1.25em;
|
|
|
|
fill: none;
|
|
|
|
&:first-child { margin-right: 0.5em; }
|
|
|
|
&:last-child { margin-left: 0.5em; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-06-26 19:48:55 -07:00
|
|
|
.ongoing-placeholder {
|
|
|
|
border-style: dashed;
|
|
|
|
}
|
|
|
|
|
2024-05-20 00:27:25 -07:00
|
|
|
div.title {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-31 17:43:05 -08:00
|
|
|
.series-status {
|
2023-02-19 15:10:25 -08:00
|
|
|
&.suspended { --status-color: #f9b005; }
|
|
|
|
&.complete { --status-color: #3dc60b; }
|
|
|
|
&.ongoing { --status-color: #46a0ff; }
|
|
|
|
|
|
|
|
.series-status-keyword {
|
|
|
|
display: inline-block;
|
|
|
|
border-bottom: .2rem solid var(--status-color);
|
|
|
|
margin: 0 0.25rem 0 0.25rem;
|
2023-01-31 17:43:05 -08:00
|
|
|
}
|
|
|
|
}
|
2023-06-04 21:54:08 -07:00
|
|
|
|
|
|
|
details {
|
|
|
|
@include bordered-block;
|
|
|
|
padding: 0.5rem 0.5rem 0 0.5rem;
|
|
|
|
|
|
|
|
&[open] {
|
|
|
|
padding-bottom: 0.5rem;
|
|
|
|
|
|
|
|
summary {
|
|
|
|
border-bottom: $standard-border;
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
summary {
|
|
|
|
margin: 0 -0.5rem 0 -0.5rem;
|
|
|
|
padding: 0.5rem;
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
2024-03-11 15:50:22 -07:00
|
|
|
|
|
|
|
blockquote {
|
|
|
|
border-left: (3 * $standard-border-width) solid $primary-color;
|
|
|
|
margin-left: 0;
|
|
|
|
padding-left: 1rem;
|
|
|
|
}
|
2024-06-19 22:03:33 -07:00
|
|
|
|
|
|
|
.early-navigation-wrapper {
|
|
|
|
margin-bottom: 3rem;
|
|
|
|
}
|