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.

105 lines
1.8 KiB
CSS

:root {
--page-bg-color: #101626;
--page-fg-color: #fff8e7;
--emboss-color: #000;
}
@font-face {
font-family: 'rubikregular';
src: url('/rubik-regular-minimal.woff2') format('woff2');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@media (prefers-color-scheme: light) {
:root {
--page-bg-color: #efe9d9;
--page-fg-color: #261b00;
--emboss-color: #fff;
}
.light\:invert {
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: 'rubikregular', sans-serif;
scroll-behavior: smooth;
}
body>header {
height: 420px;
background: url(/header.jpg) center no-repeat;
color: transparent;
}
a {
color: var(--page-fg-color);
}
#intro {
display: flex;
flex-flow: column nowrap;
justify-content: center;
height: calc(100vh - 420px);
margin: 2rem 0;
}
#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;
}
#menu>a {
padding: 2rem .5rem 0;
display: flex;
flex-flow: column nowrap;
justify-content: center;
align-items: center;
gap: 1rem;
text-decoration: none;
font-variant: small-caps;
font-size: 2rem;
text-align: center;
background-color: rgba(128, 128, 128, .1);
transition: background-color .3s ease;
border-radius: 12px;
}
#menu>a:hover {
background-color: rgba(128, 128, 128, .2);
}
#menu>a>img {
max-width: 200px;
opacity: .4;
transition: opacity .3s ease;
}
#menu>a:hover>img {
opacity: .8;
}