1
Fork 0

Remove inline styles on header

This commit is contained in:
Jake Howard 2017-10-25 13:52:52 +01:00
parent 518d7eed5d
commit 4a5194037a
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,5 @@
{{ define "main" }} {{ define "main" }}
<header id="index-header" class="d-flex align-items-center" style="height: 90vh; background-image: url('/img/header.jpg')"> <header id="index-header" class="d-flex align-items-center">
<div class="text-center m-auto text-light"> <div class="text-center m-auto text-light">
<h1 class="display-1">{{ .Title }}</h1> <h1 class="display-1">{{ .Title }}</h1>
<p class="lead">{{ .RawContent }}</p> <p class="lead">{{ .RawContent }}</p>

View file

@ -97,6 +97,11 @@ table td {
background-color: #000; background-color: #000;
} }
#index-header {
height: 90vh;
background-image: url('/img/header.jpg')
}
footer { footer {
color: $gray-700; color: $gray-700;
a { a {