guidebook/src/app.css

56 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;
}
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;
}
}
html, body {
height: 100%;
}
body {
display: flex;
flex-direction: column;
align-items: center;
}
body > main {
flex: 1 0 auto;
}
body > footer {
flex-shrink: 0;
}