2022-04-11 23:47:35 +03:00
|
|
|
$border: #999;
|
|
|
|
|
|
|
|
* {
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
html, button, input, select, textarea {
|
2022-04-11 21:59:18 +03:00
|
|
|
font-family: "-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji";
|
2022-04-11 23:47:35 +03:00
|
|
|
line-height: 1.5;
|
2022-04-11 18:28:03 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
div,
|
|
|
|
table {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
margin: 0 auto;
|
|
|
|
max-width: 960px;
|
|
|
|
padding: 10px;
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0.5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
header {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2022-04-11 23:47:35 +03:00
|
|
|
border-bottom: 1px solid $border;
|
|
|
|
line-height: 1;
|
|
|
|
h1 {
|
|
|
|
font-size: 160%;
|
|
|
|
}
|
|
|
|
h2 {
|
|
|
|
font-size: 120%;
|
|
|
|
}
|
2022-04-11 18:28:03 +03:00
|
|
|
}
|
|
|
|
|
2022-04-11 23:13:49 +03:00
|
|
|
main {
|
|
|
|
padding-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
2022-04-11 18:28:03 +03:00
|
|
|
footer {
|
|
|
|
margin: 0;
|
|
|
|
padding: 10px 0;
|
2022-04-11 23:47:35 +03:00
|
|
|
border-top: 1px solid $border;
|
2022-04-11 18:28:03 +03:00
|
|
|
line-height: 1;
|
|
|
|
text-align: center
|
|
|
|
}
|
|
|
|
|
|
|
|
article h1 {
|
|
|
|
line-height: 2;
|
|
|
|
font-size: 160%
|
|
|
|
}
|
|
|
|
|
|
|
|
article h2 {
|
|
|
|
line-height: 1.6;
|
|
|
|
font-size: 120%
|
|
|
|
}
|
|
|
|
|
|
|
|
article h3,
|
|
|
|
article h4,
|
|
|
|
article h5,
|
|
|
|
article h6 {
|
|
|
|
line-height: 1.2;
|
|
|
|
font-size: 100%
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
margin: 10px auto;
|
|
|
|
width: 90%;
|
|
|
|
max-width: 600px;
|
|
|
|
padding: 0 10px;
|
|
|
|
height: auto;
|
|
|
|
display: block
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
border: none;
|
2022-04-11 23:47:35 +03:00
|
|
|
border-top: 1px dashed $border;
|
2022-04-11 18:28:03 +03:00
|
|
|
color: #fff;
|
|
|
|
background-color: #fff;
|
|
|
|
height: 1px
|
|
|
|
}
|
|
|
|
|
2022-04-11 22:36:32 +03:00
|
|
|
a, a:visited, a:hover {
|
|
|
|
color: #007bff;
|
|
|
|
word-wrap: break-word;
|
2022-04-11 18:28:03 +03:00
|
|
|
}
|
|
|
|
|
2022-04-11 22:36:32 +03:00
|
|
|
a, a:visited {
|
|
|
|
text-decoration: none;
|
2022-04-11 18:28:03 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
2022-04-11 22:36:32 +03:00
|
|
|
text-decoration: underline;
|
2022-04-11 18:28:03 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
header a,
|
|
|
|
footer a,
|
|
|
|
h1 a,
|
|
|
|
h2 a,
|
|
|
|
h3 a,
|
|
|
|
h4 a,
|
|
|
|
h5 a,
|
|
|
|
h6 a,
|
2022-04-11 22:54:02 +03:00
|
|
|
h6 a {
|
2022-04-11 18:28:03 +03:00
|
|
|
text-decoration: none;
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
|
2022-04-11 22:54:02 +03:00
|
|
|
header a:hover, header a:visited,
|
|
|
|
footer a:hover, footer a:visited,
|
|
|
|
h1 a:hover, h1 a:visited,
|
|
|
|
h2 a:hover, h2 a:visited,
|
|
|
|
h3 a:hover, h3 a:visited,
|
|
|
|
h4 a:hover, h4 a:visited,
|
|
|
|
h5 a:hover, h5 a:visited,
|
|
|
|
h6 a:hover, h6 a:visited {
|
2022-04-11 18:28:03 +03:00
|
|
|
text-decoration: none;
|
|
|
|
color: #f80;
|
|
|
|
}
|
|
|
|
|
|
|
|
header nav {
|
|
|
|
padding: 10px 0;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
header nav a {
|
|
|
|
padding-left: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
font-size: .8em;
|
|
|
|
margin: 10px auto
|
|
|
|
}
|
|
|
|
|
|
|
|
th,
|
|
|
|
td {
|
|
|
|
border: 1px solid gray;
|
|
|
|
padding: 2px 5px
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
2022-04-11 23:47:35 +03:00
|
|
|
border: 1px dotted $border;
|
2022-04-11 18:28:03 +03:00
|
|
|
background-color: #f0f0f0;
|
|
|
|
padding: 1px 2px;
|
|
|
|
line-height: 200%;
|
|
|
|
word-wrap: break-word
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
2022-04-11 23:47:35 +03:00
|
|
|
border: 1px solid $border;
|
2022-04-11 18:28:03 +03:00
|
|
|
background-color: #f0f0f0;
|
|
|
|
padding: 5px;
|
|
|
|
overflow: auto
|
|
|
|
}
|
|
|
|
|
|
|
|
pre code {
|
|
|
|
border: 0;
|
|
|
|
background: none;
|
|
|
|
padding: 0;
|
|
|
|
font-size: .8em
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 0 0 20px;
|
|
|
|
border-left: solid 5px #ccc;
|
|
|
|
font-size: .8em
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.pagination {
|
|
|
|
list-style-type: none;
|
|
|
|
text-align: center
|
|
|
|
}
|
|
|
|
|
|
|
|
li.page-item {
|
|
|
|
display: inline;
|
|
|
|
padding-right: 15px
|
|
|
|
}
|
|
|
|
|
|
|
|
svg.permalink {
|
|
|
|
color: #666;
|
|
|
|
fill: currentColor
|
|
|
|
}
|
|
|
|
|
|
|
|
svg:hover.permalink {
|
|
|
|
color: #f00;
|
|
|
|
fill: currentColor
|
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
padding: 0;
|
|
|
|
margin: 20px 0
|
|
|
|
}
|
|
|
|
|
|
|
|
.meta,
|
|
|
|
.content {
|
|
|
|
padding: 0;
|
|
|
|
margin: 10px 0
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav#TableOfContents {
|
|
|
|
float: right;
|
|
|
|
width: 200px;
|
|
|
|
overflow: auto;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 10px;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav#TableOfContents:before {
|
|
|
|
content: 'Content';
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav#TableOfContents ul {
|
|
|
|
margin: 0;
|
|
|
|
padding-inline-start: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content-with-toc {
|
|
|
|
width: calc(100% - 220px);
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width:500px) {
|
|
|
|
nav#TableOfContents {
|
|
|
|
float: none;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content-with-toc {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-04-11 23:13:49 +03:00
|
|
|
.title h1, .title h2 {
|
2022-04-11 18:28:03 +03:00
|
|
|
padding: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
.meta div {
|
|
|
|
padding: 0
|
|
|
|
}
|
|
|
|
|
2022-04-11 23:47:35 +03:00
|
|
|
.content {
|
|
|
|
h1,h2,h3,h4,h5,h6,p {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
h1 { margin: 25px 0 0 }
|
|
|
|
h2 { margin: 20px 0 0 }
|
|
|
|
h3 { margin: 20px 0 0 }
|
|
|
|
h4 { margin: 15px 0 0 }
|
|
|
|
h5 { margin: 10px 0 0 }
|
|
|
|
h6 { margin: 10px 0 0 }
|
|
|
|
p { margin: 10px 0 }
|
2022-04-11 18:28:03 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.article-list li {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article-list li .article-date,
|
|
|
|
.article-list li .article-title {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article-list li .article-date:after {
|
|
|
|
content: ' - ';
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width:500px) {
|
|
|
|
.article-list li .article-date,
|
|
|
|
.article-date li .article-title {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article-list li .article-date:after {
|
|
|
|
content: '';
|
|
|
|
}
|
2022-04-11 21:59:18 +03:00
|
|
|
}
|
2022-04-11 22:36:32 +03:00
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
2022-04-11 23:47:35 +03:00
|
|
|
$fg: #ccc;
|
|
|
|
$bg: #222;
|
|
|
|
$bgBright: #333;
|
2022-04-11 22:36:32 +03:00
|
|
|
body {
|
2022-04-11 23:47:35 +03:00
|
|
|
color: $fg;
|
|
|
|
background-color: $bg;
|
2022-04-11 22:36:32 +03:00
|
|
|
}
|
2022-04-11 22:54:02 +03:00
|
|
|
|
2022-04-11 22:46:02 +03:00
|
|
|
header a, header a:visited,
|
|
|
|
footer a, footer a:visited,
|
2022-04-11 22:54:02 +03:00
|
|
|
h1 a, h1 a:visited, h2 a, h2 a:visited,
|
|
|
|
h3 a, h3 a:visited, h4 a, h4 a:visited,
|
|
|
|
h5 a, h5 a:visited, h6 a, h6 a:visited {
|
2022-04-11 23:47:35 +03:00
|
|
|
color: $fg;
|
2022-04-11 22:36:32 +03:00
|
|
|
}
|
2022-04-11 22:54:02 +03:00
|
|
|
|
|
|
|
header a:hover, footer a:hover,
|
|
|
|
h1 a:hover, h2 a:hover,
|
|
|
|
h3 a:hover, h4 a:hover,
|
|
|
|
h5 a:hover, h6 a:hover {
|
|
|
|
color: #f80;
|
|
|
|
}
|
2022-04-11 23:13:49 +03:00
|
|
|
code {
|
2022-04-11 23:47:35 +03:00
|
|
|
border-color: $bgBright;
|
|
|
|
background-color: $bgBright;
|
2022-04-11 23:13:49 +03:00
|
|
|
padding: 1px 2px;
|
|
|
|
line-height: 200%;
|
|
|
|
word-wrap: break-word
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
2022-04-11 23:47:35 +03:00
|
|
|
background-color: $border;
|
2022-04-11 23:13:49 +03:00
|
|
|
border: none;
|
2022-04-11 23:47:35 +03:00
|
|
|
color: $bg;
|
2022-04-11 23:13:49 +03:00
|
|
|
height: 1px;
|
|
|
|
}
|
2022-04-11 22:36:32 +03:00
|
|
|
}
|