2025-02-22 20:53:39 +01:00

109 lines
1.8 KiB
CSS

:root {
--text: 245, 233, 241;
--background: 23, 10, 19;
--primary: 214, 163, 199;
--secondary: 121, 54, 61;
--accent: 164, 226, 46;
--text100: rgb(var(--text));
--text90: rgba(var(--text), 90%);
--background100: rgb(var(--background));
--primary100: rgb(var(--primary));
--secondary100: rgb(var(--secondary));
--secondary90: rgba(var(--secondary), 90%);
--accent100: rgb(var(--accent));
}
body {
font-family: Arial, Helvetica, sans-serif;
height: 100vh;
width: 100vw;
margin: 0;
padding: 0;
color: var(--text100);
background-color: var(--background100);
}
main {
height: 100%;
}
.middle-flex {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
a {
color: var(--text100);
}
a:hover {
color: var(--text90);
}
a:visited {
color: var(--text100);
}
button.primary {
background-color: var(--primary100);
border-color: var(--primary100);
border-radius: 0.5rem;
display: inline-block;
padding: 0.5em 2em;
margin: 0;
}
button.primary:hover {
transform: translate(0, -3px);
box-shadow: 0 1.2em 4em -0.2em var(--primary100);
cursor: pointer;
}
.link-list li {
list-style: none;
padding: 0.2rem;
}
header {
border: 0;
padding: 1em;
border-bottom: 0.1em;
border-color: var(--secondary100);
border-style: solid;
width: 80%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
header a {
padding: 0.2em 0.7em;
font-size: 1.3rem;
}
.header-span {
border-width: 0.1em;
border-style: solid;
border-color: var(--secondary90);
height: 70%;
}
footer {
border: 0;
padding: 1em;
border-top: 0.1em;
border-color: var(--secondary100);
border-style: solid;
width: 80%;
}