bunch o' tresh

This commit is contained in:
りき萌 2023-08-27 19:40:47 +02:00
parent e43d612e3d
commit 06d99bf556
9 changed files with 80 additions and 13 deletions

View file

@ -11,7 +11,7 @@
--tree-icon-space: 28px;
/* I have no clue why this works, deal with it */
--tree-hover-expansion: 0.01px;
--tree-hover-expansion: 6px;
position: relative;
}
@ -21,6 +21,11 @@
cursor: pointer;
}
/* Can webkit not be a dick for once? */
.tree details>summary::-webkit-details-marker {
display: none;
}
.tree li {
list-style: none;
@ -80,6 +85,8 @@
background-position: var(--tree-icon-position);
padding-left: var(--tree-icon-space);
margin-left: calc(- var(--tree-icon-space));
padding-top: var(--tree-hover-expansion);
padding-bottom: var(--tree-hover-expansion);
}
.tree details[open]>summary {