50 lines
1.0 KiB
CSS
50 lines
1.0 KiB
CSS
|
@import url('https://rsms.me/inter/inter.css');
|
||
|
@import url('http://fonts.cdnfonts.com/css/cascadia-mono');
|
||
|
|
||
|
:root {
|
||
|
--font-regular: 'Inter', 'Segoe UI', 'Tahoma', 'Geneva', 'Verdana', sans-serif;
|
||
|
--font-monospace: ui-monospace, 'Cascadia Mono', 'Menlo', 'Monacco', monospace;
|
||
|
}
|
||
|
@supports (font-variation-settings: normal) {
|
||
|
:root {
|
||
|
--font-regular: 'Inter var', 'Segoe UI', 'Tahoma', 'Geneva', 'Verdana', sans-serif;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
font-family: var(--font-regular);
|
||
|
background-color: rgb(250, 256, 251);
|
||
|
color: #222;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
main {
|
||
|
max-width: 1200px;
|
||
|
margin: 0 auto;
|
||
|
margin-bottom: 100px;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
|
code, pre {
|
||
|
font-family: var(--font-monospace);
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
color: rgb(100, 120, 255);
|
||
|
stroke: rgb(100, 120, 255);
|
||
|
transition: 0.1s color, 0.1s fill;
|
||
|
}
|
||
|
a:hover {
|
||
|
color: rgb(140, 160, 255);
|
||
|
stroke: rgb(140, 160, 255);
|
||
|
}
|
||
|
|
||
|
@media (prefers-color-scheme: dark) {
|
||
|
body {
|
||
|
background-color: rgb(30,31,31);
|
||
|
color: #eee;
|
||
|
}
|
||
|
}
|