2020-04-08 21:44:29 +03:00
|
|
|
/* Markdown */
|
2020-04-11 09:59:56 +03:00
|
|
|
:root{
|
|
|
|
--maincolor: red;
|
|
|
|
--bordercl:rebeccapurple;
|
|
|
|
--callouctcolor:dodgerblue;
|
|
|
|
--hovercolor:navy;
|
2020-04-16 10:20:38 +03:00
|
|
|
--darkMaincolor: #50fa7b;
|
2020-04-11 09:59:56 +03:00
|
|
|
}
|
2023-07-29 17:04:05 +03:00
|
|
|
|
2020-04-08 21:44:29 +03:00
|
|
|
html {
|
|
|
|
color: #232333;
|
|
|
|
font-family: 'Roboto Mono', monospace;
|
|
|
|
font-size: 15px;
|
|
|
|
line-height: 1.6em;
|
|
|
|
}
|
2023-07-29 17:04:05 +03:00
|
|
|
|
2020-04-08 21:44:29 +03:00
|
|
|
body{
|
|
|
|
display: block;
|
|
|
|
margin: 8px;
|
|
|
|
}
|
2023-07-29 17:04:05 +03:00
|
|
|
|
2020-04-08 21:44:29 +03:00
|
|
|
* {
|
|
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
::selection {
|
2020-04-11 09:59:56 +03:00
|
|
|
background: var(--maincolor);
|
2020-04-08 21:44:29 +03:00
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
2020-10-20 21:03:23 +03:00
|
|
|
font-family: 'Fira Sans', sans-serif;
|
2020-04-08 21:44:29 +03:00
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
border: 0;
|
2020-04-11 09:59:56 +03:00
|
|
|
border-top: 3px dotted var(--bordercl);
|
2020-04-08 21:44:29 +03:00
|
|
|
margin: 1em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
2020-04-11 09:59:56 +03:00
|
|
|
border-left: 3px solid var(--bordercl);
|
2020-04-08 21:44:29 +03:00
|
|
|
color: #737373;
|
|
|
|
margin: 0;
|
|
|
|
padding-left: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2020-04-11 09:59:56 +03:00
|
|
|
border-bottom: 3px solid var(--maincolor);
|
2020-04-08 21:44:29 +03:00
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2023-07-29 17:04:05 +03:00
|
|
|
|
2020-04-08 21:44:29 +03:00
|
|
|
a:hover {
|
2020-04-11 09:59:56 +03:00
|
|
|
background-color: var(--hovercolor);
|
2020-04-16 10:20:38 +03:00
|
|
|
color: #fff;
|
2020-04-08 21:44:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
}
|
2023-07-29 17:06:55 +03:00
|
|
|
|
2020-04-08 21:44:29 +03:00
|
|
|
ul li {
|
|
|
|
text-indent: -2ch;
|
|
|
|
}
|
2023-07-29 17:06:55 +03:00
|
|
|
|
2021-01-30 15:42:02 +03:00
|
|
|
ul > li::before {
|
2020-04-08 21:44:29 +03:00
|
|
|
content: '* ';
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Images */
|
|
|
|
img {
|
|
|
|
border: 3px solid #ececec;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
figure {
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
figure img {
|
|
|
|
max-height: 500px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 600px) {
|
|
|
|
figure {
|
|
|
|
padding: 0 40px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
figure h4 {
|
|
|
|
font-size: 1rem;
|
|
|
|
margin: 0;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
figure h4::before {
|
|
|
|
content: '↳ ';
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Code blocks */
|
|
|
|
code {
|
|
|
|
background-color: #f1f1f1;
|
|
|
|
padding: .1em .2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
background-color: #ececec;
|
|
|
|
line-height: 1.4;
|
|
|
|
overflow-x: auto;
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.highlight pre ::selection {
|
|
|
|
background: rgba(255, 255, 255, 0.2);
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre code {
|
|
|
|
background-color: transparent;
|
|
|
|
color: inherit;
|
|
|
|
font-size: 100%;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Containers */
|
|
|
|
.content {
|
|
|
|
margin-bottom: 4em;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
max-width: 800px;
|
|
|
|
padding: 0 1ch;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Header */
|
|
|
|
header {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin: 1em 0;
|
2022-08-12 00:39:58 +03:00
|
|
|
line-height: 2.5em;
|
2020-04-08 21:44:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
header .main {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
}
|
2020-04-11 17:45:12 +03:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
font-size: 1.2rem;
|
|
|
|
margin-top: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1::before { color: var(--maincolor); content: '# '; }
|
|
|
|
h2::before { color: var(--maincolor); content: '## '; }
|
|
|
|
h3::before { color: var(--maincolor); content: '### '; }
|
|
|
|
h4::before { color: var(--maincolor); content: '#### '; }
|
|
|
|
h5::before { color: var(--maincolor); content: '##### '; }
|
|
|
|
h6::before { color: var(--maincolor); content: '###### '; }
|
2020-04-08 21:44:29 +03:00
|
|
|
|
2021-06-22 07:33:11 +03:00
|
|
|
.meta {
|
|
|
|
color: #999;
|
|
|
|
letter-spacing: -0.5px;
|
|
|
|
}
|
|
|
|
|
2020-04-08 21:44:29 +03:00
|
|
|
/* Footer */
|
|
|
|
footer {
|
2022-02-10 07:30:07 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
border-top: 0.4rem dotted var(--bordercl);
|
|
|
|
padding: 2rem 0rem;
|
|
|
|
margin-top: 2rem;
|
|
|
|
}
|
2023-07-29 17:04:05 +03:00
|
|
|
|
2022-02-10 07:30:07 +03:00
|
|
|
.soc {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
2023-07-29 17:04:05 +03:00
|
|
|
|
2022-06-25 06:20:26 +03:00
|
|
|
.border {
|
|
|
|
margin-left: 0.5rem;
|
|
|
|
margin-right: 0.5rem;
|
|
|
|
border: 1px solid;
|
|
|
|
}
|
2023-07-29 17:04:05 +03:00
|
|
|
|
2022-02-10 07:30:07 +03:00
|
|
|
.footer-info {
|
|
|
|
padding: var(--footer-padding);
|
2020-04-08 21:44:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Common */
|
|
|
|
.title h1 {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
time {
|
2020-04-09 09:36:48 +03:00
|
|
|
color: grey;
|
2020-04-08 21:44:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Posts */
|
|
|
|
article .title {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Callout */
|
|
|
|
.callout {
|
2020-04-11 09:59:56 +03:00
|
|
|
background-color: var(--callouctcolor);
|
2020-04-08 21:44:29 +03:00
|
|
|
color: #fff;
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.callout p {
|
2020-04-09 09:36:48 +03:00
|
|
|
font-family: 'IBM Plex Mono', monospace;
|
2020-04-08 21:44:29 +03:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.callout a {
|
|
|
|
border-bottom: 3px solid #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.callout a:hover {
|
|
|
|
background-color: #fff;
|
2020-04-11 09:59:56 +03:00
|
|
|
color: var(--callouctcolor);
|
2020-04-08 21:44:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.site-description {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2020-04-09 09:36:48 +03:00
|
|
|
}
|
2023-07-29 17:04:05 +03:00
|
|
|
|
2020-04-09 09:36:48 +03:00
|
|
|
.tags li::before{
|
2023-07-29 17:04:05 +03:00
|
|
|
content: "<";
|
2020-04-09 09:36:48 +03:00
|
|
|
}
|
2023-07-29 17:04:05 +03:00
|
|
|
|
|
|
|
.tags li::after{
|
|
|
|
content: ">";
|
|
|
|
}
|
|
|
|
|
2020-04-09 09:36:48 +03:00
|
|
|
.tags a{
|
2020-04-12 18:01:09 +03:00
|
|
|
border-bottom: 3px solid var(--maincolor);
|
|
|
|
}
|
2023-07-29 17:04:05 +03:00
|
|
|
|
2020-04-12 18:01:09 +03:00
|
|
|
.tags a:hover{
|
2020-04-16 16:28:18 +03:00
|
|
|
color:white;
|
|
|
|
background-color: var(--hovercolor);
|
2020-04-10 22:41:05 +03:00
|
|
|
}
|
2023-07-29 17:04:05 +03:00
|
|
|
|
2020-04-10 22:41:05 +03:00
|
|
|
svg{
|
|
|
|
max-height: 15px;
|
|
|
|
}
|
2023-07-29 17:04:05 +03:00
|
|
|
|
2020-04-11 09:59:56 +03:00
|
|
|
.soc:hover{
|
2020-04-10 22:41:05 +03:00
|
|
|
color: white;
|
2020-04-11 17:45:12 +03:00
|
|
|
}
|
2023-07-29 17:04:05 +03:00
|
|
|
|
2020-04-11 17:48:23 +03:00
|
|
|
.draft-label{
|
|
|
|
color: var(--bordercl);
|
2020-04-11 17:45:12 +03:00
|
|
|
text-decoration: none;
|
|
|
|
padding: 2px 4px;
|
|
|
|
border-radius: 4px;
|
|
|
|
margin-left: 6px;
|
|
|
|
background-color: #f9f2f4;
|
2020-06-24 10:57:58 +03:00
|
|
|
}
|
2023-07-29 17:04:05 +03:00
|
|
|
|
2020-06-24 10:57:58 +03:00
|
|
|
.highlight {
|
|
|
|
position: relative;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
}
|
2023-07-29 17:04:05 +03:00
|
|
|
|
2020-06-24 10:57:58 +03:00
|
|
|
.highlight pre code[class*="language-"] {
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
}
|
2023-07-29 17:04:05 +03:00
|
|
|
|
2020-06-24 10:57:58 +03:00
|
|
|
.highlight pre code[class*="language-"]::before {
|
|
|
|
background: black;
|
|
|
|
border-radius: 0 0 0.25rem 0.25rem;
|
|
|
|
color: white;
|
|
|
|
font-size: 12px;
|
|
|
|
letter-spacing: 0.025rem;
|
|
|
|
padding: 0.1rem 0.5rem;
|
|
|
|
position: absolute;
|
|
|
|
right: 1rem;
|
|
|
|
text-align: right;
|
|
|
|
text-transform: uppercase;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.highlight pre code[class=language-javaScript]::before,
|
|
|
|
.highlight pre code[class="language-js"]::before {
|
|
|
|
content: "js";
|
|
|
|
background: #f7df1e;
|
|
|
|
color: black;
|
|
|
|
}
|
2023-07-29 17:04:05 +03:00
|
|
|
|
2020-06-24 10:57:58 +03:00
|
|
|
.highlight pre code[class*='language-yml']::before,
|
|
|
|
.highlight pre code[class*='language-yaml']::before {
|
|
|
|
content: 'yaml';
|
|
|
|
background: #f71e6a;
|
|
|
|
color: white;
|
|
|
|
}
|
2023-07-29 17:04:05 +03:00
|
|
|
|
2020-06-24 10:57:58 +03:00
|
|
|
.highlight pre code[class*='language-shell']::before,
|
|
|
|
.highlight pre code[class*='language-bash']::before,
|
|
|
|
.highlight pre code[class*='language-sh']::before {
|
|
|
|
content: 'shell';
|
|
|
|
background: green;
|
|
|
|
color:white
|
|
|
|
}
|
2023-07-29 17:04:05 +03:00
|
|
|
|
2020-06-24 10:57:58 +03:00
|
|
|
.highlight pre code[class*='language-json']::before{
|
|
|
|
content: 'json';
|
|
|
|
background: dodgerblue;
|
|
|
|
color: #000000
|
|
|
|
}
|
2023-07-29 17:04:05 +03:00
|
|
|
|
2020-06-24 10:57:58 +03:00
|
|
|
.highlight pre code[class*='language-python']::before,
|
|
|
|
.highlight pre code[class*='language-py']::before {
|
|
|
|
content: 'py';
|
|
|
|
background: blue;
|
|
|
|
color: yellow ;
|
|
|
|
}
|
2023-07-29 17:04:05 +03:00
|
|
|
|
2020-06-24 10:57:58 +03:00
|
|
|
.highlight pre code[class*='language-css']::before{
|
|
|
|
content: 'css';
|
|
|
|
background: cyan;
|
|
|
|
color: black ;
|
|
|
|
}
|
2023-07-29 17:04:05 +03:00
|
|
|
|
2020-06-24 10:57:58 +03:00
|
|
|
.highlight pre code[class*='language-go']::before{
|
|
|
|
content: 'Go';
|
|
|
|
background: cyan;
|
|
|
|
color: royalblue ;
|
|
|
|
}
|
2023-07-29 17:04:05 +03:00
|
|
|
|
2020-06-24 10:57:58 +03:00
|
|
|
.highlight pre code[class*='language-md']::before,
|
|
|
|
.highlight pre code[class*='language-md']::before{
|
|
|
|
content: 'Markdown';
|
|
|
|
background: royalblue;
|
|
|
|
color: whitesmoke ;
|
2020-10-20 21:03:23 +03:00
|
|
|
}
|
2021-06-22 07:25:18 +03:00
|
|
|
|
|
|
|
/* table */
|
|
|
|
table {
|
|
|
|
border-spacing: 0;
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
table th{
|
|
|
|
padding: 6px 13px;
|
|
|
|
border: 1px solid #dfe2e5;
|
2021-06-28 22:23:47 +03:00
|
|
|
font-size: large;
|
2021-06-22 07:25:18 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
table td{
|
|
|
|
padding: 6px 13px;
|
|
|
|
border: 1px solid #dfe2e5;
|
|
|
|
}
|
2023-07-29 17:04:05 +03:00
|
|
|
|
|
|
|
body {
|
|
|
|
color: white;
|
|
|
|
background-color: #202124;
|
|
|
|
}
|
|
|
|
|
|
|
|
::-moz-selection {
|
|
|
|
background: blue;
|
|
|
|
color: #fff;
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
::selection {
|
|
|
|
background: red;
|
|
|
|
color: #fff;
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
border-top: 3px dotted blue;
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
background-color: lightblue;
|
|
|
|
color: black;
|
|
|
|
text-decoration: bold;
|
|
|
|
padding: 0.1em 0.2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
background-color: #272822;
|
|
|
|
line-height: 1.4;
|
|
|
|
overflow-x: auto;
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
border-color: blue;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
color: #ddd;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1::before {
|
|
|
|
color: var(--darkMaincolor);
|
|
|
|
content: "# ";
|
|
|
|
}
|
|
|
|
|
|
|
|
h2::before {
|
|
|
|
color: var(--darkMaincolor);
|
|
|
|
content: "## ";
|
|
|
|
}
|
|
|
|
|
|
|
|
h3::before {
|
|
|
|
color: var(--darkMaincolor);
|
|
|
|
content: "### ";
|
|
|
|
}
|
|
|
|
|
|
|
|
h4::before {
|
|
|
|
color: var(--darkMaincolor);
|
|
|
|
content: "#### ";
|
|
|
|
}
|
|
|
|
|
|
|
|
h5::before {
|
|
|
|
color: var(--darkMaincolor);
|
|
|
|
content: "##### ";
|
|
|
|
}
|
|
|
|
|
|
|
|
h6::before {
|
|
|
|
color: var(--darkMaincolor);
|
|
|
|
content: "###### ";
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
border-bottom: 3px solid var(--darkMaincolor);
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
a:hover {
|
|
|
|
background-color: var(--darkMaincolor);
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-description a {
|
|
|
|
color: #ddd;
|
|
|
|
}
|
|
|
|
.site-description a:hover {
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tags a {
|
|
|
|
border-bottom: 3px solid var(--darkMaincolor);
|
|
|
|
}
|
|
|
|
.tags a:hover {
|
|
|
|
background-color: var(--darkMaincolor);
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-title a {
|
|
|
|
color: white;
|
|
|
|
text-decoration: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header nav,
|
|
|
|
.footer {
|
|
|
|
border-color: #333;
|
|
|
|
}
|
|
|
|
|
|
|
|
.highlight {
|
|
|
|
background-color: #333;
|
|
|
|
}
|
|
|
|
|
|
|
|
.soc:hover {
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.draft-label {
|
|
|
|
color: var(--darkMaincolor);
|
|
|
|
background-color: blue;
|
|
|
|
}
|
|
|
|
|
|
|
|
.highlight pre code[class=language-javaScript]::before,
|
|
|
|
.highlight pre code[class="language-js"]::before {
|
|
|
|
content: "js";
|
|
|
|
background: #f7df1e;
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.highlight pre code[class*='language-yml']::before,
|
|
|
|
.highlight pre code[class*='language-yaml']::before {
|
|
|
|
content: 'yaml';
|
|
|
|
background: #f71e6a;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.highlight pre code[class*='language-shell']::before,
|
|
|
|
.highlight pre code[class*='language-bash']::before,
|
|
|
|
.highlight pre code[class*='language-sh']::before {
|
|
|
|
content: 'shell';
|
|
|
|
background: green;
|
|
|
|
color:white
|
|
|
|
}
|
|
|
|
|
|
|
|
.highlight pre code[class*='language-json']::before{
|
|
|
|
content: 'json';
|
|
|
|
background: dodgerblue;
|
|
|
|
color: #000000
|
|
|
|
}
|
|
|
|
|
|
|
|
.highlight pre code[class*='language-python']::before,
|
|
|
|
.highlight pre code[class*='language-py']::before {
|
|
|
|
content: 'py';
|
|
|
|
background: blue;
|
|
|
|
color: yellow ;
|
|
|
|
}
|
|
|
|
|
|
|
|
.highlight pre code[class*='language-css']::before{
|
|
|
|
content: 'css';
|
|
|
|
background: cyan;
|
|
|
|
color: black ;
|
|
|
|
}
|
|
|
|
|
|
|
|
.highlight pre code[class*='language-go']::before{
|
|
|
|
content: 'Go';
|
|
|
|
background: cyan;
|
|
|
|
color: royalblue ;
|
|
|
|
}
|
|
|
|
|
|
|
|
.highlight pre code[class*='language-md']::before,
|
|
|
|
.highlight pre code[class*='language-md']::before{
|
|
|
|
content: 'Markdown';
|
|
|
|
background: royalblue;
|
|
|
|
color: whitesmoke ;
|
|
|
|
}
|