Fix index page header size

This commit is contained in:
Mikko Ahlroth 2017-08-21 19:36:41 +03:00
parent 20b97a38e4
commit 2e0ab70d17
2 changed files with 6 additions and 2 deletions

View file

@ -22,7 +22,7 @@
<section class="splash-container event-splash"> <section class="splash-container event-splash">
</section> </section>
<main class="content-wrapper"> <main class="content-wrapper event-content">
<section id="event" class="content contentpadding"> <section id="event" class="content contentpadding">
<h2 class="content-head is-center">1<sup>st</sup> event 21.9.2017</h2> <h2 class="content-head is-center">1<sup>st</sup> event 21.9.2017</h2>

View file

@ -194,13 +194,17 @@ a.pure-button-primary {
.content-wrapper { .content-wrapper {
/* These styles are required for the "scroll-over" effect */ /* These styles are required for the "scroll-over" effect */
position: absolute; position: absolute;
top: 400px; top: 87%;
width: 100%; width: 100%;
min-height: 12%; min-height: 12%;
z-index: 2; z-index: 2;
background: white; background: white;
} }
.content-wrapper.event-content {
top: 400px;
}
/* We want to give the content area some more padding */ /* We want to give the content area some more padding */
.content { .content {
padding: 1em 1em 3em; padding: 1em 1em 3em;