aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/tabbar.css.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/partials/tabbar.css.html')
-rw-r--r--themes/default/layouts/partials/tabbar.css.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/themes/default/layouts/partials/tabbar.css.html b/themes/default/layouts/partials/tabbar.css.html
new file mode 100644
index 0000000..44a10a4
--- /dev/null
+++ b/themes/default/layouts/partials/tabbar.css.html
@@ -0,0 +1,14 @@
+{{- $hash := or .Hash "" -}}
+{{- $pageContext := .Context -}}
+
+tab-bar a[href$="{{- $pageContext.RelPermalink -}}"],
+tab-bar a[href$="{{- print $pageContext.RelPermalink $hash -}}"] {
+ opacity: 1;
+ color: #111;
+ color: var(--foreground);
+ font-weight: 700;
+ text-decoration-color: #014cc6;
+ text-decoration-color: var(--link);
+ text-decoration: underline;
+ border-bottom: 2px solid var(--background);
+}