Move list styles to main.css
This commit is contained in:
parent
c4ef9dead1
commit
ab7c6df152
4 changed files with 33 additions and 40 deletions
|
@ -1,33 +0,0 @@
|
|||
/* posts/style.css
|
||||
* Eryn Wells <eryn@erynwells.me>
|
||||
*/
|
||||
|
||||
.post-list h1,
|
||||
.post-list h2,
|
||||
.post-list h3,
|
||||
.post-list h4,
|
||||
.post-list h5,
|
||||
.post-list h6 {
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.post-list h2 {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
.post-list li + li {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
.post-list time {
|
||||
display: inline-block;
|
||||
margin-left: 1rem;
|
||||
}
|
||||
|
||||
.post-list article {
|
||||
color: gray;
|
||||
font-style: oblique;
|
||||
font-size: 1.8rem;
|
||||
margin-top: 0.5rem;
|
||||
}
|
|
@ -1,8 +1,7 @@
|
|||
{{ define "main" }}
|
||||
|
||||
<!-- Main Title -->
|
||||
{{ define "main" }}
|
||||
{{ if .Title }}
|
||||
<h1 class="main-title">{{ .Title }}</h1>
|
||||
<h2 class="main-title">{{ .Title }}</h2>
|
||||
{{ end }}
|
||||
|
||||
{{ $pages := union .RegularPages .Sections }}
|
||||
|
@ -41,6 +40,5 @@
|
|||
<a class="next" href="{{ $paginator.Next.URL }}">{{ i18n "next_page" }} →</a>
|
||||
{{ end }}
|
||||
</nav>
|
||||
{{ end }}<!---->
|
||||
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
|
@ -40,10 +40,8 @@
|
|||
<link rel="icon" href="{{ `favicon.ico` | absURL }}">
|
||||
<link rel="apple-touch-icon" href="{{ `apple-touch-icon.png` | absURL }}">
|
||||
|
||||
<!-- Generator -->
|
||||
{{ hugo.Generator }}
|
||||
|
||||
<!-- RSS -->
|
||||
{{ range .AlternativeOutputFormats }}
|
||||
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink }}" title="{{ site.Title }}">
|
||||
{{ end }}
|
||||
|
|
|
@ -240,6 +240,36 @@ p {
|
|||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.post-list h1,
|
||||
.post-list h2,
|
||||
.post-list h3,
|
||||
.post-list h4,
|
||||
.post-list h5,
|
||||
.post-list h6 {
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.post-list h2 {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
.post-list li + li {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
.post-list time {
|
||||
display: inline-block;
|
||||
margin-left: 1rem;
|
||||
}
|
||||
|
||||
.post-list article {
|
||||
color: gray;
|
||||
font-style: oblique;
|
||||
font-size: 1.8rem;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.post-nav {
|
||||
align-items: baseline;
|
||||
display: flex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue