durfdoen-2.0/content/stylesheets/main.css

303 lines
4.7 KiB
CSS
Raw Normal View History

2020-08-28 22:14:28 +02:00
:root {
2020-09-05 18:01:24 +02:00
--white: hsl(0, 0%, 98%);
--darkblue: #013e7a;
--lightblue: #1a77d3;
--cyan: hsl(192, 100%, 83%);
--lightCyan: hsl(192, 100%, 94%);
--yellow: #fed318;
}
2020-09-05 18:01:24 +02:00
html,
body {
padding: 0;
margin: 0;
2020-08-29 00:10:51 +02:00
}
html {
2020-09-05 18:01:24 +02:00
background: var(--white);
height: 100%;
}
2020-08-28 22:14:28 +02:00
body {
2020-09-05 18:01:24 +02:00
height: 100%;
font-family: futura, Avenir Next, Verdana, Geneva, Tahoma, sans-serif;
2020-08-29 00:10:51 +02:00
}
.align {
2020-09-05 18:01:24 +02:00
margin: 0 auto;
max-width: 1280px;
padding: 0 1em;
}
2020-09-06 20:41:54 +02:00
.align .large {
max-width: 1500px;
}
2020-09-05 18:01:24 +02:00
.beforeTheFold,
main {
position: relative;
min-height: 100%;
}
2020-09-05 18:01:24 +02:00
button,
input {
font-size: inherit;
font-family: inherit;
color: inherit;
background-color: transparent;
2020-08-29 00:10:51 +02:00
}
button {
2020-09-05 18:01:24 +02:00
border: 0.15em solid var(--darkblue);
2020-08-29 00:10:51 +02:00
}
input {
2020-09-05 18:01:24 +02:00
border: none;
border-bottom: 0.15em solid var(--darkblue);
padding: 0.1em 0.3em;
2020-08-29 00:10:51 +02:00
}
header {
2020-09-05 18:01:24 +02:00
position: relative;
background-color: var(--lightCyan);
}
header.homepage {
2020-09-05 18:01:24 +02:00
background-color: transparent;
}
nav a {
2020-09-05 18:01:24 +02:00
text-decoration: none;
font-family: futura, Avenir Next, Verdana, Geneva, Tahoma, sans-serif;
color: var(--darkblue);
padding: 1rem 2rem;
margin: 0 1rem;
}
nav ul {
2020-09-05 18:01:24 +02:00
list-style: none;
justify-content: space-between;
}
nav li {
2020-09-05 18:01:24 +02:00
display: inline-block;
}
nav {
2020-09-05 18:01:24 +02:00
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 0;
}
header .logo {
2020-09-05 18:01:24 +02:00
width: 79px;
height: 83px;
}
2020-08-28 22:14:28 +02:00
h2 {
2020-09-05 18:01:24 +02:00
font-family: futura, Avenir Next, Verdana, Geneva, Tahoma, sans-serif;
font-size: 3.4rem;
color: var(--darkblue);
}
2020-09-06 20:41:54 +02:00
2020-08-28 22:14:28 +02:00
.beforeTheFold h2 {
2020-09-05 18:01:24 +02:00
max-width: 30rem;
2020-08-28 22:14:28 +02:00
}
.intro {
2020-09-05 18:01:24 +02:00
position: relative;
}
.studentZijn {
2020-09-05 18:01:24 +02:00
margin: 4rem 0 2rem 3rem;
margin: 11vh 0 2rem 3rem;
}
.hidden {
2020-09-05 18:01:24 +02:00
display: none;
}
2020-08-28 22:14:28 +02:00
.quote {
2020-09-05 18:01:24 +02:00
margin-top: 3rem;
display: flex;
position: relative;
z-index: 2;
2020-08-28 22:14:28 +02:00
}
.quote img {
2020-09-05 18:01:24 +02:00
width: 103px;
height: 185px;
margin-right: 2rem;
2020-08-28 22:14:28 +02:00
}
.quote p {
2020-09-05 18:01:24 +02:00
max-width: 25rem;
font-size: 1.5rem;
font-family: Avenir Next, Verdana, Geneva, Tahoma, sans-serif;
font-style: italic;
font-weight: 500;
margin: 0.5em 0;
}
2020-08-28 22:14:28 +02:00
.quizSpotlight {
2020-09-05 18:01:24 +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 {
2020-09-05 18:01:24 +02:00
position: relative;
text-decoration: none;
background: var(--white);
color: var(--darkblue);
border: 0.4rem solid var(--darkblue);
padding: 1rem 2rem;
margin-right: 3rem;
2020-08-29 00:10:51 +02:00
}
.quizSpotlight a:hover {
2020-09-05 18:01:24 +02:00
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 {
2020-09-05 18:01:24 +02:00
display: block;
position: absolute;
bottom: 0.5rem;
left: 0;
right: 0;
text-align: center;
z-index: 1;
2020-08-29 00:10:51 +02:00
}
.scroll a {
2020-09-05 18:01:24 +02:00
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 {
2020-09-05 18:01:24 +02:00
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-09-05 18:01:24 +02:00
z-index: -2;
position: absolute;
background-color: var(--lightCyan);
2020-08-29 00:10:51 +02:00
}
.header_blueSquare {
2020-09-05 18:01:24 +02:00
right: 20%;
left: -1000px;
left: -100vw;
top: -1000px;
top: -100vw;
bottom: -1rem;
2020-08-29 00:10:51 +02:00
2020-09-05 18:01:24 +02:00
z-index: -3;
2020-08-29 00:10:51 +02:00
}
.header_photo {
2020-09-05 18:01:24 +02:00
background: url(/assets/placeholder.jpg) center center;
background-size: cover;
right: 0;
left: 50%;
bottom: 0;
top: 20%;
}
.randomVerenigingen p:nth-child(odd) {
2020-09-05 18:01:24 +02:00
-webkit-text-stroke-width: 2px;
-webkit-text-stroke-color: var(--lightblue);
color: transparent;
}
2020-08-28 22:14:28 +02:00
.randomVerenigingen p {
2020-09-05 18:01:24 +02:00
text-transform: uppercase;
}
.underline,
.active_link {
box-shadow: inset 0 -0.15em 0 var(--yellow);
}
#postcodeField {
-webkit-appearance: none;
margin: 0;
}
#postcodeField::-webkit-outer-spin-button,
#postcodeField::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
2020-09-05 18:01:24 +02:00
/* Firefox */
#postcodeField[type="number"] {
-moz-appearance: textfield;
2020-08-28 22:14:28 +02:00
}
fieldset {
2020-09-10 00:28:10 +02:00
max-height: 60vh;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
overflow-y: auto;
margin: auto;
}
2020-09-06 20:41:54 +02:00
fieldset p label {
display: flex;
}
fieldset p {
2020-09-10 00:28:10 +02:00
margin: 15px 10px;
}
fieldset p label input {
2020-09-10 00:28:10 +02:00
margin-right: 10px;
}
.buttons {
width: 70%;
margin: 20px auto;
display: flex;
justify-content: space-between;
}
.link {
display: grid;
grid-template-columns: minmax(min-content, 20%) 80%;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
margin: 30px auto;
gap: 20px;
}
.link:hover {
cursor: pointer;
}
2020-09-10 00:28:10 +02:00
.link__img {
justify-self: center;
align-self: center;
min-width: 100px;
}
@media only screen and (max-width: 400px) {
.link {
grid-template-columns: auto;
}
}