mirror of
https://github.com/Afacanc38/afacanc38.github.io.git
synced 2024-12-22 14:29:06 +03:00
81 lines
No EOL
1.2 KiB
CSS
81 lines
No EOL
1.2 KiB
CSS
: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;
|
|
}
|
|
|
|
pre {
|
|
background: var(--pre-bg);
|
|
padding: 0 30px;
|
|
border-radius: 12px;
|
|
color: var(--text);
|
|
} |