fix headers
This commit is contained in:
parent
b1dec7878f
commit
e953cb9938
|
@ -3,7 +3,7 @@
|
||||||
{{ range $paginator.Pages }}
|
{{ range $paginator.Pages }}
|
||||||
<article class="post">
|
<article class="post">
|
||||||
<header class="post-header">
|
<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>
|
</header>
|
||||||
|
|
||||||
<section class="post-content">
|
<section class="post-content">
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<article class="post">
|
<article class="post">
|
||||||
<header class="post-header">
|
<header class="post-header">
|
||||||
<h2 class="post-header__title">{{ .Title }}</h2>
|
<h1 class="post-header__title">{{ .Title }}</h1>
|
||||||
</header>
|
</header>
|
||||||
<section class="post-content">
|
<section class="post-content">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
|
|
@ -145,8 +145,10 @@ html{
|
||||||
.post-header__link:hover{
|
.post-header__link:hover{
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
.post-header__title {
|
.post-header__title,
|
||||||
|
.post-content h1 {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
font-size: 1.6em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-content__link {
|
.post-content__link {
|
||||||
|
|
|
@ -9,8 +9,11 @@
|
||||||
text-decoration:none;
|
text-decoration:none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-content h1,
|
.post-content h2 {
|
||||||
.post-content h2,
|
font-weight: normal;
|
||||||
|
font-size: 1.35em
|
||||||
|
}
|
||||||
|
|
||||||
.post-content h3,
|
.post-content h3,
|
||||||
.post-content h4,
|
.post-content h4,
|
||||||
.post-content h5,
|
.post-content h5,
|
||||||
|
|
|
@ -139,8 +139,10 @@ html {
|
||||||
.post-header__link:hover {
|
.post-header__link:hover {
|
||||||
text-decoration: underline
|
text-decoration: underline
|
||||||
}
|
}
|
||||||
|
.post-content h1,
|
||||||
.post-header__title {
|
.post-header__title {
|
||||||
font-weight: 400
|
font-weight: 400;
|
||||||
|
font-size: 1.6em
|
||||||
}
|
}
|
||||||
.post-content__link {
|
.post-content__link {
|
||||||
color: #0a539a;
|
color: #0a539a;
|
||||||
|
@ -591,8 +593,10 @@ all and (max-width:710px) {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-decoration: none
|
text-decoration: none
|
||||||
}
|
}
|
||||||
.post-content h1,
|
.post-content h2 {
|
||||||
.post-content h2,
|
font-weight: 400;
|
||||||
|
font-size: 1.35em
|
||||||
|
}
|
||||||
.post-content h3,
|
.post-content h3,
|
||||||
.post-content h4,
|
.post-content h4,
|
||||||
.post-content h5,
|
.post-content h5,
|
||||||
|
|
File diff suppressed because one or more lines are too long
Reference in New Issue