add internal template styling with pagination
This commit is contained in:
parent
a1e4b64910
commit
568ccb7539
|
@ -12,6 +12,6 @@
|
|||
{{ .Render "summary" }}
|
||||
{{ end }}
|
||||
</section>
|
||||
|
||||
{{ template "_internal/pagination.html" . }}
|
||||
</article>
|
||||
{{ end }}
|
||||
|
|
27
src/css/_hugo-internal-templates.css
Normal file
27
src/css/_hugo-internal-templates.css
Normal file
|
@ -0,0 +1,27 @@
|
|||
/* pagination.html: https://github.com/spf13/hugo/blob/master/tpl/tplimpl/template_embedded.go#L117 */
|
||||
.pagination {
|
||||
margin: 3rem 0;
|
||||
}
|
||||
|
||||
.pagination li {
|
||||
display: inline-block;
|
||||
margin-right: .375rem;
|
||||
font-size: .875rem;
|
||||
margin-bottom: 2.5em;
|
||||
}
|
||||
.pagination li a {
|
||||
padding: .5rem .625rem;
|
||||
background-color: white;
|
||||
color: #333;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 3px;
|
||||
text-decoration: none;
|
||||
}
|
||||
.pagination li.disabled {
|
||||
display: none;
|
||||
}
|
||||
.pagination li.active a:link,
|
||||
.pagination li.active a:active,
|
||||
.pagination li.active a:visited {
|
||||
background-color: #ddd;
|
||||
}
|
|
@ -1,2 +1,3 @@
|
|||
@import '_tachyons';
|
||||
@import '_hugo-internal-templates';
|
||||
@import '_styles';
|
||||
|
|
2
static/dist/main.css
vendored
2
static/dist/main.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue