2021-08-29 17:55:45 +02:00
|
|
|
@import "atom.scss";
|
2021-08-05 10:30:29 +02:00
|
|
|
@import "markdown.scss";
|
2021-08-19 06:42:00 +02:00
|
|
|
@import "syntax.scss";
|
2021-12-02 06:52:55 +01:00
|
|
|
@import "toc.scss";
|
2021-08-19 06:42:00 +02:00
|
|
|
|
|
|
|
:root {
|
|
|
|
--pm: #0fa0ce;
|
|
|
|
--bd: #e1e1e1;
|
|
|
|
--bg: #fff;
|
|
|
|
--ft: #222;
|
|
|
|
--tag: #333;
|
|
|
|
|
|
|
|
--w-mobile: 640px;
|
2021-11-06 08:28:56 +01:00
|
|
|
|
2022-01-26 16:20:50 +01:00
|
|
|
--global-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
2021-08-19 06:42:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
html.dark {
|
2021-11-12 08:47:28 +01:00
|
|
|
--bg: #181818;
|
|
|
|
--ft: silver;
|
2021-08-19 06:42:00 +02:00
|
|
|
--bd: #555;
|
|
|
|
--tag: #999;
|
|
|
|
|
|
|
|
--ovo-ft: var(--ft);
|
|
|
|
--ovo-bdr: var(--bd);
|
|
|
|
--ovo-bg: var(--bg);
|
|
|
|
--ovo-bg-hvr: #555;
|
|
|
|
--ovo-tag: #30363d;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
max-width: var(--w-mobile);
|
2021-08-29 17:55:45 +02:00
|
|
|
margin: 3rem auto 0;
|
2022-01-26 16:20:50 +01:00
|
|
|
font-family: var(--global-font-family);
|
2021-08-19 06:42:00 +02:00
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 400;
|
|
|
|
color: var(--ft);
|
|
|
|
background-color: var(--bg);
|
|
|
|
transition-property: background-color, border-color, color;
|
|
|
|
transition-duration: 0.5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5 {
|
2021-08-29 17:55:45 +02:00
|
|
|
font-family: "Noto Serif SC", 'Times New Roman', Times, sans-serif;
|
2021-08-19 06:42:00 +02:00
|
|
|
font-weight: 700;
|
2021-09-09 09:56:22 +02:00
|
|
|
line-height: 1.5;
|
2021-08-19 06:42:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
2021-08-29 17:55:45 +02:00
|
|
|
line-height: 1.8;
|
|
|
|
text-align: justify;
|
2021-08-19 06:42:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
border-width: 0;
|
|
|
|
border-top: 1px solid var(--bd);
|
|
|
|
}
|
|
|
|
|
|
|
|
pre,
|
|
|
|
code {
|
|
|
|
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
|
2022-01-06 12:35:29 +01:00
|
|
|
.minima-tag,
|
2021-08-19 06:42:00 +02:00
|
|
|
p code {
|
|
|
|
background-color: var(--bd);
|
|
|
|
padding: 0.2em 0.4em;
|
|
|
|
border-radius: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
2021-09-09 09:56:22 +02:00
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
color: var(--pm);
|
2021-08-19 06:42:00 +02:00
|
|
|
}
|
|
|
|
|
2021-11-27 16:56:38 +01:00
|
|
|
main {
|
|
|
|
animation: showup 0.7s;
|
2021-08-19 06:42:00 +02:00
|
|
|
}
|
|
|
|
|
2021-11-27 16:56:38 +01:00
|
|
|
p a {
|
|
|
|
font-style: italic;
|
|
|
|
text-decoration: underline;
|
2021-08-19 06:42:00 +02:00
|
|
|
}
|
|
|
|
|
2021-11-27 16:56:38 +01:00
|
|
|
footer a {
|
|
|
|
font-style: unset;
|
|
|
|
text-decoration: none;
|
2021-08-19 06:42:00 +02:00
|
|
|
}
|
|
|
|
|
2021-08-29 17:55:45 +02:00
|
|
|
header nav {
|
|
|
|
color: var(--tag);
|
|
|
|
}
|
|
|
|
|
2021-08-19 06:42:00 +02:00
|
|
|
::-webkit-scrollbar {
|
2021-08-29 17:55:45 +02:00
|
|
|
width: 4px;
|
|
|
|
height: 4px;
|
2021-08-19 06:42:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
|
|
background: rgba(128, 128, 128, 0.7);
|
|
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:window-inactive {
|
|
|
|
background: rgba(128, 128, 128, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-scrollbar-thumb:active {
|
|
|
|
background-color: rgb(128, 128, 128);
|
|
|
|
}
|
|
|
|
|
2021-08-29 17:55:45 +02:00
|
|
|
h1::-webkit-scrollbar,
|
|
|
|
nav::-webkit-scrollbar {
|
2021-08-19 06:42:00 +02:00
|
|
|
display: none;
|
|
|
|
width: 0;
|
2021-08-29 17:55:45 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes showup {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(20px);
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
transform: none;
|
|
|
|
}
|
2021-11-27 16:56:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.home-intro {
|
|
|
|
line-height: 1.65;
|
2021-08-19 06:42:00 +02:00
|
|
|
}
|