menu : add menu location indicator
credits for fix with [.IsMenuCurrent](https://gohugo.io/functions/ismenucurrent/): https://stackoverflow.com/a/56454338
This commit is contained in:
parent
46a092553a
commit
6770e5e552
3 changed files with 14 additions and 4 deletions
|
|
@ -38,4 +38,9 @@
|
|||
|
||||
.menu a {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.menu .active {
|
||||
font-weight: 500;
|
||||
border-bottom: 2px solid currentColor;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue