2021-10-30 23:15:55 +02:00
|
|
|
@use "partials/_shadows.scss";
|
|
|
|
@use "partials/_settings.scss";
|
|
|
|
@use "partials/_palette.scss";
|
|
|
|
|
2021-10-30 21:39:21 +02:00
|
|
|
* {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: 0 none transparent;
|
|
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
scroll-behavior: smooth;
|
|
|
|
|
|
|
|
font-family: 'Manrope Regular', sans-serif;
|
2021-10-30 23:15:55 +02:00
|
|
|
font-size: 1rem;
|
2021-10-30 21:39:21 +02:00
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
html, body {
|
2021-10-30 23:15:55 +02:00
|
|
|
color: palette.$text;
|
|
|
|
background-color: palette.$surface;
|
|
|
|
height: 100%;
|
2021-10-30 21:39:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
nav {
|
2021-10-30 23:15:55 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
background-color: palette.$grey3;
|
|
|
|
border-radius: 0 0 settings.$border_radius_l settings.$border_radius_l;
|
|
|
|
box-shadow: shadows.$large;
|
|
|
|
|
|
|
|
margin: 0 0 2rem 0;
|
|
|
|
padding: 1rem 2rem;
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
width: 3rem;
|
|
|
|
height: 3rem;
|
2021-10-31 20:45:01 +01:00
|
|
|
margin-right: 2rem;
|
2021-10-30 23:15:55 +02:00
|
|
|
border-radius: 100%;
|
|
|
|
background-color: palette.$primary;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: palette.$accent;
|
2021-10-31 20:45:01 +01:00
|
|
|
border-bottom: .1rem solid transparent;
|
|
|
|
|
|
|
|
margin: .25rem 1rem .5rem 1rem;
|
|
|
|
padding: .15rem .5rem .25rem .5rem;
|
2021-10-30 23:15:55 +02:00
|
|
|
|
|
|
|
font-size: 1.25rem;
|
|
|
|
text-decoration: none transparent;
|
|
|
|
|
2021-10-31 20:45:01 +01:00
|
|
|
transition: border .3s;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-bottom: .1rem solid palette.$accent;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.current {
|
|
|
|
color: palette.$primary;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-bottom: .1rem solid palette.$primary;
|
|
|
|
}
|
|
|
|
}
|
2021-10-30 23:15:55 +02:00
|
|
|
}
|
2021-10-30 21:39:21 +02:00
|
|
|
}
|
|
|
|
|
2021-11-05 10:32:06 +01:00
|
|
|
main.flex-container {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-around;
|
|
|
|
|
|
|
|
margin: 0 10vw;
|
|
|
|
}
|
|
|
|
|
2021-10-30 23:15:55 +02:00
|
|
|
|
|
|
|
//
|
|
|
|
// TEXT
|
|
|
|
//
|
|
|
|
|
2021-10-30 21:39:21 +02:00
|
|
|
header, h1, h2, h3, h4, h5, h6 {
|
2021-10-30 23:15:55 +02:00
|
|
|
color: palette.$accent;
|
|
|
|
}
|
|
|
|
|
|
|
|
header {
|
|
|
|
font-size: 4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
// No, I am not lazy...
|
|
|
|
// - BurnyLlama
|
|
|
|
@mixin heading($level) {
|
|
|
|
font-size: 1.65rem - ($level * 0.15);
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@for $i from 1 to 6 {
|
|
|
|
h#{$i} {
|
|
|
|
@include heading($i);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-04 22:50:57 +01:00
|
|
|
a {
|
|
|
|
color: palette.$blue5;
|
|
|
|
}
|
|
|
|
|
2021-10-30 23:15:55 +02:00
|
|
|
|
|
|
|
//
|
|
|
|
// FORMS, INPUT
|
|
|
|
//
|
|
|
|
form {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
color: palette.$text;
|
|
|
|
background-color: palette.$grey3;
|
|
|
|
|
|
|
|
margin: 1em 0;
|
|
|
|
padding: .75em 1.25em;
|
2021-10-31 20:45:01 +01:00
|
|
|
width: min(80ch, 80vw);
|
2021-10-30 23:15:55 +02:00
|
|
|
|
2021-10-31 20:45:01 +01:00
|
|
|
outline: 0 none transparent;
|
|
|
|
border: .2rem solid transparent;
|
2021-10-30 23:15:55 +02:00
|
|
|
border-radius: settings.$border_radius_s;
|
|
|
|
box-shadow: shadows.$small;
|
2021-10-31 20:45:01 +01:00
|
|
|
|
|
|
|
transition: border .3s, background-color .5s, border-radius .5s;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: palette.$grey4;
|
|
|
|
border-radius: settings.$border_radius_m;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active, &:focus {
|
|
|
|
border: .2rem solid palette.$primary;
|
|
|
|
}
|
2021-10-30 23:15:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// FOOTER
|
|
|
|
//
|
|
|
|
footer {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
margin: 5vh 2rem;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: palette.$blue4;
|
|
|
|
font-size: 0.8rem;
|
|
|
|
}
|
2021-10-30 21:39:21 +02:00
|
|
|
}
|