aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Dessaux2021-08-16 12:44:18 +0200
committerJulien Dessaux2021-08-16 12:44:18 +0200
commit8f6e0198216821172ef82adf021f11b8510b4ef2 (patch)
treefb75fc391e4b88bce4c92032cf47839bd28e05ce
parentSwitched to a solarized color scheme (diff)
downloadwww-8f6e0198216821172ef82adf021f11b8510b4ef2.tar.gz
www-8f6e0198216821172ef82adf021f11b8510b4ef2.tar.bz2
www-8f6e0198216821172ef82adf021f11b8510b4ef2.zip
Tweaked the new solarized css
Diffstat (limited to '')
-rw-r--r--assets/header.css3
-rw-r--r--layouts/partials/pagination.html2
2 files changed, 4 insertions, 1 deletions
diff --git a/assets/header.css b/assets/header.css
index 5e45df4..4904b64 100644
--- a/assets/header.css
+++ b/assets/header.css
@@ -18,6 +18,9 @@ header nav ul li a {
padding: 14px 16px;
text-decoration: none;
}
+header nav ul li a:hover {
+ background-color: #073642;
+}
.nav-menu-active {
background-color: #073642;
}
diff --git a/layouts/partials/pagination.html b/layouts/partials/pagination.html
index e2724ec..ec899fd 100644
--- a/layouts/partials/pagination.html
+++ b/layouts/partials/pagination.html
@@ -7,7 +7,7 @@
</li>
{{ end -}}
{{- range $pag.Pagers -}}
- <li{{ if eq . $pag }} class="pagination-active"{{ end }}>
+ <li {{ if eq . $pag }}class="pagination-active"{{ else }}class="pagination-enabled"{{ end }}>
<a href="{{ .URL }}">{{ .PageNumber }}</a>
</li>
{{- end }}