Skip to content

Commit

Permalink
CSS: Make header margins more consistent again
Browse files Browse the repository at this point in the history
See #681
See #571
  • Loading branch information
gcushen committed Sep 10, 2018
1 parent 674bb67 commit 9ee3ade
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion demo.sh
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions layouts/partials/css/academic.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion layouts/section/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion layouts/section/publication.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
2 changes: 1 addition & 1 deletion layouts/section/talk.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit 9ee3ade

Please sign in to comment.