2022-10-21 22:29:23 +03:00
|
|
|
@font-face {
|
|
|
|
font-family: 'Inconsolata-LGC';
|
|
|
|
src: local('Inconsolata-LGC'),
|
|
|
|
url(/fonts/Inconsolata-LGC.woff2) format('woff2'),
|
|
|
|
url(/fonts/Inconsolata-LGC.woff) format('woff');
|
|
|
|
font-display: swap;
|
|
|
|
}
|
2022-09-30 17:54:01 +03:00
|
|
|
:root {
|
|
|
|
--b: #000;
|
|
|
|
--w: #fff;
|
|
|
|
--a: #0b6adc;
|
|
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
:root {
|
|
|
|
--b: #fff;
|
|
|
|
--w: #000;
|
|
|
|
--a: #0b6adc;
|
|
|
|
}
|
|
|
|
}
|
2022-10-21 22:29:23 +03:00
|
|
|
@media screen and (max-width: 840px) {
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2022-09-30 17:54:01 +03:00
|
|
|
body {
|
|
|
|
color: var(--b);
|
2022-10-21 22:29:23 +03:00
|
|
|
background: var(--w);
|
2022-09-30 17:54:01 +03:00
|
|
|
padding: 1rem;
|
|
|
|
max-width: 79ch;
|
2022-10-21 22:29:23 +03:00
|
|
|
font-family: 'Inconsolata-LGC', monospace;
|
2022-09-30 17:54:01 +03:00
|
|
|
font-size: 16px;
|
|
|
|
line-height: 1.3;
|
|
|
|
}
|
|
|
|
header {
|
|
|
|
margin: 2rem 0 auto;
|
|
|
|
}
|
|
|
|
footer {
|
|
|
|
margin-top: 2rem;
|
|
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
margin-top: 1rem;
|
|
|
|
margin-bottom: 1.2rem;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
h1 { font-size: 3.6rem; line-height: 1.2; letter-spacing: -.1rem;}
|
|
|
|
h2 { font-size: 3.0rem; line-height: 1.25; letter-spacing: -.1rem; }
|
|
|
|
h3 { font-size: 2.6rem; line-height: 1.3; letter-spacing: -.1rem; }
|
|
|
|
h4 { font-size: 2.0rem; line-height: 1.35; letter-spacing: -.08rem; }
|
|
|
|
h5 { font-size: 1.6rem; line-height: 1.5; letter-spacing: -.05rem; }
|
|
|
|
h6 { font-size: 1.2rem; line-height: 1.6; letter-spacing: 0; }
|
|
|
|
p {
|
|
|
|
margin: 1rem 0;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
color: var(--b);
|
|
|
|
}
|
|
|
|
a:hover {
|
|
|
|
color: var(--a);
|
|
|
|
}
|
|
|
|
ol, ul {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
section#posts {
|
|
|
|
margin-top: 2rem;
|
|
|
|
}
|
|
|
|
ul#posts li {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
2022-10-21 22:29:23 +03:00
|
|
|
margin: 1rem 0;
|
2022-09-30 17:54:01 +03:00
|
|
|
}
|
|
|
|
ul#posts {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2022-10-21 22:29:23 +03:00
|
|
|
dt {
|
2022-09-30 17:54:01 +03:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
2022-10-21 22:29:23 +03:00
|
|
|
span.docutils.literal {
|
|
|
|
background: #d0d7de;
|
2022-09-30 17:54:01 +03:00
|
|
|
border-radius: 4px;
|
|
|
|
padding: 0 4px 2px 4px;
|
|
|
|
font-family: monospace;
|
|
|
|
font-size: 80%;
|
|
|
|
}
|
|
|
|
pre {
|
|
|
|
font-size: 85%;
|
|
|
|
}
|
|
|
|
code {
|
|
|
|
padding: .2rem .5rem;
|
|
|
|
margin: 0 .2rem;
|
|
|
|
white-space: nowrap;
|
|
|
|
background: #f1f1f1;
|
|
|
|
border: 1px solid #e1e1e1;
|
|
|
|
}
|
|
|
|
pre > code {
|
|
|
|
display: block;
|
|
|
|
padding: 1rem;
|
|
|
|
white-space: pre;
|
|
|
|
}
|
|
|
|
blockquote {
|
|
|
|
padding: 0 1em;
|
2022-10-21 22:29:23 +03:00
|
|
|
border-left: .25em solid var(--b);
|
2022-09-30 17:54:01 +03:00
|
|
|
}
|
|
|
|
table, th, td {
|
|
|
|
border: 1px solid;
|
|
|
|
border-collapse: collapse;
|
|
|
|
border-color: #afb4b9;
|
|
|
|
padding: 0 8px;
|
|
|
|
}
|
|
|
|
th {
|
|
|
|
font-weight: 600;
|
2022-10-21 22:29:23 +03:00
|
|
|
background: #ebeff2;
|
2022-09-30 17:54:01 +03:00
|
|
|
}
|
|
|
|
td p {
|
|
|
|
margin: .5rem 0;
|
|
|
|
}
|
|
|
|
hr {
|
|
|
|
color: #d0d7de;
|
|
|
|
}
|
2022-10-21 22:29:23 +03:00
|
|
|
img {
|
|
|
|
max-width: 79ch;
|
|
|
|
}
|
2022-09-30 17:54:01 +03:00
|
|
|
.admonition {
|
|
|
|
padding: .5rem 1rem;
|
2022-10-21 22:29:23 +03:00
|
|
|
border-radius: 8px;
|
|
|
|
background: #ebeff2;
|
2022-09-30 17:54:01 +03:00
|
|
|
}
|
|
|
|
.admonition-title {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2022-10-21 22:29:23 +03:00
|
|
|
.admonition-title::before {
|
|
|
|
content: '🛈 ';
|
|
|
|
}
|
2022-09-30 17:54:01 +03:00
|
|
|
.highlight {
|
|
|
|
border-radius: 8px;
|
|
|
|
}
|
|
|
|
.highlight pre {
|
|
|
|
padding: 1rem;
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|