2022-09-29 20:46:34 +03:00
|
|
|
:root {
|
|
|
|
--default-bg: #F0F0F0;
|
|
|
|
--text: #212427;
|
|
|
|
--border: rgba(0, 0, 0, .5);
|
|
|
|
--pre-bg: #dbdbdb;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
:root {
|
|
|
|
--default-bg: #212427;
|
|
|
|
--text: #f0f0f0;
|
|
|
|
--border: rgba(255, 255, 255, .5);
|
|
|
|
--pre-bg: #2e3235;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
color: var(--text);
|
|
|
|
transition: color 200ms 200ms linear, background-color 200ms linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
max-width: 70ch;
|
|
|
|
padding: 3em 1em;
|
|
|
|
margin: auto;
|
|
|
|
line-height: 1.75;
|
|
|
|
font-size: 1.25em;
|
|
|
|
font-family: 'Noto Serif', sans-serif;
|
|
|
|
background-color: var(--default-bg);
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,h2,h3,h4,h5,h6 {
|
|
|
|
margin: 3em 0 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
p,ul,ol {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
color: #1d1d1d;
|
|
|
|
font-family: 'sans-serif';
|
|
|
|
}
|
|
|
|
|
|
|
|
h1, .sitebasligi {
|
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
header > nav > ul {
|
|
|
|
list-style-type: none;
|
|
|
|
padding: 0;
|
|
|
|
display: flex;
|
|
|
|
gap: 20px;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
margin-top: 2.5em;
|
|
|
|
padding-top: 2.5em;
|
|
|
|
border-top: 1px solid var(--border);
|
|
|
|
}
|
|
|
|
|
|
|
|
footer > nav > ul {
|
|
|
|
list-style-type: none;
|
|
|
|
padding: 0;
|
|
|
|
display: flex;
|
|
|
|
gap: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
border-left: 1px solid var(--text);
|
|
|
|
margin: 30px;
|
|
|
|
padding: 10px 20px;
|
|
|
|
}
|
|
|
|
|
2022-09-29 21:03:20 +03:00
|
|
|
code {
|
|
|
|
display: block;
|
2022-09-29 20:46:34 +03:00
|
|
|
background: var(--pre-bg);
|
2022-09-29 21:03:20 +03:00
|
|
|
padding: 30px;
|
2022-09-29 20:46:34 +03:00
|
|
|
border-radius: 12px;
|
|
|
|
color: var(--text);
|
|
|
|
}
|