2020-04-27 16:49:21 +02:00
|
|
|
/******************* Constants *******************/
|
|
|
|
:root {
|
2020-04-27 21:39:46 +02:00
|
|
|
--font-color: black;
|
|
|
|
--background-color: white;
|
|
|
|
--main-color: grey;
|
|
|
|
--font_above-color: white;
|
2020-04-27 16:49:21 +02:00
|
|
|
|
|
|
|
--max-width: 800px;
|
|
|
|
--max-width-full: 1000px;
|
|
|
|
--icon-size: 1em;
|
|
|
|
|
|
|
|
--footer-height-inline: 4em;
|
|
|
|
--footer-height-block: 8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/******************* Base *******************/
|
|
|
|
html {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
*,
|
|
|
|
*::before,
|
|
|
|
*::after {
|
|
|
|
box-sizing:inherit
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
color: black;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
a:visited {
|
|
|
|
color: black;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
body {
|
|
|
|
padding-top: 4em;
|
|
|
|
font-family: Roboto, Ubuntu, Oxygen, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
|
|
|
line-height: 1.62;
|
|
|
|
height: 100vh;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.page-icon {
|
|
|
|
display: inline-block;
|
|
|
|
max-width: var(--icon-size);
|
|
|
|
max-height: var(--icon-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
/******************* Post *******************/
|
|
|
|
.post {
|
|
|
|
min-height: 100%;
|
|
|
|
padding-top: 3em;
|
|
|
|
padding-bottom: 3em;
|
|
|
|
margin-bottom: calc(-1 * var(--footer-height-inline));
|
|
|
|
}
|
|
|
|
.post:after {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.post_header {
|
|
|
|
margin: 0 auto;
|
|
|
|
width: 80%;
|
|
|
|
text-align: center;
|
|
|
|
max-width: var(--max-width);
|
|
|
|
}
|
|
|
|
.post_header .post_title {
|
|
|
|
font-size: 2em;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
.post_body {
|
|
|
|
margin: 0 auto;
|
|
|
|
width: 80%;
|
|
|
|
max-width: var(--max-width);
|
|
|
|
}
|
|
|
|
.post a {
|
|
|
|
text-decoration: underline dotted;
|
|
|
|
}
|
|
|
|
.post a:hover {
|
|
|
|
text-decoration: underline solid;
|
|
|
|
}
|
|
|
|
.post:after {
|
|
|
|
height: var(--footer-height-inline);
|
|
|
|
}
|
|
|
|
/******************* Footer *******************/
|
|
|
|
.footer {
|
|
|
|
height: var(--footer-height-inline);
|
2020-04-27 21:39:46 +02:00
|
|
|
background-color: var(--main-color);
|
|
|
|
color: var(--font_above-color);
|
2020-04-27 16:49:21 +02:00
|
|
|
}
|
|
|
|
.footer .footer_link {
|
2020-04-27 21:39:46 +02:00
|
|
|
color: var(--font_above-color);
|
2020-04-27 16:49:21 +02:00
|
|
|
}
|
|
|
|
.footer .footer_link:hover {
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
.footer address {
|
|
|
|
margin: auto;
|
|
|
|
width: 90%;
|
|
|
|
max-width: var(--max-width-full);
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
line-height: var(--footer-height-inline);
|
|
|
|
}
|
|
|
|
.footer p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/******************* Navbar *******************/
|
|
|
|
.navbar {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
margin: auto;
|
|
|
|
padding: 0 5vw;
|
|
|
|
line-height: 4em;
|
|
|
|
z-index: 50;
|
|
|
|
background: white;
|
2020-04-27 18:58:52 +02:00
|
|
|
box-shadow: 0 1px 5px black;
|
2020-04-27 16:49:21 +02:00
|
|
|
}
|
|
|
|
#navigation {
|
|
|
|
max-width: var(--max-width-full);
|
|
|
|
margin: auto;
|
|
|
|
}
|
2020-04-27 18:58:52 +02:00
|
|
|
#navigation-list {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2020-04-27 16:49:21 +02:00
|
|
|
.navigation-item a {
|
|
|
|
color: var(--primary-text);
|
|
|
|
padding: 0.5rem 0;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.navigation-item a:hover,
|
|
|
|
.navigation-item a:focus {
|
|
|
|
color: var(--primary-text);
|
|
|
|
}
|
|
|
|
.navigation-item a::before {
|
|
|
|
bottom: 0;
|
|
|
|
content: "";
|
|
|
|
display: inline-block;
|
|
|
|
height: 3px;
|
|
|
|
position: absolute;
|
|
|
|
transition: all 0.25s ease-in-out;
|
|
|
|
width: 0%;
|
|
|
|
}
|
|
|
|
.navigation-item a::before {
|
2020-04-27 21:39:46 +02:00
|
|
|
background-color: var(--main-color);
|
2020-04-27 16:49:21 +02:00
|
|
|
}
|
|
|
|
.navigation-item a:hover::before,
|
|
|
|
.navigation-item a:focus::before {
|
|
|
|
opacity: 1;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.navigation-item.active a::before {
|
|
|
|
opacity: 1;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.navbar_title_logo {
|
|
|
|
max-width: 7rem;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
/******************* Navbar Toggle *******************/
|
|
|
|
#menu-toggle {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#navigation .menu-button {
|
|
|
|
float: right;
|
|
|
|
position:relative;
|
|
|
|
display: none;
|
|
|
|
width: 4em;
|
|
|
|
height: 4em;
|
|
|
|
}
|
|
|
|
#navigation .menu-button-inner {
|
|
|
|
width: 3em;
|
|
|
|
height: 3em;
|
|
|
|
position:relative;
|
|
|
|
top: 0.5em;
|
|
|
|
left: 0.5em;
|
|
|
|
text-align:center
|
|
|
|
}
|
|
|
|
#navigation .menu-button .menu-button-image {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
height: 20px;
|
|
|
|
width: 24px;
|
|
|
|
top: 14px;
|
|
|
|
background-image: url(../svg/bars.svg);
|
|
|
|
background-size: contain;
|
|
|
|
margin: auto;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
#menu-toggle:checked + .menu-button .menu-button-image {
|
|
|
|
opacity: 40%;
|
|
|
|
}
|
|
|
|
#navigation-list {
|
|
|
|
position: absolute;
|
|
|
|
top: 6rem;
|
|
|
|
right: 0;
|
|
|
|
visibility: hidden;
|
|
|
|
opacity: 0;
|
|
|
|
max-height: 0;
|
|
|
|
width: 100%;
|
|
|
|
font-size: 1.5em;
|
|
|
|
background-color: var(--background-color);
|
|
|
|
border-top: solid 2px var(--font-color);
|
|
|
|
border-bottom: solid 2px var(--font-color);
|
|
|
|
transition: opacity .5s, max-height .35s linear;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
#navigation-list .navigation-item {
|
|
|
|
float: none !important;
|
|
|
|
text-align: center;
|
|
|
|
margin: 0;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
#navigation-list .navigation-item,
|
|
|
|
#navigation-list .navigation-item span {
|
|
|
|
line-height: 5rem;
|
|
|
|
margin: 0 1.5rem;
|
|
|
|
}
|
|
|
|
#menu-toggle:checked + label + ul {
|
|
|
|
visibility: visible;
|
|
|
|
opacity: 1;
|
|
|
|
max-height: max-content;
|
|
|
|
}
|
|
|
|
#navigation .menu-button {
|
|
|
|
display: block;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
/******************* Front-screen *******************/
|
|
|
|
.front-screen {
|
|
|
|
height: 90vh;
|
|
|
|
position: relative;
|
|
|
|
padding-left: 3em;
|
|
|
|
margin: auto;
|
|
|
|
max-width: var(--max-width-full);
|
|
|
|
}
|
|
|
|
.front-screen_caption {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
}
|
|
|
|
.front-screen_caption h1 {
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: 4rem;
|
|
|
|
}
|
|
|
|
.front-screen_caption h2 {
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
}
|
|
|
|
/******************* Main - Sections *******************/
|
|
|
|
.section, .separator {
|
|
|
|
width: 60%;
|
|
|
|
max-width: var(--max-width);
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
.separator {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.separator img {
|
|
|
|
width: .5em;
|
|
|
|
}
|
|
|
|
.section:last-of-type {
|
|
|
|
margin-bottom: 3em;
|
|
|
|
}
|
2020-04-27 17:31:00 +02:00
|
|
|
|
|
|
|
/******************* Social *******************/
|
|
|
|
#social {
|
|
|
|
text-align: center;
|
|
|
|
width: 60%;
|
|
|
|
max-width: var(--max-width);
|
|
|
|
margin: auto;
|
|
|
|
margin-top: 5em;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
#social .social-icon {
|
|
|
|
max-width: 2em;
|
|
|
|
height: 2em;
|
|
|
|
margin: 0 1em;
|
|
|
|
}
|