mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
menu: fix style for non-main submenus #423
This commit is contained in:
parent
9797e071ae
commit
40a55a3e52
2 changed files with 10 additions and 4 deletions
|
@ -2312,7 +2312,7 @@ article ul > li > input[type="checkbox"]:checked::before {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
#R-sidebar ul.space > li > * {
|
#R-sidebar ul.space li > * {
|
||||||
padding-bottom: .125rem;
|
padding-bottom: .125rem;
|
||||||
padding-top: .125rem;
|
padding-top: .125rem;
|
||||||
}
|
}
|
||||||
|
@ -2682,12 +2682,18 @@ body #R-logo svg * {
|
||||||
border-inline-end-color: var(--INTERNAL-MENU-SECTION-ACTIVE-CATEGORY-BORDER-color);
|
border-inline-end-color: var(--INTERNAL-MENU-SECTION-ACTIVE-CATEGORY-BORDER-color);
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
padding-bottom: calc( .25rem - var(--bpx1)*1px);
|
|
||||||
padding-left: calc( 1rem - var(--bpx1)*1px);
|
padding-left: calc( 1rem - var(--bpx1)*1px);
|
||||||
padding-right: calc( 1rem - var(--bpx1)*1px);
|
padding-right: calc( 1rem - var(--bpx1)*1px);
|
||||||
padding-top: calc( .25rem - var(--bpx1)*1px);
|
|
||||||
width: calc(100% + var(--bpx1)*1px);
|
width: calc(100% + var(--bpx1)*1px);
|
||||||
}
|
}
|
||||||
|
#R-sidebar ul.morespace.collapsible-menu li.active > a{
|
||||||
|
padding-bottom: calc( .25rem - var(--bpx1)*1px);
|
||||||
|
padding-top: calc( .25rem - var(--bpx1)*1px);
|
||||||
|
}
|
||||||
|
#R-sidebar ul.space.collapsible-menu li.active > a{
|
||||||
|
padding-bottom: calc( .125rem - var(--bpx1)*1px);
|
||||||
|
padding-top: calc( .125rem - var(--bpx1)*1px);
|
||||||
|
}
|
||||||
|
|
||||||
#R-menu-footer {
|
#R-menu-footer {
|
||||||
padding-bottom: 1rem;
|
padding-bottom: 1rem;
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
7.0.1+0938e8bd2e8bce8d47586b5c26e306892fcb70a9
|
7.0.1+9797e071ae2d359be854f02d76ac3a9e8cd22f72
|
Loading…
Reference in a new issue