2022-01-25 00:35:39 +00:00
|
|
|
@import "home";
|
|
|
|
|
|
|
|
html {
|
|
|
|
min-height: 100vh;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2020-02-12 03:21:15 +00:00
|
|
|
body {
|
2020-05-05 04:38:36 +00:00
|
|
|
max-width: 980px;
|
2020-02-12 03:21:15 +00:00
|
|
|
margin: auto;
|
2022-01-25 00:35:39 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 1px;
|
|
|
|
min-height: 100vh;
|
2020-02-12 03:21:15 +00:00
|
|
|
font-family: $sansfont;
|
2021-07-06 20:58:39 +00:00
|
|
|
font-weight: normal;
|
2020-02-12 03:21:15 +00:00
|
|
|
|
|
|
|
background-color: $background-color;
|
|
|
|
color: $text-color;
|
|
|
|
}
|
|
|
|
|
2021-08-30 07:52:21 +00:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
color: $heading-color;
|
|
|
|
}
|
|
|
|
|
2020-02-12 03:21:15 +00:00
|
|
|
header {
|
|
|
|
margin: auto 12px;
|
|
|
|
|
|
|
|
#header {
|
|
|
|
border-bottom: 2px solid $link-color;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 20px;
|
|
|
|
margin-bottom: 12px;
|
|
|
|
|
|
|
|
#title {
|
2021-07-06 20:58:39 +00:00
|
|
|
font-size: 2.5em;
|
2021-08-30 07:52:21 +00:00
|
|
|
color: $heading-color;
|
2020-02-12 03:21:15 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-06 20:58:39 +00:00
|
|
|
footer {
|
2021-07-06 21:57:42 +00:00
|
|
|
margin: auto 12px;
|
|
|
|
|
2021-07-06 20:58:39 +00:00
|
|
|
margin-top: 24px;
|
|
|
|
margin-bottom: 40px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2020-02-12 03:51:19 +00:00
|
|
|
small {
|
|
|
|
color: $small-text-color;
|
|
|
|
}
|
|
|
|
|
2020-02-12 03:21:15 +00:00
|
|
|
a {
|
|
|
|
color: $link-color;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2020-04-01 05:17:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.permalink-container {
|
|
|
|
position: relative;
|
|
|
|
vertical-align: top;
|
2020-02-12 03:21:15 +00:00
|
|
|
|
2020-04-01 05:17:58 +00:00
|
|
|
.permalink {
|
2020-02-12 07:42:03 +00:00
|
|
|
color: $link-color;
|
2020-02-12 03:21:15 +00:00
|
|
|
font-size: 0.65em;
|
2020-04-01 05:17:58 +00:00
|
|
|
position: absolute;
|
2020-04-01 05:19:59 +00:00
|
|
|
left: -25px;
|
2020-02-12 03:21:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-02-18 01:04:27 +00:00
|
|
|
blockquote {
|
2021-06-30 06:03:00 +00:00
|
|
|
margin-inline: 14px 14px;
|
2020-02-18 01:04:27 +00:00
|
|
|
color: $small-text-color;
|
|
|
|
border-left: 4px solid $small-text-color;
|
|
|
|
padding-left: 12px;
|
|
|
|
}
|
|
|
|
|
2020-02-12 03:51:19 +00:00
|
|
|
.postlisting-row td {
|
2021-07-06 21:57:42 +00:00
|
|
|
padding-bottom: 20px;
|
|
|
|
|
|
|
|
.title {
|
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.summary {
|
|
|
|
padding-top: 4px;
|
|
|
|
font-size: 0.8em;
|
|
|
|
color: $smaller-text-color;
|
|
|
|
|
|
|
|
p {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
2020-02-12 03:51:19 +00:00
|
|
|
}
|
|
|
|
|
2020-02-12 03:21:15 +00:00
|
|
|
#content {
|
2020-04-01 05:17:58 +00:00
|
|
|
font-size: 1.05em;
|
|
|
|
line-height: 1.5em;
|
2020-05-05 04:38:36 +00:00
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2020-02-12 03:21:15 +00:00
|
|
|
}
|
|
|
|
|
2020-05-05 04:50:10 +00:00
|
|
|
code {
|
2021-05-04 12:02:15 +00:00
|
|
|
// font-size: 1.2em;
|
2021-12-12 19:59:56 +00:00
|
|
|
font-family: $monofont;
|
2022-01-25 00:35:39 +00:00
|
|
|
font-size: 0.9em;
|
|
|
|
box-sizing: border-box;
|
2020-05-05 04:50:10 +00:00
|
|
|
padding: 3px;
|
2022-01-25 00:35:39 +00:00
|
|
|
background-color: $faded-background-color;
|
|
|
|
color: $code-color;
|
2021-06-30 06:41:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a code {
|
|
|
|
color: $link-color;
|
2020-02-12 03:21:15 +00:00
|
|
|
}
|
2020-11-03 22:14:45 +00:00
|
|
|
|
|
|
|
pre > code {
|
2022-02-02 09:16:56 +00:00
|
|
|
color: $text-color;
|
2020-11-03 22:14:45 +00:00
|
|
|
display: block;
|
|
|
|
padding: 5px;
|
|
|
|
overflow-x: auto;
|
|
|
|
font-family: $monofont;
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
2021-05-04 12:02:15 +00:00
|
|
|
|
2021-07-06 22:27:33 +00:00
|
|
|
table.table {
|
|
|
|
border: 1px solid $faded;
|
|
|
|
border-collapse: collapse;
|
|
|
|
|
|
|
|
thead {
|
|
|
|
background-color: $smaller-text-color;
|
|
|
|
color: $background-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
tbody td, thead th {
|
|
|
|
border: 1px solid $faded;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-06 05:52:05 +00:00
|
|
|
.toc {
|
|
|
|
background-color: lighten($background-color, 10%);
|
|
|
|
padding: 20px;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
margin-block: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-02 09:16:56 +00:00
|
|
|
.post-container {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
@media screen and (max-width: 520px) {
|
|
|
|
flex-direction: column;
|
|
|
|
.toc-drawer { display: block; }
|
|
|
|
.toc-list { display: none; }
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 520px) {
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: flex-start;
|
|
|
|
gap: 12px;
|
|
|
|
|
|
|
|
.toc-drawer { display: none; }
|
|
|
|
.toc-list {
|
|
|
|
top: 0;
|
|
|
|
display: block;
|
|
|
|
position: sticky;
|
|
|
|
min-width: 160px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-content {
|
|
|
|
min-width: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toc-draw #TableOfContents, .toc-list #TableOfContents {
|
|
|
|
ul {
|
|
|
|
list-style-type: "\22A2 ";
|
|
|
|
padding-left: 1rem;
|
|
|
|
|
|
|
|
li {
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
li ul {
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.division .post-content, .post-content {
|
|
|
|
.heading {
|
|
|
|
a {
|
|
|
|
color: $heading-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-04 12:02:15 +00:00
|
|
|
> p {
|
|
|
|
line-height: 1.5;
|
|
|
|
}
|
2021-08-30 07:52:21 +00:00
|
|
|
|
|
|
|
.footnotes {
|
|
|
|
font-size: .9em;
|
|
|
|
line-height: 1.2;
|
|
|
|
}
|
2021-05-04 12:02:15 +00:00
|
|
|
}
|