durfdoen-2.0/content/stylesheets/main.css

214 lines
3.7 KiB
CSS
Raw Normal View History

2020-08-28 22:14:28 +02:00
:root {
2020-08-29 00:10:51 +02:00
--white: hsl(0, 0%, 98%);
2020-08-28 22:14:28 +02:00
--darkblue: #013e7a;
--lightblue: #1a77d3;
--cyan: #aaeeff;
--yellow: #fed318;
}
2020-08-28 22:14:28 +02:00
html, body {
2020-08-29 00:10:51 +02:00
padding: 0;
margin: 0;
}
html {
background: var(--white);
height: 100%;
}
2020-08-28 22:14:28 +02:00
body {
2020-08-29 00:10:51 +02:00
height: 100%;
font-family: futura, Avenir Next, Verdana, Geneva, Tahoma, sans-serif;
}
.align {
margin: 0 auto;
2020-08-28 22:14:28 +02:00
max-width: 1280px;
2020-08-29 00:10:51 +02:00
padding: 0 1em;
}
2020-08-28 22:14:28 +02:00
.beforeTheFold, main {
position: relative;
2020-08-28 22:14:28 +02:00
min-height: 100%;
}
2020-08-29 00:10:51 +02:00
button, input {
font-size: inherit;
font-family: inherit;
color: inherit;
background-color: var(--white);
}
button {
border: 0.15em solid var(--darkblue);
}
input {
border: none;
border-bottom: 0.15em solid var(--darkblue);
padding: 0.1em 0.3em;
}
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-29 00:10:51 +02:00
margin: 4rem 0 2rem 3rem;
margin: 11vh 0 2rem 3rem;
}
.hidden {
display: none;
}
2020-08-28 22:14:28 +02:00
.quote {
2020-08-29 00:10:51 +02:00
margin-top: 3rem;
2020-08-28 22:14:28 +02:00
display: flex;
2020-08-29 00:10:51 +02:00
position: relative;
z-index: 2;
2020-08-28 22:14:28 +02:00
}
.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 {
2020-08-29 00:10:51 +02:00
margin-top: 2rem;
font-size: 2rem;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
}
2020-08-29 00:10:51 +02:00
.quizSpotlight a {
position: relative;
text-decoration: none;
background: var(--white);
color: var(--darkblue);
border: 0.4rem solid var(--darkblue);
padding: 1rem 2rem;
margin-right: 3rem;
}
.quizSpotlight a:hover {
background-color: var(--lightblue);
border: 0.4rem solid var(--lightblue);
color: var(--white);
2020-08-28 22:14:28 +02:00
}
2020-08-29 00:10:51 +02:00
.scroll {
display: block;
position: absolute;
bottom: 0.5rem;
left: 0;
right: 0;
text-align: center;
z-index: 1;
}
.scroll a {
display: inline-block;
color: var(--darkblue);
font-size: 1.1rem;
text-decoration: none;
padding: 0.7rem 1.1rem;
font-weight: 500;
text-shadow:
0 0 1em hsla(0, 0%, 100%, 1),
0 0 1em hsla(0, 0%, 100%, 1),
0 0 0.1em hsla(0, 0%, 100%, 1);
2020-08-28 22:14:28 +02:00
}
2020-08-29 00:10:51 +02:00
.shade {
z-index: -1;
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 7rem;
background: linear-gradient(
hsla(0, 0%, 100%, 0),
hsla(0, 0%, 100%, 0.6)
);
}
.backgroundSquare {
2020-08-29 00:10:51 +02:00
z-index: -2;
position: absolute;
background-color: var(--cyan);
}
2020-08-29 00:10:51 +02:00
.intro {
position: relative;
}
.header_blueSquare {
2020-08-29 00:10:51 +02:00
right: 20%;
left: -1000px;
left: -100vw;
top: -1000px;
top: -100vw;
bottom: -1rem;
opacity: 0.3;
z-index: -3;
}
.header_photo {
background: url(/assets/placeholder.jpg) center center;
background-size: cover;
right: 0;
left: 50%;
bottom: 0;
top: 20%;
}
.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
}