durfdoen-2.0/content/stylesheets/main.css

152 lines
2.5 KiB
CSS
Raw Normal View History

2020-08-28 22:14:28 +02:00
:root {
--white: #ffffff;
--darkblue: #013e7a;
--lightblue: #1a77d3;
--cyan: #aaeeff;
--yellow: #fed318;
}
2020-08-28 22:14:28 +02:00
html, body {
height: 100%;
}
2020-08-28 22:14:28 +02:00
body {
margin: 0 auto;
2020-08-28 22:14:28 +02:00
padding: 0 1em;
max-width: 1280px;
font-family: futura, Avenir Next, Verdana, Geneva, Tahoma, sans-serif;
}
2020-08-28 22:14:28 +02:00
.beforeTheFold, main {
position: relative;
2020-08-28 22:14:28 +02:00
min-height: 100%;
}
nav a {
text-decoration: none;
font-family: futura, Avenir Next, Verdana, Geneva, Tahoma, sans-serif;
color: var(--darkblue);
padding: 0 2rem;
}
nav ul {
list-style: none;
display: flex;
justify-content: space-between;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 0;
}
2020-08-28 22:14:28 +02:00
h2 {
font-family: futura, Avenir Next, Verdana, Geneva, Tahoma, sans-serif;
font-size: 3.4rem;
color: var(--darkblue);
}
2020-08-28 22:14:28 +02:00
.beforeTheFold h2 {
max-width: 30rem;
}
.studentZijn {
2020-08-28 22:14:28 +02:00
padding: 4rem 0 2rem 3rem;
}
.scroll {
2020-08-28 22:14:28 +02:00
display: block;
position: absolute;
bottom: 2rem;
left: 0;
right: 0;
margin: auto;
text-align: center;
font-size: 1.4rem;
text-decoration: underline;
color: var(--darkblue);
}
.hidden {
display: none;
}
2020-08-28 22:14:28 +02:00
.quote {
display: flex;
}
.quote img {
width: 103px;
height: 185px;
margin-right: 2rem;
}
.quote p {
max-width: 25rem;
font-size: 1.5rem;
font-family: Avenir Next, Verdana, Geneva, Tahoma, sans-serif;
font-style: italic;
2020-08-28 22:14:28 +02:00
font-weight: 500;
margin: 0.5em 0;
}
2020-08-28 22:14:28 +02:00
.quizSpotlight {
text-align: right;
2020-08-28 22:14:28 +02:00
font-size: 3rem;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
color: var(--lightblue);
}
2020-08-28 22:14:28 +02:00
@media (min-width: 1000px) and (max-width: 1000px) {
.quizSpotlight {
position: absolute;
bottom: 5rem;
right: 0;
}
}
.quizSpotlight a {
text-decoration: none;
color: var(--white);
background-color: var(--lightblue);
padding: 1rem;
}
.aside_blueSquare {
right: 3rem;
height: 100%;
width: 20%;
}
.backgroundSquare {
z-index: -1;
position: absolute;
background-color: var(--cyan);
}
.header_blueSquare {
left: -15rem;
height: 45%;
width: 80%;
opacity: 0.2;
}
.randomVerenigingen p:nth-child(odd) {
-webkit-text-stroke-width: 2px;
-webkit-text-stroke-color: var(--lightblue);
color: transparent;
}
2020-08-28 22:14:28 +02:00
.randomVerenigingen p {
text-transform: uppercase;
}
2020-08-28 22:14:28 +02:00
.underline, .active_link {
padding-bottom: -2rem;
margin-bottom: -2rem;
box-shadow: inset 0 -8px 0 var(--yellow);
2020-08-28 22:14:28 +02:00
}