mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-31 23:08:24 -04:00
Merge 46b957095a
into 7cf752f864
This commit is contained in:
commit
8a10f36ab8
2 changed files with 37 additions and 1 deletions
|
@ -91,3 +91,27 @@ body:not(.dark) #sun {
|
|||
.logo-switches {
|
||||
flex-wrap: inherit;
|
||||
}
|
||||
|
||||
.sub-menu {
|
||||
position: absolute;
|
||||
visibility: hidden;
|
||||
list-style: none;
|
||||
z-index: 10;
|
||||
border-radius: var(--radius);
|
||||
padding: 0 15px;
|
||||
background-color: var(--code-bg);
|
||||
border: 1px solid var(--tertiary);
|
||||
}
|
||||
|
||||
.sub-menu a:hover {
|
||||
text-shadow: 0px 0px 1px currentColor;
|
||||
}
|
||||
|
||||
.menu-item:hover .sub-menu {
|
||||
visibility: visible;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.sub-menu:hover {
|
||||
visibility: visible;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue