diff --git a/content/assets/placeholder.jpg b/content/assets/placeholder.jpg
new file mode 100644
index 0000000..492b401
Binary files /dev/null and b/content/assets/placeholder.jpg differ
diff --git a/content/stylesheets/main.css b/content/stylesheets/main.css
index 5c99297..b25ed60 100644
--- a/content/stylesheets/main.css
+++ b/content/stylesheets/main.css
@@ -1,5 +1,5 @@
:root {
- --white: #ffffff;
+ --white: hsl(0, 0%, 98%);
--darkblue: #013e7a;
--lightblue: #1a77d3;
--cyan: #aaeeff;
@@ -7,21 +7,46 @@
}
html, body {
+ padding: 0;
+ margin: 0;
+}
+
+html {
+ background: var(--white);
height: 100%;
}
body {
- margin: 0 auto;
- padding: 0 1em;
- max-width: 1280px;
+ height: 100%;
font-family: futura, Avenir Next, Verdana, Geneva, Tahoma, sans-serif;
}
+.align {
+ margin: 0 auto;
+ max-width: 1280px;
+ padding: 0 1em;
+}
+
.beforeTheFold, main {
position: relative;
min-height: 100%;
}
+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;
@@ -52,20 +77,8 @@ h2 {
}
.studentZijn {
- padding: 4rem 0 2rem 3rem;
-}
-
-.scroll {
- 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);
+ margin: 4rem 0 2rem 3rem;
+ margin: 11vh 0 2rem 3rem;
}
.hidden {
@@ -73,7 +86,10 @@ h2 {
}
.quote {
+ margin-top: 3rem;
display: flex;
+ position: relative;
+ z-index: 2;
}
.quote img {
width: 103px;
@@ -91,45 +107,91 @@ h2 {
}
.quizSpotlight {
- text-align: right;
- font-size: 3rem;
+ margin-top: 2rem;
+ font-size: 2rem;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
- color: var(--lightblue);
-}
-
-@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;
+ 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);
}
-.aside_blueSquare {
- right: 3rem;
- height: 100%;
- width: 20%;
+.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);
+}
+
+.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 {
- z-index: -1;
+ z-index: -2;
position: absolute;
background-color: var(--cyan);
}
+.intro {
+ position: relative;
+}
+
.header_blueSquare {
- left: -15rem;
- height: 45%;
- width: 80%;
- opacity: 0.2;
+ 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%;
}
diff --git a/layouts/homepage.erb b/layouts/homepage.erb
index 80927ad..f4b546e 100644
--- a/layouts/homepage.erb
+++ b/layouts/homepage.erb
@@ -1,49 +1,46 @@
-
-
-
+
<%= render '/partials/navbar.*' %>
-
+
+
+
Durf Doen
-
- Student zijn is
- meer dan studeren
-
+
+
+
+ Student zijn is
+ meer dan studeren
+
+
Durf Doen wil jou de vereniging laten kennen die je op het lijf geschreven is.
-
Btw Facebook is onethisch. Geef ze geen geld.
+
Btw geef Facebook geen geld pls :(
+
-
-
+
- <%= yield %>
-
-
- Doe hier de test
- Wil je weten welke studentenclub, werkgroep of kring het beste bij jou past? Ontdek het
-
-
- Random Verenigingen
+ Uitgelichte vereniging
- <% for vereniging in verenigingen_random(6) %>
+ <% for vereniging in verenigingen_random(1) %>
<%= vereniging["naam"] %>
<% end %>
diff --git a/layouts/partials/navbar.erb b/layouts/partials/navbar.erb
index 9c2a474..647ea76 100644
--- a/layouts/partials/navbar.erb
+++ b/layouts/partials/navbar.erb
@@ -15,8 +15,6 @@
-
-
-
+