mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-04-29 14:46:39 +00:00
tree: the extra mile - use rem instead of px #1067
This commit is contained in:
parent
d93aad133c
commit
3210717a61
2 changed files with 11 additions and 11 deletions
|
@ -1779,16 +1779,16 @@ html[dir='rtl'] .expand[open] > .box-label > i.expander-icon {
|
|||
color: var(--INTERNAL-MAIN-TEXT-color);
|
||||
margin-bottom: 0;
|
||||
margin-inline-end: 0;
|
||||
margin-inline-start: 8px;
|
||||
margin-inline-start: 0.5rem;
|
||||
margin-top: 0;
|
||||
padding-bottom: 0;
|
||||
padding-inline-end: 12px;
|
||||
padding-inline-start: 20px;
|
||||
padding-inline-end: 0.75rem;
|
||||
padding-inline-start: 1.25rem;
|
||||
padding-top: 0;
|
||||
position: relative;
|
||||
}
|
||||
.list-tree > ul > li {
|
||||
margin-inline-start: calc(-1rem + 8px);
|
||||
margin-inline-start: calc(-0.5rem);
|
||||
}
|
||||
|
||||
.list-tree li::before,
|
||||
|
@ -1803,8 +1803,8 @@ html[dir='rtl'] .expand[open] > .box-label > i.expander-icon {
|
|||
.list-tree li::before {
|
||||
border-top: 2px solid var(--INTERNAL-MAIN-TEXT-color);
|
||||
height: 0;
|
||||
top: 11px;
|
||||
width: 15px;
|
||||
top: 0.75rem;
|
||||
width: 1rem;
|
||||
}
|
||||
|
||||
/* vertical line on list items */
|
||||
|
@ -1812,17 +1812,17 @@ html[dir='rtl'] .expand[open] > .box-label > i.expander-icon {
|
|||
.list-tree li:after {
|
||||
border-left: 2px solid var(--INTERNAL-MAIN-TEXT-color);
|
||||
height: 100%;
|
||||
top: -8px;
|
||||
width: 0px;
|
||||
top: -0.5rem;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.list-tree ul:last-child li:last-child:after {
|
||||
height: 20px;
|
||||
height: 1.25rem;
|
||||
}
|
||||
|
||||
.list-tree i {
|
||||
color: var(--INTERNAL-PRIMARY-color);
|
||||
margin-inline-end: 3px;
|
||||
margin-inline-end: 0.25rem;
|
||||
}
|
||||
|
||||
/* icons with style attribute */
|
||||
|
|
|
@ -1 +1 @@
|
|||
7.5.0+42ccc9d636add605d68ed4bb22dc86aa90ae7241
|
||||
7.5.0+d93aad133c2fcc9455101bb698f3ea2f614f455f
|
Loading…
Add table
Add a link
Reference in a new issue