style tweaks for bg / padding of toc / listing / nav

This commit is contained in:
outfoxxed 2024-10-17 20:22:14 -07:00
parent 15a61fd4bd
commit 36adc42e60
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
4 changed files with 27 additions and 18 deletions

View file

@ -50,30 +50,31 @@
z-index: 21;
& .types-item {
margin-block: 10px;
margin-block: 0.1rem;
width: 100%;
transition: background-color 0.3s;
padding: 0.117rem;
padding-left: 0.338rem;
padding-left: 0.3rem;
border-radius: 5px;
& svg {
opacity: 0.6;
width: 1.3rem;
height: 1.3rem;
width: 1.25rem;
height: 1.25rem;
transition: opacity 0.5s;
}
& a {
display: flex;
align-items: center;
gap: 0.287rem;
gap: 0.3rem;
width: 100%;
padding: 0.3rem;
text-decoration: none;
}
&:hover {
cursor: pointer;
background-color: hsla(0 0 100 / 0.07);
background-color: hsl(var(--toc-hovered-bkg));
& svg {
opacity: 1;