70 lines
1.3 KiB
CSS
70 lines
1.3 KiB
CSS
![]() |
:root {
|
||
|
--page-bg-color: #101626;
|
||
|
--page-fg-color: #fff8e7;
|
||
|
--emboss-color: #000;
|
||
|
}
|
||
|
|
||
|
@media (prefers-color-scheme: light) {
|
||
|
:root {
|
||
|
--page-bg-color: #efe9d9;
|
||
|
--page-fg-color: #261b00;
|
||
|
--emboss-color: #fff;
|
||
|
}
|
||
|
|
||
|
body>header {
|
||
|
filter: invert();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
* {
|
||
|
transition: color, background-color 200ms ease;
|
||
|
}
|
||
|
|
||
|
html,
|
||
|
body {
|
||
|
display: flex;
|
||
|
flex-flow: column nowrap;
|
||
|
justify-content: center;
|
||
|
width: 960px;
|
||
|
max-width: 98vw;
|
||
|
margin: auto;
|
||
|
background: var(--page-bg-color);
|
||
|
color: var(--page-fg-color);
|
||
|
font-size: 20px;
|
||
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||
|
}
|
||
|
|
||
|
body>header {
|
||
|
height: 420px;
|
||
|
background: url(/header.jpg) center no-repeat;
|
||
|
color: transparent;
|
||
|
}
|
||
|
|
||
|
#content>h1 {
|
||
|
font-size: 2rem;
|
||
|
font-variant: small-caps;
|
||
|
text-shadow: 1px 1px 0 var(--emboss-color);
|
||
|
}
|
||
|
|
||
|
#menu {
|
||
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
align-items: center;
|
||
|
gap: 1rem;
|
||
|
margin: 3rem 0 0 0;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
#menu>a {
|
||
|
display: flex;
|
||
|
flex-flow: column nowrap;
|
||
|
justify-content: center;
|
||
|
color: white;
|
||
|
text-decoration: none;
|
||
|
font-variant: small-caps;
|
||
|
}
|
||
|
|
||
|
#menu>a>img {
|
||
|
max-width: 400px;
|
||
|
aspect-ratio: 400 / 281;
|
||
|
}
|