2021-04-15 01:37:18 -07:00
|
|
|
@import "variables.scss";
|
|
|
|
@import "mixins.scss";
|
|
|
|
@import "toc.scss";
|
|
|
|
|
|
|
|
body {
|
|
|
|
font-family: $font-body;
|
|
|
|
font-size: 1.0rem;
|
|
|
|
line-height: 1.5;
|
|
|
|
text-align: justify;
|
|
|
|
|
|
|
|
@include below-container-width {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
margin-bottom: .1rem;
|
|
|
|
margin-top: .5rem;
|
2021-04-23 01:23:53 -07:00
|
|
|
font-family: $font-heading;
|
2021-04-15 01:37:18 -07:00
|
|
|
font-weight: normal;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
a {
|
|
|
|
border-bottom: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $primary-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-04-17 01:09:44 -07:00
|
|
|
h1 {
|
2021-04-23 01:23:53 -07:00
|
|
|
font-family: "Indie Flower";
|
2021-04-17 01:09:44 -07:00
|
|
|
}
|
|
|
|
|
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"] {
|
|
|
|
padding: 0.5rem;
|
|
|
|
background-color: $primary-color;
|
|
|
|
border: none;
|
|
|
|
color: white;
|
|
|
|
transition: color 0.25s, background-color 0.25s;
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover, &:focus {
|
|
|
|
background-color: white;
|
|
|
|
color: $primary-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
color: black;
|
|
|
|
display: inline-block;
|
|
|
|
border-bottom: none;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-subscript {
|
|
|
|
color: #8f8f8f;
|
|
|
|
text-align: center;
|
2021-04-17 01:09:44 -07:00
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2021-04-15 01:37:18 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.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 {
|
|
|
|
color: black;
|
|
|
|
text-decoration: none;
|
|
|
|
border-bottom: .2rem solid $primary-color;
|
|
|
|
transition: color 0.25s;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $primary-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
@include bordered-block;
|
|
|
|
margin: auto;
|
|
|
|
padding: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr {
|
|
|
|
@include below-container-width {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
@include below-container-width {
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
|
|
|
padding: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.highlight tr {
|
|
|
|
display: table-row;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr.header-divider {
|
|
|
|
background-color: $primary-color;
|
|
|
|
height: 0.3rem;
|
|
|
|
border: none;
|
|
|
|
border-radius: 0.15rem;
|
2021-04-17 01:09:44 -07:00
|
|
|
margin-top: 1rem;
|
|
|
|
margin-bottom: 1rem;
|
2021-04-15 01:37:18 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
2021-04-23 01:59:13 -07:00
|
|
|
font-family: $font-heading;
|
2021-04-15 01:37:18 -07:00
|
|
|
text-align: center;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
p.post-wordcount {
|
|
|
|
text-align: center;
|
|
|
|
margin-bottom: 0.6rem;
|
|
|
|
}
|
2021-04-17 01:09:44 -07:00
|
|
|
|
|
|
|
p.post-preview {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2021-04-15 01:37:18 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.katex-html {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
figure {
|
|
|
|
img {
|
|
|
|
max-width: 70%;
|
|
|
|
display: block;
|
|
|
|
margin: auto;
|
|
|
|
|
|
|
|
@include below-container-width {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
figcaption {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.tiny img {
|
|
|
|
max-height: 15rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.small img {
|
|
|
|
max-height: 20rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.medium img {
|
|
|
|
max-height: 30rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.twitter-tweet {
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.draft-warning {
|
|
|
|
@include bordered-block;
|
|
|
|
padding: 0.5rem;
|
|
|
|
background-color: #ffee99;
|
|
|
|
border-color: #f5c827;
|
|
|
|
}
|
|
|
|
|
|
|
|
.feather {
|
|
|
|
width: 1rem;
|
|
|
|
height: 1rem;
|
|
|
|
stroke: currentColor;
|
|
|
|
stroke-width: 2;
|
|
|
|
stroke-linecap: round;
|
|
|
|
stroke-linejoin: round;
|
2021-04-17 01:09:44 -07:00
|
|
|
fill: none;
|
2021-04-23 01:40:48 -07:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
margin-top: 2rem;
|
|
|
|
font-family: $font-code;
|
|
|
|
padding: 0.5rem;
|
|
|
|
padding-bottom: 1rem;
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
background-color: $code-color;
|
|
|
|
border-top: $code-border;
|
2021-04-15 01:37:18 -07:00
|
|
|
}
|