2023-01-17 12:05:18 +01:00
|
|
|
:root {
|
|
|
|
--c-bg: #0d1117;
|
|
|
|
--c-title: white;
|
|
|
|
--c-text: #8b949e;
|
|
|
|
--c-menu-hover: #1c2431;
|
|
|
|
--c-bg-footer: var(--c-bg);
|
|
|
|
--c-footer-text: var(--c-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
:root {
|
|
|
|
--c-bg: white;
|
|
|
|
--c-title: black;
|
|
|
|
--c-text: black;
|
|
|
|
--c-menu-hover: #ddd;
|
|
|
|
--c-bg-footer: #616A6B;
|
|
|
|
--c-footer-text: white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-09 10:33:38 +01:00
|
|
|
html {
|
|
|
|
height: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2023-01-05 13:05:09 +01:00
|
|
|
body {
|
2023-01-09 10:33:38 +01:00
|
|
|
height: 100%;
|
|
|
|
padding: 0;
|
2023-01-05 13:05:09 +01:00
|
|
|
margin: 0;
|
2023-01-09 10:33:38 +01:00
|
|
|
min-height: 100%;
|
|
|
|
display: grid;
|
|
|
|
grid-template-rows: auto 1fr auto;
|
2023-01-17 12:05:18 +01:00
|
|
|
background-color: var(--c-bg);
|
|
|
|
color: var(--c-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6, .title {
|
|
|
|
color: var(--c-title);
|
2023-01-09 10:33:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
box-sizing: inherit;
|
|
|
|
font-family: system-ui;
|
2023-01-10 15:27:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
|
|
|
padding: 0 3.75rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 700px){
|
|
|
|
main {
|
|
|
|
padding: 0 1.875rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 575px) {
|
|
|
|
main {
|
|
|
|
padding: 0 .625rem;
|
|
|
|
}
|
2023-01-05 13:05:09 +01:00
|
|
|
}
|