Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/devcows/hugo-universal-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalim B <salim@posteo.de>2019-11-07 19:57:57 +0300
committerGuillermo Guerrero Ibarra <wolf.fox1985@gmail.com>2019-11-07 19:57:57 +0300
commit768e1973c203e7c81bf27827c881a6e797d731c2 (patch)
tree5c1b236ab5aaad0f75eec92b18d35df13d488f45 /static/css/style.blue.css
parent70e126db56f8eb36a65617415e20cc40fbf1695e (diff)
extend navigation highlighting to taxonomy list pages (#220)
This adds the same kind of navigation highlighting as the PRs #191 and #211 when on [taxonomy list pages](https://gohugo.io/content-management/taxonomies/#default-destinations) (e.g. `/categories/programming/` or `/tags/hugo/`), i.e. the selected tag or category will be highlighted in the color of the chosen style (default, blue, green, etc.)
Diffstat (limited to 'static/css/style.blue.css')
-rw-r--r--static/css/style.blue.css9
1 files changed, 8 insertions, 1 deletions
diff --git a/static/css/style.blue.css b/static/css/style.blue.css
index 31e8a66..697579b 100644
--- a/static/css/style.blue.css
+++ b/static/css/style.blue.css
@@ -983,12 +983,19 @@ fieldset[disabled] .btn-template-primary.active {
letter-spacing: 0.08em;
font-weight: 700;
font-size: 12px;
+ text-decoration: none;
}
.panel.sidebar-menu ul.tag-cloud li a:hover {
color: #467fbf;
- text-decoration: none;
border-color: #467fbf;
}
+.panel.sidebar-menu ul.tag-cloud li.active a {
+ color: #FFFFFF;
+ background-color: #467fbf;
+}
+.panel.sidebar-menu ul.tag-cloud li.active a:hover {
+ color: #FFFFFF;
+}
.panel.sidebar-menu ul.popular,
.panel.sidebar-menu ul.recent {
list-style: none;