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.
ashen-earth/styles/layout.css

74 lines
1.3 KiB
CSS

1 year ago
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;200&display=swap');
1 year ago
:root, :root.dark {
1 year ago
--background:#2F2536;
--foreground:#E1B8FF;
--backgroundLight: #f5eaff;
--foregroundLight: #49332d;
--padding: 16px;
}
@media (prefers-color-scheme: light) {
:root {
--background: var(--backgroundLight);
--foreground: var(--foregroundLight);
}
}
1 year ago
:root.light {
1 year ago
--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);
}
1 year ago
#__next header p.site-title {
1 year ago
margin: calc(var(--padding) / 2) var(--padding);
}
1 year ago
#__next header p.site-title a {
font-size: 28px;
color: inherit;
text-decoration: none;
}
1 year ago
#__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;
}