2020-03-08 00:35:11 -08:00
|
|
|
@import "variables.scss";
|
|
|
|
@import "mixins.scss";
|
2020-03-01 16:07:38 -08:00
|
|
|
|
2019-08-02 18:04:58 -07:00
|
|
|
body {
|
|
|
|
font-family: $font-body;
|
2020-01-15 18:32:34 -08:00
|
|
|
font-size: 1.0rem;
|
2019-08-02 18:04:58 -07:00
|
|
|
line-height: 1.5;
|
2019-12-27 23:12:35 -08:00
|
|
|
margin-bottom: 1rem;
|
2019-11-02 17:53:31 -07:00
|
|
|
text-align: justify;
|
2019-08-02 18:04:58 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
2019-12-27 23:12:35 -08:00
|
|
|
margin-bottom: .1rem;
|
|
|
|
margin-top: .5rem;
|
2019-08-02 18:04:58 -07:00
|
|
|
font-family: $font-heading;
|
|
|
|
font-weight: normal;
|
2020-05-04 03:23:55 -07:00
|
|
|
text-align: center;
|
2019-08-02 18:04:58 -07:00
|
|
|
|
|
|
|
a {
|
2020-05-04 03:23:55 -07:00
|
|
|
border-bottom: none;
|
2019-08-02 18:04:58 -07:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $primary-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
font-family: $font-code;
|
2019-11-02 17:53:31 -07:00
|
|
|
background-color: $code-color;
|
2019-08-02 18:04:58 -07:00
|
|
|
}
|
|
|
|
|
2019-08-02 18:35:47 -07:00
|
|
|
pre code {
|
|
|
|
display: block;
|
2019-12-27 23:12:35 -08:00
|
|
|
padding: 0.5rem;
|
2019-08-02 18:35:47 -07:00
|
|
|
overflow-x: auto;
|
2019-11-02 17:53:31 -07:00
|
|
|
background-color: $code-color;
|
2019-08-02 18:35:47 -07:00
|
|
|
}
|
|
|
|
|
2020-05-04 03:23:55 -07:00
|
|
|
div.highlight table pre {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2019-08-02 18:04:58 -07:00
|
|
|
.container {
|
2020-03-06 17:54:00 -08:00
|
|
|
position: relative;
|
2019-08-02 18:04:58 -07:00
|
|
|
margin: auto;
|
|
|
|
width: 100%;
|
|
|
|
max-width: $container-width;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
2020-03-01 16:07:38 -08:00
|
|
|
@include below-container-width {
|
|
|
|
padding: 0rem 1rem 0rem 1rem;
|
2019-08-02 18:04:58 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.button, input[type="submit"] {
|
2019-12-27 23:12:35 -08:00
|
|
|
padding: 0.5rem;
|
2019-08-02 18:04:58 -07:00
|
|
|
background-color: $primary-color;
|
|
|
|
border: none;
|
|
|
|
color: white;
|
|
|
|
transition: color 0.25s;
|
|
|
|
transition: background-color 0.25s;
|
2019-11-11 15:36:59 -08:00
|
|
|
text-align: left;
|
2019-08-02 18:04:58 -07:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover, &:focus {
|
|
|
|
background-color: white;
|
|
|
|
color: $primary-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-02 18:35:47 -07:00
|
|
|
nav {
|
2019-08-02 18:04:58 -07:00
|
|
|
width: 100%;
|
2020-05-04 03:23:55 -07:00
|
|
|
margin: 0rem 0rem 1rem 0rem;
|
2019-08-02 18:04:58 -07:00
|
|
|
|
2020-05-04 03:23:55 -07:00
|
|
|
.container {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
2019-08-02 18:04:58 -07:00
|
|
|
|
2020-05-04 03:23:55 -07:00
|
|
|
a {
|
|
|
|
padding: 0.25rem 0.75rem 0.25rem .75rem;
|
|
|
|
text-decoration: none;
|
|
|
|
color: black;
|
|
|
|
display: inline-block;
|
|
|
|
border-bottom: none;
|
|
|
|
transition: color .25s;
|
|
|
|
white-space: nowrap;
|
2019-08-02 18:04:58 -07:00
|
|
|
|
2020-05-04 03:23:55 -07:00
|
|
|
&:hover {
|
|
|
|
color: $primary-color;
|
|
|
|
}
|
2019-08-02 18:04:58 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-subscript {
|
|
|
|
color: #8f8f8f;
|
2020-05-04 03:23:55 -07:00
|
|
|
text-align: center;
|
2019-08-02 18:04:58 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-content {
|
2019-12-27 23:12:35 -08:00
|
|
|
margin-top: .5rem;
|
2019-08-02 18:04:58 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
2019-08-02 18:35:47 -07:00
|
|
|
|
2019-08-02 18:04:58 -07:00
|
|
|
a {
|
2020-05-04 03:23:55 -07:00
|
|
|
color: black;
|
2019-08-02 18:04:58 -07:00
|
|
|
text-decoration: none;
|
2020-05-04 03:23:55 -07:00
|
|
|
border-bottom: .2rem solid $primary-color;
|
2019-08-02 18:04:58 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%
|
|
|
|
}
|
2020-02-29 20:16:57 -08:00
|
|
|
|
|
|
|
table {
|
|
|
|
@include bordered-block;
|
|
|
|
margin: auto;
|
|
|
|
padding: 0.5rem;
|
|
|
|
}
|
|
|
|
|
2020-03-01 16:07:38 -08:00
|
|
|
tr {
|
|
|
|
@include below-container-width {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-26 20:47:51 -07:00
|
|
|
div.highlight tr {
|
2020-05-04 03:47:53 -07:00
|
|
|
display: table-row;
|
2020-04-26 20:47:51 -07:00
|
|
|
}
|
|
|
|
|
2020-02-29 20:16:57 -08:00
|
|
|
td {
|
2020-03-01 16:07:38 -08:00
|
|
|
@include below-container-width {
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
2020-02-29 20:16:57 -08:00
|
|
|
padding: 0.5rem;
|
|
|
|
}
|
2020-03-06 17:54:00 -08:00
|
|
|
|
2020-05-04 03:23:55 -07:00
|
|
|
hr.header-divider {
|
|
|
|
background-color: $primary-color;
|
|
|
|
height: 0.3rem;
|
|
|
|
border: none;
|
|
|
|
border-radius: 0.15rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.page-list a {
|
|
|
|
border-bottom: none;
|
2020-05-04 03:36:23 -07:00
|
|
|
font-weight: 700;
|
2020-05-04 03:23:55 -07:00
|
|
|
}
|
|
|
|
|
2020-03-06 17:54:00 -08:00
|
|
|
.katex-html {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2020-04-22 00:30:22 -07:00
|
|
|
|
|
|
|
figure {
|
|
|
|
img {
|
|
|
|
max-width: 70%;
|
|
|
|
display: block;
|
|
|
|
margin: auto;
|
|
|
|
|
|
|
|
@include below-container-width {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
figcaption {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|