aboutsummaryrefslogtreecommitdiff
path: root/styles
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-30 14:54:22 +0200
committerlonkaars <l.leblansch@gmail.com>2021-03-30 14:54:22 +0200
commitf75e45311ff48d14aa28ae6899a13b26b751c005 (patch)
tree503923c32d552a814c89b50958bbf4ea65f8c52b /styles
parent8798e98cf0ebc3653366566ad6d114a021f5a757 (diff)
pinned posts on homepage working
Diffstat (limited to 'styles')
-rw-r--r--styles/navbar.css13
1 files changed, 11 insertions, 2 deletions
diff --git a/styles/navbar.css b/styles/navbar.css
index 7e66aa3..2e10091 100644
--- a/styles/navbar.css
+++ b/styles/navbar.css
@@ -35,12 +35,13 @@
.navbarItem.indentLevel0 { margin-bottom: 12px; }
.navbarItem.active .inner,
-.navbarItem:not(.chapter):hover .inner {
+.navbarItem.link:hover .inner {
background-color: var(--heliotrope-gray);
color: var(--oxford-blue);
}
-.navbarItem.chapter .inner {
+.navbarItem.chapter .inner,
+.navbarItem.pinned .inner {
background-color: transparent;
color: var(--fg);
@@ -48,6 +49,14 @@
overflow: visible;
}
+.navbarItem.pinned .inner .title {
+ margin: 0;
+ font-style: italic;
+ opacity: .8;
+ color: var(--heliotrope-gray)
+}
+.navbarItem.pinned * { cursor: default !important; }
+
.navbarItem .title {
vertical-align: top;
margin-left: 8px;