2022-01-29 23:44:00 +00:00
|
|
|
@font-face {
|
|
|
|
font-family: 'Crimson';
|
|
|
|
src: url("font/crimson-roman.woff") format("woff");
|
|
|
|
}
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Crimson';
|
|
|
|
src: url("font/crimson-italic.woff") format("woff");
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Crimson';
|
|
|
|
src: url("font/crimson-semibold.woff") format("woff");
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Crimson';
|
|
|
|
src: url("font/crimson-bold.woff") format("woff");
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Crimson';
|
|
|
|
src: url("font/crimson-bolditalic.woff") format("woff");
|
|
|
|
font-style: italic;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
html{
|
|
|
|
font-family:Crimson,Palatino,Georgia,Lucida Bright,Book Antiqua,serif;
|
|
|
|
font-size:16px;
|
|
|
|
line-height:1.5rem
|
|
|
|
}
|
|
|
|
|
2024-05-17 23:39:53 +00:00
|
|
|
:root,
|
|
|
|
html[data-theme='light'] {
|
|
|
|
--main-bg-color: white;
|
|
|
|
--text-color: #111;
|
|
|
|
--alt-text-color: black;
|
|
|
|
--code-bg: rgba(0,0,0,.05);;
|
|
|
|
--border-color: rgba(0,0,0,.05);
|
|
|
|
--link-color: #00e;
|
|
|
|
--link-color-visited: #60b;
|
|
|
|
--inline-code: #111;
|
|
|
|
}
|
|
|
|
|
|
|
|
html[data-theme='dark'] {
|
|
|
|
--main-bg-color: #111;
|
|
|
|
--text-color: #b3b3b3;
|
|
|
|
--alt-text-color: #999999;
|
|
|
|
--code-bg: #ccc;
|
|
|
|
--border-color: #414141;
|
|
|
|
--link-color: #478be6;
|
|
|
|
--link-color-visited: #c988ff;
|
|
|
|
--inline-code: #323232;
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-none {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
[data-theme='light'] .block-light,
|
|
|
|
[data-theme='dark'] .block-dark {
|
|
|
|
display: block !important;
|
|
|
|
}
|
|
|
|
|
2017-07-09 12:18:22 +00:00
|
|
|
html,
|
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2024-05-17 23:39:53 +00:00
|
|
|
background-color: var(--main-bg-color);
|
|
|
|
color: var(--text-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
color: var(--inline-code);
|
|
|
|
background-color: var(--code-bg);
|
2017-07-09 12:18:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
padding: 1ch;
|
2022-01-31 10:59:38 +00:00
|
|
|
border: rgba(0,0,0,.1) solid;
|
|
|
|
border-width: 1px;
|
|
|
|
border-radius: 2px;
|
2022-11-21 21:57:14 +00:00
|
|
|
line-height: 1.2rem;
|
2020-05-18 18:07:35 +00:00
|
|
|
|
|
|
|
/* cobalt's highlighting sets inline values, so we need to overwrite them */
|
2024-05-17 23:39:53 +00:00
|
|
|
background-color: var(--code-bg) !important;
|
2020-05-18 18:07:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
pre > span {
|
|
|
|
/* cobalt's highlighting sets inline values, so we need to overwrite them */
|
2024-05-17 23:39:53 +00:00
|
|
|
background-color: var(--code-bg) !important;
|
2017-07-09 12:18:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
time {
|
2024-05-17 23:39:53 +00:00
|
|
|
color: var(--alt-text-color);
|
2017-07-09 12:18:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nav {
|
|
|
|
font-family: sans-serif;
|
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
padding: 28px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav hr {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav .menu-item {
|
|
|
|
display: block;
|
|
|
|
padding: 10px 0 10px 20px;
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 20px;
|
|
|
|
font-weight: 100;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav .menu-item.icon {
|
|
|
|
font-size: 22px;
|
|
|
|
padding-left: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav a.menu-item {
|
2024-05-17 23:39:53 +00:00
|
|
|
color: var(--alt-text-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
aside {
|
|
|
|
font-family: sans-serif;
|
|
|
|
position: fixed;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
padding: 10px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#theme-toggle {
|
|
|
|
cursor: pointer;
|
|
|
|
border-color: transparent;
|
|
|
|
background-color: transparent;
|
|
|
|
color: var(--text-color);
|
2017-07-09 12:18:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item.current,
|
|
|
|
.menu-item:hover {
|
2024-05-17 23:39:53 +00:00
|
|
|
border-left: 3px solid var(--alt-text-color);
|
2017-07-09 12:18:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
|
|
|
margin: 0 auto;
|
|
|
|
width: 100%;
|
2022-01-29 23:47:22 +00:00
|
|
|
max-width: 800px;
|
2017-07-09 12:18:22 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
min-height: 600px;
|
|
|
|
}
|
|
|
|
|
|
|
|
body[data-route=about] p {
|
|
|
|
padding: 5px 0;
|
|
|
|
max-width: 600px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.me-image {
|
|
|
|
height: 220px;
|
|
|
|
margin: 20px 50px;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.about-icon {
|
|
|
|
float: left;
|
|
|
|
height: 75px;
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
|
2022-01-29 23:47:22 +00:00
|
|
|
article h1 {
|
|
|
|
font-size: 2em;
|
|
|
|
line-height: 2.5rem;
|
|
|
|
}
|
|
|
|
|
2017-07-09 12:18:22 +00:00
|
|
|
article.blog-list {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
article.blog-list a {
|
2024-05-17 23:39:53 +00:00
|
|
|
color: var(--text-color);
|
2017-07-09 12:18:22 +00:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2024-05-17 23:39:53 +00:00
|
|
|
article.blog-list a:visited {
|
|
|
|
color: var(--text-color);
|
|
|
|
}
|
2017-07-09 12:18:22 +00:00
|
|
|
|
2022-01-29 23:47:22 +00:00
|
|
|
article .metadata a {
|
|
|
|
text-decoration: underline;
|
2024-05-17 23:39:53 +00:00
|
|
|
color: var(--alt-text-color);
|
2022-01-29 23:47:22 +00:00
|
|
|
}
|
|
|
|
|
2023-12-28 16:40:47 +00:00
|
|
|
article a {
|
2017-07-09 12:18:22 +00:00
|
|
|
text-decoration: underline;
|
2024-05-17 23:39:53 +00:00
|
|
|
color: var(--link-color);
|
|
|
|
}
|
|
|
|
article a:visited {
|
|
|
|
color: var(--link-color-visited);
|
2017-07-09 12:18:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* begin article banner */
|
|
|
|
.left {
|
|
|
|
float: left;
|
|
|
|
margin: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.avi-image {
|
|
|
|
vertical-align: middle;
|
|
|
|
width: 90px;
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
.corner {
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.right h3 {
|
|
|
|
margin: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.right p {
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* end article banner */
|
|
|
|
|
|
|
|
footer {
|
|
|
|
font-family: sans-serif;
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
color: grey;
|
|
|
|
font-weight: 200;
|
|
|
|
margin: 0 0 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer a, footer a:visited {
|
|
|
|
color: grey;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
padding: 0;
|
2022-01-29 23:47:22 +00:00
|
|
|
margin: 10px;
|
2017-07-09 12:18:22 +00:00
|
|
|
max-width: 900px;
|
|
|
|
height: 1px;
|
|
|
|
border: 0;
|
|
|
|
background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0));
|
|
|
|
background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0));
|
|
|
|
background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0));
|
|
|
|
background-image: linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0));
|
|
|
|
}
|
|
|
|
|
2024-05-17 23:39:53 +00:00
|
|
|
blockquote {
|
|
|
|
border-color: var(--border-color);
|
|
|
|
|
|
|
|
}
|
2017-07-09 12:18:22 +00:00
|
|
|
blockquote p {
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media all and (max-width:1024px) {
|
|
|
|
main {
|
2022-01-29 23:47:22 +00:00
|
|
|
padding: 0px 40px;
|
2017-07-09 12:18:22 +00:00
|
|
|
}
|
|
|
|
nav {
|
|
|
|
position: static;
|
|
|
|
margin: 0 auto;
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
2022-01-29 23:47:22 +00:00
|
|
|
padding: 20px 0 0 0;
|
2017-07-09 12:18:22 +00:00
|
|
|
}
|
|
|
|
nav .menu-item {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 10px 0 10px 20px;
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 20px;
|
|
|
|
transition: border-left 0.1s;
|
|
|
|
}
|
|
|
|
.menu hr {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.menu-item.current,
|
|
|
|
.menu-item:hover {
|
|
|
|
border-left: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-01-29 23:47:22 +00:00
|
|
|
h2 {
|
|
|
|
font: 600 30px "Crimson", Georgia, serif;
|
2017-07-09 12:18:22 +00:00
|
|
|
}
|
|
|
|
|
2022-01-29 23:47:22 +00:00
|
|
|
h3 {
|
|
|
|
font: 600 20px "Crimson", Georgia, serif;
|
2017-07-09 12:18:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.clearfix:after {
|
|
|
|
visibility: hidden;
|
|
|
|
display: block;
|
|
|
|
font-size: 0;
|
|
|
|
content: " ";
|
|
|
|
clear: both;
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.clearfix {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
* html .clearfix {
|
|
|
|
height: 1%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.clearfix {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2018-02-07 08:05:52 +00:00
|
|
|
.footnote-definition {
|
2018-02-07 09:03:45 +00:00
|
|
|
margin-top: 10px;
|
2018-02-07 08:05:52 +00:00
|
|
|
}
|
|
|
|
.footnote-definition p:before {
|
|
|
|
content: ": ";
|
|
|
|
}
|
|
|
|
.footnote-definition p {
|
|
|
|
display: inline;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2022-01-29 23:47:22 +00:00
|
|
|
table { margin: 0; }
|
2019-04-23 21:09:40 +00:00
|
|
|
table, tr, td { border: none; }
|