You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
1.2 KiB
CSS
68 lines
1.2 KiB
CSS
1 year ago
|
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;200&display=swap');
|
||
|
|
||
|
:root, :root.forceDark {
|
||
|
--background:#2F2536;
|
||
|
--foreground:#E1B8FF;
|
||
|
--backgroundLight: #f5eaff;
|
||
|
--foregroundLight: #49332d;
|
||
|
--padding: 16px;
|
||
|
}
|
||
|
|
||
|
@media (prefers-color-scheme: light) {
|
||
|
:root {
|
||
|
--background: var(--backgroundLight);
|
||
|
--foreground: var(--foregroundLight);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
:root.forceLight {
|
||
|
--background: var(--backgroundLight);
|
||
|
--foreground: var(--foregroundLight);
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
body {
|
||
|
background-color: var(--background);
|
||
|
color: var(--foreground);
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
font-family: 'Outfit', sans-serif;
|
||
|
}
|
||
|
|
||
|
#__next {
|
||
|
min-height: 100vh;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
}
|
||
|
|
||
|
#__next header {
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
align-items: center;
|
||
|
width: 100%;
|
||
|
border-bottom: solid 1px var(--foreground);
|
||
|
}
|
||
|
|
||
|
#__next header h1 {
|
||
|
margin: calc(var(--padding) / 2) var(--padding);
|
||
|
}
|
||
|
|
||
|
#__next header nav {
|
||
|
flex: 1;
|
||
|
text-align: right;
|
||
|
margin: calc(var(--padding) / 2) var(--padding);
|
||
|
}
|
||
|
|
||
|
#__next header nav a {
|
||
|
margin-left: var(--padding);
|
||
|
color: inherit;
|
||
|
}
|
||
|
|
||
|
#__next main {
|
||
|
width: 800px;
|
||
|
max-width: calc(100vw - 300px);
|
||
|
min-width: 300px;
|
||
|
margin: 0 auto;
|
||
|
}
|