60 lines
987 B
CSS
60 lines
987 B
CSS
: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;
|
|
}
|
|
}
|
|
|
|
html {
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
height: 100%;
|
|
padding: 0;
|
|
margin: 0;
|
|
min-height: 100%;
|
|
display: grid;
|
|
grid-template-rows: auto 1fr auto;
|
|
background-color: var(--c-bg);
|
|
color: var(--c-text);
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6, .title {
|
|
color: var(--c-title);
|
|
}
|
|
|
|
* {
|
|
box-sizing: inherit;
|
|
font-family: system-ui;
|
|
}
|
|
|
|
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;
|
|
}
|
|
} |