summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-09-20 19:03:43 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-09-20 19:03:43 +0530
commit6770e5e552bc367181f3786169e614683fadeb16 (patch)
tree17d5998ae1bde83971ab6cc18964641ed7d36cbc /assets
parent46a092553ad84160446baa5557b68ab6f7cf4c59 (diff)
menu : add menu location indicator
credits for fix with [.IsMenuCurrent](https://gohugo.io/functions/ismenucurrent/): https://stackoverflow.com/a/56454338
Diffstat (limited to 'assets')
-rw-r--r--assets/css/header.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/assets/css/header.css b/assets/css/header.css
index 0263bd3..e12814d 100644
--- a/assets/css/header.css
+++ b/assets/css/header.css
@@ -38,4 +38,9 @@
.menu a {
font-size: 16px;
+}
+
+.menu .active {
+ font-weight: 500;
+ border-bottom: 2px solid currentColor;
} \ No newline at end of file