2022-07-21 21:30:47 +00:00
|
|
|
/* Default theme */
|
2022-07-25 10:19:10 +00:00
|
|
|
html, body {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2022-05-07 21:03:26 +00:00
|
|
|
/* Node styling */
|
2022-05-07 16:35:04 +00:00
|
|
|
.node {
|
|
|
|
max-width: min(650px, 100ex);
|
2022-01-10 22:53:07 +00:00
|
|
|
margin: 0 auto;
|
2022-01-08 00:13:00 +00:00
|
|
|
}
|
|
|
|
|
2021-09-03 22:26:10 +00:00
|
|
|
.node .node {
|
2022-05-07 16:35:04 +00:00
|
|
|
margin: 2em 0ex 2em 0.5ex;
|
|
|
|
padding: 1ex 0 1ex 1ex;
|
|
|
|
box-shadow: 0px 1px 3px 0 rgba(0,0,0,0.3);
|
|
|
|
border-left: 2px solid #2c3e50;
|
2022-01-08 00:14:37 +00:00
|
|
|
}
|
|
|
|
|
2022-05-07 18:38:12 +00:00
|
|
|
.node.collapsed > .contents {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.node .node.collapsed > .title::before {
|
|
|
|
content: "🮥";
|
|
|
|
}
|
|
|
|
|
|
|
|
.node .node.expanded > .title::before {
|
|
|
|
content: "🮦";
|
|
|
|
}
|
|
|
|
|
2022-08-20 15:51:08 +00:00
|
|
|
/* Inhibit <p> tags inside items */
|
|
|
|
/* TODO: Remove need for this on generator */
|
|
|
|
.item p {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2022-05-07 21:03:26 +00:00
|
|
|
/* Headers */
|
2022-01-10 22:53:07 +00:00
|
|
|
h1 {
|
|
|
|
font-size: 150%;
|
|
|
|
}
|
|
|
|
|
2022-01-08 00:14:37 +00:00
|
|
|
h1,h2,h3,h4,h5,h6 {
|
|
|
|
margin-top: 0;
|
2022-05-07 16:35:04 +00:00
|
|
|
color: #2c3e50;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 > a, h2 > a, h3 > a, h4 > a, h5 > a, h6 > a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
2021-10-03 15:53:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h1.title .state {
|
|
|
|
font-size: 50%;
|
|
|
|
vertical-align: middle;
|
2022-01-08 00:13:00 +00:00
|
|
|
/* background-color: rgba(255,255,255,0.3); */
|
|
|
|
background-color: rgba(0,0,0,0.1);
|
|
|
|
padding: 4px;
|
|
|
|
border-radius: 5px;
|
2021-10-03 15:53:22 +00:00
|
|
|
}
|
2021-09-03 22:26:10 +00:00
|
|
|
|
2022-05-07 21:03:26 +00:00
|
|
|
/* Lists */
|
2021-09-03 22:26:10 +00:00
|
|
|
li .tag {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
li .tag::after {
|
2022-04-29 08:26:59 +00:00
|
|
|
content: ":: ";
|
2021-09-03 22:26:10 +00:00
|
|
|
}
|
2022-05-07 21:03:26 +00:00
|
|
|
|
|
|
|
/* Code blocks */
|
|
|
|
pre {
|
|
|
|
overflow: auto;
|
2022-07-24 21:09:05 +00:00
|
|
|
padding: 0.25ex;
|
|
|
|
box-shadow: 0px 2px 4px 2px rgba(0, 0, 0, 0.26);
|
|
|
|
border-radius: 2px;
|
2022-05-07 21:03:26 +00:00
|
|
|
}
|
|
|
|
pre > code {
|
|
|
|
display: block;
|
|
|
|
line-height: 1.2em;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
2022-07-21 21:28:02 +00:00
|
|
|
pre code {
|
2022-05-07 21:03:26 +00:00
|
|
|
padding: 0.5ex;
|
|
|
|
font-size: medium;
|
2022-07-24 21:09:05 +00:00
|
|
|
background: #fff;
|
|
|
|
color: #000;
|
2022-07-24 21:56:29 +00:00
|
|
|
border: none;
|
|
|
|
font-size: 85%;
|
2022-07-21 21:28:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
2022-07-24 21:56:29 +00:00
|
|
|
padding: 0.25ex 0.5ex;
|
2022-07-21 21:28:02 +00:00
|
|
|
margin: 0.25ex;
|
2022-07-24 21:56:29 +00:00
|
|
|
background: #eee;
|
|
|
|
color: #600;
|
|
|
|
font-family: Menlo, Monaco, "Courier New", monospace;
|
|
|
|
font-size: 85%;
|
2022-07-21 21:28:02 +00:00
|
|
|
}
|
|
|
|
|
2022-07-25 10:19:10 +00:00
|
|
|
.content {
|
|
|
|
margin: 1ex;
|
|
|
|
}
|
|
|
|
|
2022-07-21 21:28:02 +00:00
|
|
|
article.post {
|
|
|
|
max-width: min(650px, 100ex);
|
|
|
|
margin: 0 auto;
|
2022-05-07 21:03:26 +00:00
|
|
|
}
|
2022-07-25 10:19:10 +00:00
|
|
|
/* Header */
|
|
|
|
.site-header {
|
|
|
|
background-color: #F7F7FF;
|
|
|
|
border-bottom: rgba(0,0,0,0.1) 1px solid;
|
|
|
|
text-align: center;
|
|
|
|
padding: 1ex;
|
|
|
|
}
|
|
|
|
.site-header h1 {
|
|
|
|
margin-top: 0;
|
|
|
|
font-size: 200%;
|
2022-07-25 15:58:58 +00:00
|
|
|
font-family: monospace, sans;
|
|
|
|
color: #000;
|
2022-07-25 10:19:10 +00:00
|
|
|
}
|
|
|
|
.site-header .site-links .fancy-link {
|
|
|
|
border-right: 1px solid #000;
|
|
|
|
padding-left: 0.75ex;
|
|
|
|
}
|
|
|
|
.site-header .site-links .fancy-link:last-child {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2022-07-25 15:58:58 +00:00
|
|
|
/* Post header */
|
|
|
|
.post-metadata ul.post-tags {
|
|
|
|
list-style: none;
|
|
|
|
display: inline;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-metadata ul.post-tags li.post-tag::before {
|
|
|
|
content: '#';
|
|
|
|
}
|
|
|
|
.post-metadata ul.post-tags li {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2022-08-03 19:11:09 +00:00
|
|
|
/* Post index. */
|
|
|
|
.post-index .post-container {
|
|
|
|
/* box-shadow: 0px 2px 4px 2px rgba(0, 0, 0, 0.26); */
|
|
|
|
/* border-radius: 2px; */
|
|
|
|
/* padding: 1ex; */
|
|
|
|
margin-bottom: 1em;
|
|
|
|
padding-bottom: 1em;
|
|
|
|
border-bottom: #000 1px dashed;
|
|
|
|
}
|
|
|
|
|
2022-07-21 21:30:47 +00:00
|
|
|
|
|
|
|
/* Dark mode. */
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
html {
|
2022-07-21 22:23:07 +00:00
|
|
|
background-color: #111;
|
2022-07-21 21:30:47 +00:00
|
|
|
color: #fafafe;
|
|
|
|
}
|
|
|
|
h2 a {
|
|
|
|
color: #fafafe;
|
|
|
|
}
|
|
|
|
a {
|
2022-07-22 15:58:28 +00:00
|
|
|
color: #94dcff;
|
2022-07-21 21:30:47 +00:00
|
|
|
}
|
|
|
|
h1,h2,h3,h4,h5,h6 {
|
2022-07-21 22:23:07 +00:00
|
|
|
color: #f7da4a;
|
2022-07-21 21:30:47 +00:00
|
|
|
}
|
2022-07-25 10:19:10 +00:00
|
|
|
/* Header */
|
|
|
|
.site-header {
|
|
|
|
background-color: #303330;
|
|
|
|
border-bottom: rgba(0,0,0,0.1) 1px solid;
|
|
|
|
}
|
|
|
|
.site-header h1 {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
.site-header .site-links .fancy-link {
|
|
|
|
border-right: 1px solid #fff;
|
|
|
|
}
|
|
|
|
|
2022-07-22 16:16:48 +00:00
|
|
|
/* Code blocks */
|
|
|
|
pre {
|
|
|
|
padding: 0.5ex;
|
|
|
|
background-color: inherit;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
pre code {
|
|
|
|
padding: 1ex;
|
|
|
|
font-size: medium;
|
2022-07-24 21:56:29 +00:00
|
|
|
border: none;
|
2022-07-22 16:16:48 +00:00
|
|
|
background: #000;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
2022-07-24 21:56:29 +00:00
|
|
|
background: #262826;
|
|
|
|
color: #FFF;
|
|
|
|
font-family: Menlo, Monaco, "Courier New", monospace;
|
2022-07-22 16:16:48 +00:00
|
|
|
}
|
2022-07-21 21:30:47 +00:00
|
|
|
}
|