CSS: Make header margins more consistent again

See #681
See #571
This commit is contained in:
George Cushen committed 2018-09-10 19:30:27 +01:00
1 parent 674bb67364
commit 9ee3ade085
6 files changed
+6 -5

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd exampleSite
hugo -t academic --themesDir ../.. -p 1315 --i18n-warnings server
hugo -t "hugo-academic-v3" --themesDir ../.. -p 1315 --i18n-warnings --ignoreCache server
+1 -1
View File
@@ -10,7 +10,7 @@
{{ partial "header_image.html" . }}
<div class="universal-wrapper">
{{ with .Title }}<h1 class="pt-3">{{ . }}</h1>{{ end }}
{{ with .Title }}<h1>{{ . }}</h1>{{ end }}
{{ with .Content }}
<div class="article-style" itemprop="articleBody">{{ . }}</div>
+1
View File
@@ -85,6 +85,7 @@ ul, ol, dl {
h1, h2, h3, h4, h5, h6 {
font-family: '{{ .Get "heading_font" }}', sans-serif;
font-weight: 400;
margin-top: 1rem;
margin-bottom: .5rem;
line-height: 1.25;
color: #313131;
+1 -1
View File
@@ -5,7 +5,7 @@
<div class="universal-wrapper">
<h1 class="pt-3">{{ .Title | default (i18n "posts") }}</h1>
<h1>{{ .Title | default (i18n "posts") }}</h1>
{{ with .Content }}
<div class="article-style" itemprop="articleBody">{{ . }}</div>
+1 -1
View File
@@ -4,7 +4,7 @@
{{ partial "header_image.html" . }}
<div class="universal-wrapper">
<div class="row pt-3">
<div class="row">
<div class="col-lg-12">
<h1>{{ .Title | default (i18n "publications") }}</h1>
+1 -1
View File
@@ -4,7 +4,7 @@
{{ partial "header_image.html" . }}
<div class="universal-wrapper">
<div class="row pt-3">
<div class="row">
<div class="col-lg-12">
<h1>{{ .Title | default (i18n "talks") }}</h1>