Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
color: $body-bg;
}
-html, body {
- height: 100%;
-}
-
body {
display: flex;
+ min-height: 100vh;
flex-flow: column;
}
}
}
+header {
+ &.cover {
+ position: relative;
+ width: 100%;
+ height: auto;
+ min-height: 35rem;
+
+ @include media-breakpoint-up(lg) {
+ height: calc(100vh - #{$navbar-height});
+ }
+ }
+}
+
footer {
margin-top: auto;
line-height: $display-line-height;
}
}
-
- &.intro {
- padding: 0;
-
- min-height: 100%;
- min-height: 100vh;
-
- margin-top: -$navbar-height;
-
- @include media-breakpoint-down(sm) {
- padding-top: $navbar-height;
- }
- }
}
.blog-post {
{% block title %}{{ _("Welcome to IPFire") }}{% end block %}
{% block container %}
- <section class="intro d-flex align-items-center">
- <div class="container">
- <div class="row flex-md-row-reverse">
+ <header class="cover">
+ <div class="container d-flex h-100 align-items-center">
+ <div class="row w-100 flex-md-row-reverse">
<div class="col-12 col-md-5 my-5 text-center">
<img class="img-fluid" src="{{ static_url("img/ipfire-tux.png") }}" alt="IPFire Logo" />
</div>
</div>
</div>
</div>
- </section>
+ </header>
<section class="inverse">
<div class="container">