fix headers

This commit is contained in:
Robert Kaussow 2018-12-22 23:40:39 +01:00
parent b1dec7878f
commit e953cb9938
6 changed files with 18 additions and 9 deletions

View File

@ -3,7 +3,7 @@
{{ range $paginator.Pages }}
<article class="post">
<header class="post-header">
<h2 class="post-header__title"><a class="post-header__link" href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
<h1 class="post-header__title"><a class="post-header__link" href="{{ .RelPermalink }}">{{ .Title }}</a></h1>
</header>
<section class="post-content">

View File

@ -1,7 +1,7 @@
{{ define "main" }}
<article class="post">
<header class="post-header">
<h2 class="post-header__title">{{ .Title }}</h2>
<h1 class="post-header__title">{{ .Title }}</h1>
</header>
<section class="post-content">
{{ .Content }}

View File

@ -145,8 +145,10 @@ html{
.post-header__link:hover{
text-decoration: underline;
}
.post-header__title {
.post-header__title,
.post-content h1 {
font-weight: normal;
font-size: 1.6em;
}
.post-content__link {

View File

@ -9,8 +9,11 @@
text-decoration:none;
}
.post-content h1,
.post-content h2,
.post-content h2 {
font-weight: normal;
font-size: 1.35em
}
.post-content h3,
.post-content h4,
.post-content h5,

View File

@ -139,8 +139,10 @@ html {
.post-header__link:hover {
text-decoration: underline
}
.post-content h1,
.post-header__title {
font-weight: 400
font-weight: 400;
font-size: 1.6em
}
.post-content__link {
color: #0a539a;
@ -591,8 +593,10 @@ all and (max-width:710px) {
color: #fff;
text-decoration: none
}
.post-content h1,
.post-content h2,
.post-content h2 {
font-weight: 400;
font-size: 1.35em
}
.post-content h3,
.post-content h4,
.post-content h5,

File diff suppressed because one or more lines are too long