25/assets/app.css
Anders Englöf Ytterström f17558daaf
Add homepage view (#10)
* Ignore rel dir

* Add assets

* Add assets to esbuild bundle

* Add upcoming filter to Directus events

* Add homepage
2024-10-01 16:44:34 +02:00

89 lines
1.4 KiB
CSS

:root {
--color: #fff;
--bgcolor: #201;
--box-padding: 12px;
}
html {
color: var(--color);
background-color: var(--bgcolor);
background-image: linear-gradient(#000, #201 50%);
font:
normal small/1.5 apple-system,
system-ui,
BlinkMacSystemFont,
Segoe UI,
Roboto,
Helvetica Neue,
Arial,
sans-serif;
}
body {
margin: 0;
}
h1,
h2,
h3 {
line-height: 1.1;
font-family: serif;
}
.skiplink {
position: absolute;
top: -5em;
transition: top 0.4s ease-out;
padding: 0.25em 0.5em;
&:focus {
top: 1em;
}
}
main {
margin: 0 auto;
max-width: 33em;
}
.flx {
display: flex;
justify-content: space-between;
align-items: center;
}
.tree {
color: crimson;
align-items: center;
justify-content: center;
margin: 1em auto;
display: flex;
flex-direction: column;
gap: 0.75em;
> * {
padding: 1em 2em;
border-radius: 5px;
background-color: rgba(128, 128, 128, 0.1);
}
> :nth-child(even) {
text-align: right;
}
}
.landing {
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: #000;
padding: 3em;
box-sizing: border-box;
}
a {
color: #fff;
text-decoration: none;
}