2018-09-24 23:27:12 +00:00
|
|
|
@charset "utf-8";
|
2019-08-25 15:09:10 +00:00
|
|
|
/* Require postcss-normalize */
|
2019-08-25 14:58:20 +00:00
|
|
|
@import "sanitize";
|
|
|
|
@import "sanitize/forms";
|
2018-10-19 01:23:22 +00:00
|
|
|
|
2019-08-30 17:19:30 +00:00
|
|
|
html {
|
2019-09-03 16:53:42 +00:00
|
|
|
cursor: unset;
|
2019-09-06 09:47:49 +00:00
|
|
|
height: 100%;
|
2019-08-30 17:19:30 +00:00
|
|
|
line-height: 1.15;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
2019-09-04 05:57:03 +00:00
|
|
|
color: #e6e6e6;
|
|
|
|
background: black;
|
2019-08-30 19:08:10 +00:00
|
|
|
font-family: sans-serif;
|
2019-08-30 17:19:30 +00:00
|
|
|
font-size: 1.2em;
|
2019-09-06 09:47:49 +00:00
|
|
|
/* https://stackoverflow.com/a/6654996 */
|
|
|
|
min-height: 100%;
|
2019-08-30 18:32:35 +00:00
|
|
|
line-height: 1.5;
|
2019-08-30 17:19:30 +00:00
|
|
|
}
|
|
|
|
|
2019-08-30 17:31:30 +00:00
|
|
|
/*
|
|
|
|
* Restrict sizing to the page width in all browsers (opinionated).
|
|
|
|
* sanitize/page
|
|
|
|
*/
|
|
|
|
iframe,
|
|
|
|
img,
|
|
|
|
input,
|
|
|
|
select,
|
|
|
|
textarea {
|
|
|
|
height: auto;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2019-08-30 17:19:30 +00:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
2019-08-30 19:08:10 +00:00
|
|
|
font-family: serif;
|
2019-08-30 17:19:30 +00:00
|
|
|
font-weight: bold;
|
|
|
|
line-height: 1.35;
|
|
|
|
margin-top: 1em;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 1.5em;
|
|
|
|
margin: 0.5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 1.3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 1.1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2019-09-03 16:49:14 +00:00
|
|
|
color: inherit;
|
2019-08-30 17:19:30 +00:00
|
|
|
transition: color 0.25s linear;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:active,
|
|
|
|
a:hover {
|
|
|
|
outline-width: 0;
|
2019-09-04 05:57:03 +00:00
|
|
|
color: white;
|
2019-08-30 17:19:30 +00:00
|
|
|
}
|
|
|
|
|
2019-08-30 17:31:30 +00:00
|
|
|
a,
|
|
|
|
a:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2019-08-25 13:46:17 +00:00
|
|
|
button,
|
|
|
|
input,
|
|
|
|
select,
|
|
|
|
textarea {
|
|
|
|
font-size: 100%;
|
|
|
|
line-height: 1.15;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
2019-09-06 12:47:12 +00:00
|
|
|
background-image: -webkit-linear-gradient(0deg,transparent,#e6e6e6,transparent);
|
2018-10-19 01:23:22 +00:00
|
|
|
border: none;
|
|
|
|
border-bottom: 1px solid #cfcfcf;
|
|
|
|
box-sizing: content-box;
|
2019-09-06 12:32:26 +00:00
|
|
|
height: 1px;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
margin-left: 25%;
|
2018-10-19 01:23:22 +00:00
|
|
|
overflow: visible;
|
2019-06-05 03:33:40 +00:00
|
|
|
width: 50%;
|
2019-09-06 12:32:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.archive-container hr,
|
|
|
|
.category-container hr,
|
|
|
|
.tag-container hr,
|
|
|
|
.article hr {
|
|
|
|
width: 100%;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.home hr {
|
|
|
|
margin: 1em auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article .article-footer,
|
|
|
|
.article .article-footer hr {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-hr {
|
2019-09-06 12:47:12 +00:00
|
|
|
background-image: -webkit-linear-gradient(0deg,#e6e6e6,#e6e6e6,transparent);
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
figcaption,
|
|
|
|
small {
|
|
|
|
font-size: 0.9em;
|
2018-10-19 01:23:22 +00:00
|
|
|
color: #888;
|
|
|
|
}
|
|
|
|
|
2019-08-25 13:46:17 +00:00
|
|
|
dl,
|
|
|
|
form,
|
|
|
|
hr,
|
|
|
|
ol,
|
|
|
|
p,
|
|
|
|
pre,
|
|
|
|
table,
|
|
|
|
ul,
|
2018-11-08 01:45:46 +00:00
|
|
|
blockquote {
|
2019-06-05 04:07:47 +00:00
|
|
|
margin-bottom: 1em;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
2019-08-25 13:46:17 +00:00
|
|
|
ul {
|
2018-10-19 01:23:22 +00:00
|
|
|
margin-left: 1.3em;
|
|
|
|
list-style: disc;
|
|
|
|
}
|
|
|
|
|
2019-08-25 13:46:17 +00:00
|
|
|
ol {
|
2018-10-19 01:23:22 +00:00
|
|
|
list-style: decimal;
|
|
|
|
margin-left: 1.9em;
|
|
|
|
}
|
|
|
|
|
2019-08-25 13:46:17 +00:00
|
|
|
li ol,
|
|
|
|
li ul,
|
|
|
|
ol,
|
|
|
|
ul {
|
2018-11-08 01:45:46 +00:00
|
|
|
margin-bottom: 0.8em;
|
2018-10-19 01:23:22 +00:00
|
|
|
margin-left: 2em;
|
|
|
|
}
|
|
|
|
|
2019-08-25 13:46:17 +00:00
|
|
|
li ul,
|
|
|
|
ul {
|
2018-10-19 01:23:22 +00:00
|
|
|
list-style: circle;
|
|
|
|
}
|
|
|
|
|
2019-08-25 13:46:17 +00:00
|
|
|
table caption,
|
|
|
|
table td,
|
|
|
|
table th,
|
|
|
|
td,
|
|
|
|
th {
|
2018-10-19 01:23:22 +00:00
|
|
|
border: 1px solid #ddd;
|
2018-11-08 01:45:46 +00:00
|
|
|
padding: 0.5em 1em;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
2019-08-25 13:46:17 +00:00
|
|
|
table th,
|
|
|
|
th {
|
2018-10-19 01:23:22 +00:00
|
|
|
background: #fbfbfb;
|
|
|
|
}
|
|
|
|
|
2019-08-25 13:46:17 +00:00
|
|
|
table thead th,
|
|
|
|
thead th {
|
2018-10-19 01:23:22 +00:00
|
|
|
background: #f1f1f1;
|
|
|
|
}
|
|
|
|
|
2019-08-25 13:46:17 +00:00
|
|
|
em,
|
2018-11-08 01:45:46 +00:00
|
|
|
caption,
|
|
|
|
legend {
|
2018-10-19 01:23:22 +00:00
|
|
|
font-weight: inherit;
|
|
|
|
}
|
|
|
|
|
2019-09-06 09:47:49 +00:00
|
|
|
.highlight,
|
2018-11-08 01:45:46 +00:00
|
|
|
code,
|
|
|
|
kbd,
|
|
|
|
pre,
|
|
|
|
samp {
|
|
|
|
font-size: 0.9em;
|
2019-09-04 05:57:03 +00:00
|
|
|
background: #333;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
2019-08-09 04:25:10 +00:00
|
|
|
/* Hide post's excerpt in article */
|
|
|
|
.p-summary {
|
2019-06-26 07:49:14 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-10-19 01:23:22 +00:00
|
|
|
.main-nav-link {
|
2019-08-30 18:31:03 +00:00
|
|
|
margin-right: 0.5em;
|
2019-04-08 02:14:22 +00:00
|
|
|
color: #cacdd0;
|
2019-08-30 18:31:03 +00:00
|
|
|
padding-bottom: 0.5em;
|
2018-10-19 01:23:22 +00:00
|
|
|
display: inline-block;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
em {
|
|
|
|
font-style: italic;
|
|
|
|
font-weight: lighter;
|
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
b,
|
|
|
|
strong {
|
2018-10-19 01:23:22 +00:00
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
color: #666;
|
|
|
|
border-left: 2px solid #666;
|
|
|
|
padding-left: 1em;
|
|
|
|
margin: 1em 3em 1em -1em;
|
|
|
|
}
|
|
|
|
|
2019-09-06 12:34:56 +00:00
|
|
|
.page-nav {
|
|
|
|
margin-top: 2em;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2018-10-19 01:23:22 +00:00
|
|
|
.footer {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.home-footer {
|
2019-08-30 18:31:03 +00:00
|
|
|
padding: 3em 0;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
.archive-footer a,
|
|
|
|
.archive-footer b,
|
|
|
|
.archive-footer strong,
|
|
|
|
.post-footer a,
|
|
|
|
.post-footer b,
|
|
|
|
.post-footer strong {
|
2019-04-08 02:14:22 +00:00
|
|
|
color: #cacdd0;;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
.copyright,
|
|
|
|
.footer-content,
|
|
|
|
.footer-links {
|
2018-10-19 01:23:22 +00:00
|
|
|
text-align: center;
|
2019-06-05 03:33:40 +00:00
|
|
|
font-size: 0.95em;
|
2018-10-19 01:23:22 +00:00
|
|
|
color: #cacdd0;
|
2019-06-05 03:33:40 +00:00
|
|
|
max-width: 80ch;
|
|
|
|
padding: 0 2ch;
|
|
|
|
margin: auto;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
.copyright li,
|
|
|
|
.footer-content li,
|
|
|
|
.footer-links li {
|
2018-10-19 01:23:22 +00:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
.copyright a,
|
|
|
|
.footer-content a,
|
|
|
|
.footer-links a {
|
2019-04-08 02:14:22 +00:00
|
|
|
color: #cacdd0;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
.copyright a:hover,
|
|
|
|
.footer-content a:hover,
|
|
|
|
.footer-links a:hover {
|
2019-09-04 05:57:03 +00:00
|
|
|
color: white;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
.archive-footer,
|
|
|
|
.post-footer {
|
2018-10-19 01:23:22 +00:00
|
|
|
color: #cacdd0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer-content {
|
|
|
|
margin: 0 auto;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer-links {
|
2018-11-08 01:45:46 +00:00
|
|
|
font-size: 0.9em;
|
2018-10-19 01:23:22 +00:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer-links a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer-links li {
|
2019-06-06 09:48:38 +00:00
|
|
|
margin-right: 1em;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.home-body {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.home {
|
|
|
|
font-weight: lighter;
|
|
|
|
line-height: 1.4;
|
|
|
|
text-align: center;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.home a {
|
2019-09-04 05:57:03 +00:00
|
|
|
border-bottom: 1px solid #e6e6e6;
|
|
|
|
}
|
|
|
|
|
|
|
|
.home a:hover {
|
|
|
|
border-bottom: 1px solid white;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.home .content {
|
|
|
|
width: 60%;
|
|
|
|
position: relative;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.home li {
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.home .profile {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.home .profile h1 {
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
|
2019-06-05 03:33:40 +00:00
|
|
|
/* https://jrl.ninja/etc/1/ */
|
2018-11-08 01:45:46 +00:00
|
|
|
.archive-container,
|
|
|
|
.category-container,
|
|
|
|
.tag-container {
|
2018-10-19 01:23:22 +00:00
|
|
|
position: relative;
|
|
|
|
font-size: 1em;
|
2019-06-05 03:33:40 +00:00
|
|
|
max-width: 80ch;
|
|
|
|
padding: 2ch;
|
|
|
|
margin: auto;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
.archive-container article,
|
|
|
|
.category-container article,
|
|
|
|
.tag-container article {
|
2019-06-05 03:33:40 +00:00
|
|
|
margin-bottom: 1em;
|
|
|
|
line-height: 1em;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
.archive-container a,
|
|
|
|
.archive-container a:hover,
|
|
|
|
.category-container a,
|
|
|
|
.category-container a:hover,
|
|
|
|
.tag-container a,
|
|
|
|
.tag-container a:hover {
|
2018-10-19 01:23:22 +00:00
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
.archive-container .header,
|
|
|
|
.category-container .header,
|
2019-06-05 03:33:40 +00:00
|
|
|
.tag-container .header,
|
|
|
|
.article .header {
|
2018-11-11 03:18:37 +00:00
|
|
|
font-size: 1.1em;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
.archive-container .archive-article-header > a,
|
|
|
|
.archive-container .archive-article-header > h1,
|
|
|
|
.category-container .archive-article-header > a,
|
|
|
|
.category-container .archive-article-header > h1,
|
|
|
|
.tag-container .archive-article-header > a,
|
|
|
|
.tag-container .archive-article-header > h1 {
|
2018-10-19 01:23:22 +00:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
.archive-container .archive-article-header h1,
|
|
|
|
.category-container .archive-article-header h1,
|
|
|
|
.tag-container .archive-article-header h1 {
|
2019-06-06 09:48:38 +00:00
|
|
|
font-size: 1.2em;
|
2018-10-19 01:23:22 +00:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
.archive-container .archive-article-date,
|
|
|
|
.category-container .archive-article-date,
|
|
|
|
.tag-container .archive-article-date {
|
2019-06-06 09:48:38 +00:00
|
|
|
font-size: 0.8em;
|
2018-10-19 01:23:22 +00:00
|
|
|
color: #cacdd0;
|
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
.archive-container .extend,
|
|
|
|
.archive-container .page-number,
|
|
|
|
.category-container .extend,
|
|
|
|
.category-container .page-number,
|
|
|
|
.tag-container .extend,
|
|
|
|
.tag-container .page-number {
|
2019-06-06 09:48:38 +00:00
|
|
|
margin-right: 1em;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.article {
|
2019-06-05 03:33:40 +00:00
|
|
|
max-width: 80ch;
|
|
|
|
padding: 2ch;
|
|
|
|
margin: auto;
|
2018-11-12 10:13:32 +00:00
|
|
|
position: relative;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.article .main-nav-link:hover {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article .caption {
|
2019-04-08 02:14:22 +00:00
|
|
|
color: #cacdd0;
|
2018-10-19 01:23:22 +00:00
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article .article-entry {
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
|
|
|
|
2019-08-12 04:27:03 +00:00
|
|
|
.article .article-entry a {
|
|
|
|
border-bottom: 1px solid #1abc9c;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article .article-entry a:hover {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
2018-10-19 01:23:22 +00:00
|
|
|
.article .article-entry img {
|
|
|
|
display: block;
|
|
|
|
margin: auto;
|
2019-08-12 03:42:34 +00:00
|
|
|
margin-bottom: 0.5em;
|
2019-08-25 07:54:05 +00:00
|
|
|
max-height: 30em;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.article .article-entry blockquote footer {
|
|
|
|
text-align: center;
|
|
|
|
font-size: 80%;
|
2019-04-08 02:14:22 +00:00
|
|
|
color: #cacdd0;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.article .article-entry blockquote footer cite {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article .article-entry blockquote footer cite a {
|
2019-04-08 02:14:22 +00:00
|
|
|
color: #cacdd0;
|
2018-10-19 01:23:22 +00:00
|
|
|
border-bottom: 1px solid #eee;
|
2018-11-08 01:45:46 +00:00
|
|
|
transition: color 0.25s linear;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.article .article-entry blockquote footer cite:before {
|
|
|
|
content: "—";
|
2018-11-08 01:45:46 +00:00
|
|
|
padding: 0 0.5em;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.article .article-entry blockquote footer strong {
|
2019-04-08 02:14:22 +00:00
|
|
|
color: #cacdd0;
|
2018-10-19 01:23:22 +00:00
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
.article .article-entry table caption,
|
|
|
|
.article .article-entry table td,
|
|
|
|
.article .article-entry table th,
|
|
|
|
.article .article-entry td,
|
|
|
|
.article .article-entry th {
|
2018-10-19 01:23:22 +00:00
|
|
|
word-break: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article .article-entry .pullquote {
|
|
|
|
width: 45%;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article .article-entry .pullquote.left {
|
|
|
|
float: left;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article .article-entry .pullquote.right {
|
|
|
|
float: right;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article .article-entry .video-container {
|
|
|
|
position: relative;
|
|
|
|
padding-top: 56.25%;
|
2019-08-30 18:31:03 +00:00
|
|
|
margin-bottom: 1em;
|
2018-10-19 01:23:22 +00:00
|
|
|
height: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article .article-entry .video-container iframe {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article .article-nav {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article .article-nav-link-wrap {
|
|
|
|
display: inline-block;
|
2019-08-30 18:31:03 +00:00
|
|
|
padding: 0 1em;
|
2018-10-19 01:23:22 +00:00
|
|
|
width: 49%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
vertical-align: top;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article .article-nav-link-wrap strong {
|
2019-04-08 02:14:22 +00:00
|
|
|
color: #cacdd0;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.article .article-nav-link-wrap:hover {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article .article-nav-link-wrap.newer {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article .article-nav-link-wrap.older {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article .article-meta {
|
2019-04-08 02:14:22 +00:00
|
|
|
color: #cacdd0;
|
2019-08-30 04:34:54 +00:00
|
|
|
font-size: 0.9em;
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.article .article-meta a {
|
2019-04-08 02:14:22 +00:00
|
|
|
color: #cacdd0;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.article .article-meta .label {
|
2019-08-30 18:31:03 +00:00
|
|
|
margin-right: 0.5em;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
.article .article-meta .article-category,
|
|
|
|
.article .article-meta .article-tag-list {
|
2018-10-19 01:23:22 +00:00
|
|
|
display: inline-block;
|
2019-08-30 04:34:54 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.article .article-meta .article-tag-list-item {
|
|
|
|
display: inline-block;
|
2019-08-30 04:36:54 +00:00
|
|
|
margin-right: 1em;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.article .article-meta .article-tag-list-item:before {
|
2018-11-08 01:45:46 +00:00
|
|
|
content: "#";
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.article .article-gallery img {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article-type-page .article-footer {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2019-09-04 05:57:03 +00:00
|
|
|
table caption,
|
|
|
|
table td,
|
|
|
|
td {
|
2018-10-19 01:23:22 +00:00
|
|
|
border: 1px solid #ddd;
|
|
|
|
}
|
|
|
|
|
2019-09-06 09:47:49 +00:00
|
|
|
.highlight .line.marked {
|
2018-10-19 01:23:22 +00:00
|
|
|
background: #444;
|
|
|
|
}
|
|
|
|
|
2019-09-06 09:47:49 +00:00
|
|
|
.highlight {
|
2018-10-19 01:23:22 +00:00
|
|
|
padding: 1em;
|
2018-11-08 01:45:46 +00:00
|
|
|
font-size: 0.9em;
|
2018-10-19 01:23:22 +00:00
|
|
|
overflow: auto;
|
|
|
|
line-height: 1.8;
|
|
|
|
}
|
|
|
|
|
2019-09-06 09:47:49 +00:00
|
|
|
.highlight .gutter pre {
|
2019-04-08 02:14:22 +00:00
|
|
|
color: #cacdd0;
|
2018-11-08 01:45:46 +00:00
|
|
|
font-size: 0.9em;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.article-entry pre code {
|
|
|
|
background: 0 0;
|
|
|
|
text-shadow: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2019-09-06 09:47:49 +00:00
|
|
|
.highlight pre {
|
2018-10-19 01:23:22 +00:00
|
|
|
border: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2019-09-06 09:47:49 +00:00
|
|
|
.highlight table {
|
2018-10-19 01:23:22 +00:00
|
|
|
margin: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2019-09-06 09:47:49 +00:00
|
|
|
.highlight td {
|
2018-10-19 01:23:22 +00:00
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2019-09-04 05:57:03 +00:00
|
|
|
pre .comment,
|
|
|
|
pre .title,
|
2019-09-06 09:47:49 +00:00
|
|
|
.highlight figcaption {
|
2018-10-19 01:23:22 +00:00
|
|
|
color: #8e908c;
|
|
|
|
}
|
|
|
|
|
2019-09-06 09:47:49 +00:00
|
|
|
highlight figcaption a {
|
2018-10-19 01:23:22 +00:00
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
pre .attribute,
|
|
|
|
pre .css .class,
|
|
|
|
pre .css .id,
|
|
|
|
pre .css .pseudo,
|
|
|
|
pre .html .doctype,
|
|
|
|
pre .regexp,
|
|
|
|
pre .ruby .constant,
|
|
|
|
pre .tag,
|
|
|
|
pre .variable,
|
|
|
|
pre .xml .doctype,
|
|
|
|
pre .xml .pi,
|
|
|
|
pre .xml .tag .title {
|
2018-10-19 01:23:22 +00:00
|
|
|
color: #c82829;
|
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
pre .built_in,
|
|
|
|
pre .constant,
|
|
|
|
pre .literal,
|
|
|
|
pre .number,
|
|
|
|
pre .params,
|
|
|
|
pre .preprocessor {
|
2018-10-19 01:23:22 +00:00
|
|
|
color: #f5871f;
|
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
pre .class,
|
|
|
|
pre .css .rules .attribute,
|
|
|
|
pre .header,
|
|
|
|
pre .inheritance,
|
|
|
|
pre .ruby .class .title,
|
|
|
|
pre .ruby .symbol,
|
|
|
|
pre .string,
|
|
|
|
pre .value,
|
|
|
|
pre .xml .cdata {
|
2018-10-19 01:23:22 +00:00
|
|
|
color: #718c00;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre .css .hexcolor {
|
|
|
|
color: #3e999f;
|
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
pre .coffeescript .title,
|
|
|
|
pre .function,
|
|
|
|
pre .javascript .title,
|
|
|
|
pre .perl .sub,
|
|
|
|
pre .python .decorator,
|
|
|
|
pre .python .title,
|
|
|
|
pre .ruby .function .title,
|
|
|
|
pre .ruby .title .keyword {
|
2018-10-19 01:23:22 +00:00
|
|
|
color: #4271ae;
|
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
pre .javascript .function,
|
|
|
|
pre .keyword {
|
2018-10-19 01:23:22 +00:00
|
|
|
color: #8959a8;
|
|
|
|
}
|
|
|
|
|
2018-11-06 06:32:15 +00:00
|
|
|
/* hide mobile nav menu and its checkbox */
|
|
|
|
/* when it's not mobile */
|
2018-11-08 01:45:46 +00:00
|
|
|
.mobile-nav,
|
|
|
|
#mobile-menu-toggle,
|
|
|
|
.mobile-nav-link {
|
|
|
|
display: none;
|
2018-11-06 06:32:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* set line-height in /archives page */
|
2018-11-08 01:45:46 +00:00
|
|
|
.mobile-nav-menu {
|
|
|
|
line-height: 1.8;
|
2018-11-06 06:32:15 +00:00
|
|
|
}
|
|
|
|
|
2018-11-12 07:57:38 +00:00
|
|
|
/* overlap other elements */
|
|
|
|
.mobile-nav-link {
|
2019-09-04 05:57:03 +00:00
|
|
|
background: black;
|
2018-11-12 07:57:38 +00:00
|
|
|
border: 2px solid #999;
|
|
|
|
border-radius: 5px;
|
|
|
|
right: 0;
|
|
|
|
margin-left: 5px;
|
2019-08-30 18:31:03 +00:00
|
|
|
padding: 0.5em;
|
2018-11-12 07:57:38 +00:00
|
|
|
position: absolute;
|
2019-06-01 09:21:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-nav-link-a {
|
|
|
|
text-align: center;
|
2018-11-12 07:57:38 +00:00
|
|
|
}
|
|
|
|
|
2018-11-11 06:25:13 +00:00
|
|
|
/* search bar */
|
2018-11-11 10:59:16 +00:00
|
|
|
.searchContainer {
|
2018-11-12 00:36:36 +00:00
|
|
|
border-radius: 5px;
|
2018-11-11 06:25:13 +00:00
|
|
|
width: 10em;
|
2019-04-08 02:14:22 +00:00
|
|
|
color:#e6e6e6;
|
2019-09-04 05:26:24 +00:00
|
|
|
background:#333;
|
2018-11-11 06:25:13 +00:00
|
|
|
outline: 0;
|
|
|
|
float: right;
|
|
|
|
height: 1.8em;
|
|
|
|
position: relative;
|
2019-08-30 18:33:27 +00:00
|
|
|
margin: auto;
|
2018-11-11 06:25:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* inline-block to position them in same line */
|
|
|
|
.searchBox,
|
|
|
|
.searchBtn{
|
|
|
|
display:inline-block;
|
|
|
|
color: inherit;
|
2019-09-04 05:26:24 +00:00
|
|
|
background: inherit;
|
2018-11-11 06:25:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* hide the border and fill the height to parent's */
|
|
|
|
.searchBox {
|
|
|
|
border: 0;
|
2018-11-12 00:36:36 +00:00
|
|
|
border-radius: 5px;
|
2019-08-30 18:40:29 +00:00
|
|
|
height:1.8em;
|
2018-11-11 06:25:13 +00:00
|
|
|
width: 85%;
|
|
|
|
padding-left: 0.2em;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2019-08-30 05:05:49 +00:00
|
|
|
/*
|
|
|
|
* Override sanitize/forms
|
|
|
|
* to prevent conflict with
|
|
|
|
* .searchBox padding-left
|
|
|
|
*/
|
|
|
|
input {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2018-11-11 06:25:13 +00:00
|
|
|
/* highlight the text box when focused */
|
|
|
|
.searchBox:focus {
|
|
|
|
border: 1px solid #1abc9c;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* align the button to center */
|
|
|
|
.searchBtn {
|
|
|
|
width: 10%;
|
|
|
|
position: absolute;
|
2019-08-30 18:40:29 +00:00
|
|
|
top: 45%;
|
2018-11-11 06:25:13 +00:00
|
|
|
transform: translate(30%, -50%);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* fill the svg with parent's font color */
|
|
|
|
svg {
|
|
|
|
fill: currentColor;
|
|
|
|
}
|
|
|
|
|
2018-11-12 10:13:32 +00:00
|
|
|
/* don't underline specific <a> tag */
|
|
|
|
.no-underline {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
2019-08-12 04:27:03 +00:00
|
|
|
/* fill the link icon with link's color */
|
|
|
|
svg#link {
|
|
|
|
fill: #1abc9c;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* don't underline link icon */
|
|
|
|
.article .article-entry a.headerlink {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
2019-09-04 05:39:18 +00:00
|
|
|
/* underline link icon when hover */
|
|
|
|
.article .article-entry a.headerlink:hover {
|
|
|
|
border-bottom: 1px solid #1abc9c;
|
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
@media (max-width: 768px) {
|
2018-10-19 01:23:22 +00:00
|
|
|
body {
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article-title {
|
|
|
|
font-size: 1.8rem;
|
|
|
|
}
|
|
|
|
|
2018-11-06 06:32:15 +00:00
|
|
|
/* hide desktop nav */
|
2018-11-08 01:45:46 +00:00
|
|
|
.main-nav {
|
|
|
|
display: none;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
2018-11-06 06:32:15 +00:00
|
|
|
/* display mobile nav */
|
2018-11-08 01:45:46 +00:00
|
|
|
.mobile-nav {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
2018-11-06 06:32:15 +00:00
|
|
|
/* display links when menu button is clicked */
|
|
|
|
/* use grid to display each link in new line */
|
2018-11-08 01:45:46 +00:00
|
|
|
#mobile-menu-toggle:checked + .mobile-nav-link {
|
2018-11-07 00:22:08 +00:00
|
|
|
display: grid;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
@media (max-width: 468px) {
|
2018-10-19 01:23:22 +00:00
|
|
|
body {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.home {
|
2019-04-08 02:14:22 +00:00
|
|
|
color: #e6e6e6;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.home a {
|
2019-04-08 02:14:22 +00:00
|
|
|
color: #e6e6e6;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
.archive-container .archive-footer,
|
|
|
|
.archive-container .post-footer {
|
2018-10-19 01:23:22 +00:00
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
.archive-container .archive-article-header > a,
|
|
|
|
.archive-container .archive-article-header > h1 {
|
2018-10-19 01:23:22 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
@media (max-width: 320px) {
|
2018-10-19 01:23:22 +00:00
|
|
|
body {
|
2018-11-08 01:45:46 +00:00
|
|
|
font-size: 0.9em;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.article {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
.archive-container .archive-footer,
|
|
|
|
.archive-container .post-footer {
|
2018-10-19 01:23:22 +00:00
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
|
2018-11-08 01:45:46 +00:00
|
|
|
.footer,
|
|
|
|
.footer-content {
|
|
|
|
font-size: 0.9em;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-30 03:51:59 +00:00
|
|
|
.copy-button {
|
2018-10-19 11:31:19 +00:00
|
|
|
border: 1px solid #999;
|
|
|
|
border-radius: 5px;
|
2018-10-19 01:23:22 +00:00
|
|
|
cursor: pointer;
|
2018-11-08 01:45:46 +00:00
|
|
|
font-size: 0.8em;
|
2018-10-19 11:31:19 +00:00
|
|
|
line-height: 1em;
|
|
|
|
padding: 5px;
|
2019-08-25 14:58:20 +00:00
|
|
|
user-select: none;
|
2018-10-19 01:23:22 +00:00
|
|
|
}
|
2018-10-20 08:34:52 +00:00
|
|
|
|
|
|
|
.copy-button:hover {
|
2019-09-06 06:20:55 +00:00
|
|
|
background: #e6e6e6;
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
body {
|
|
|
|
background: black;
|
|
|
|
color: #e6e6e6;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
2019-09-06 09:47:49 +00:00
|
|
|
.highlight,
|
2019-09-06 06:20:55 +00:00
|
|
|
code,
|
|
|
|
kbd,
|
|
|
|
pre,
|
|
|
|
samp {
|
|
|
|
background: #333;
|
|
|
|
}
|
|
|
|
|
2019-09-06 12:32:26 +00:00
|
|
|
hr {
|
2019-09-06 12:47:12 +00:00
|
|
|
background-image: -webkit-linear-gradient(0deg,transparent,#e6e6e6,transparent);
|
2019-09-06 12:32:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.header-hr {
|
2019-09-06 12:47:12 +00:00
|
|
|
background-image: -webkit-linear-gradient(0deg,#e6e6e6,#e6e6e6,transparent);
|
2019-09-06 12:32:26 +00:00
|
|
|
}
|
|
|
|
|
2019-09-06 06:20:55 +00:00
|
|
|
.copy-button:hover {
|
|
|
|
background: #e6e6e6;
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
body {
|
|
|
|
background: #f1f1f1;
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
2019-09-06 09:47:49 +00:00
|
|
|
.highlight,
|
2019-09-06 06:20:55 +00:00
|
|
|
code,
|
|
|
|
kbd,
|
|
|
|
pre,
|
|
|
|
samp {
|
|
|
|
background: #d8d8d8;
|
|
|
|
}
|
|
|
|
|
2019-09-06 12:32:26 +00:00
|
|
|
hr {
|
2019-09-06 12:47:12 +00:00
|
|
|
background-image: -webkit-linear-gradient(0deg,transparent,#333,transparent);
|
2019-09-06 12:32:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.header-hr {
|
2019-09-06 12:47:12 +00:00
|
|
|
background-image: -webkit-linear-gradient(0deg,#333,#333,transparent);
|
2019-09-06 12:32:26 +00:00
|
|
|
}
|
|
|
|
|
2019-09-06 06:20:55 +00:00
|
|
|
.copy-button:hover {
|
|
|
|
background: #333;
|
|
|
|
color: #f1f1f1;
|
|
|
|
}
|
2018-11-06 06:32:15 +00:00
|
|
|
}
|