mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-31 06:48:24 -04:00
nav-label: init
* label can be set differently from title * label can have an optional icon with preffered size * in site config => params: label: text: "Home" icon: /apple-touch-icon.png iconHeight: 35
This commit is contained in:
parent
db52aa9942
commit
3edc160c59
2 changed files with 18 additions and 3 deletions
|
@ -25,6 +25,15 @@
|
|||
font-weight: 700;
|
||||
}
|
||||
|
||||
.logo a img {
|
||||
display: inline;
|
||||
vertical-align: middle;
|
||||
pointer-events: none;
|
||||
transform: translate(0, -10%);
|
||||
border-radius: 6px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.theme-toggle svg{
|
||||
height: 18px;
|
||||
margin: 0 10px;
|
||||
|
@ -57,4 +66,4 @@ body:not(.dark) #sun {
|
|||
.menu .active {
|
||||
font-weight: 500;
|
||||
border-bottom: 2px solid currentColor;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue