enabled Biome CSS formatter and linter, applied
This commit is contained in:
parent
a417b18c94
commit
77ab369187
7 changed files with 42 additions and 33 deletions
|
@ -11,7 +11,9 @@
|
|||
align-items: center;
|
||||
gap: 0.3em;
|
||||
|
||||
& svg { color: hsl(var(--text)) }
|
||||
& svg {
|
||||
color: hsl(var(--text));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -265,20 +265,10 @@
|
|||
|
||||
/* default styles */
|
||||
site-search {
|
||||
--shadow-lg:
|
||||
0px 25px 7px hsla(0, 0%, 0%, 0.03), 0px 16px 6px hsla(
|
||||
0,
|
||||
0%,
|
||||
0%,
|
||||
0.1
|
||||
),
|
||||
0px 9px 5px hsla(223, 13%, 10%, 0.33), 0px 4px 4px hsla(
|
||||
0,
|
||||
0%,
|
||||
0%,
|
||||
0.75
|
||||
),
|
||||
0px 4px 2px hsla(0, 0%, 0%, 0.25);
|
||||
--shadow-lg: 0px 25px 7px hsla(0, 0%, 0%, 0.03), 0px 16px 6px
|
||||
hsla(0, 0%, 0%, 0.1), 0px 9px 5px hsla(223, 13%, 10%, 0.33),
|
||||
0px 4px 4px hsla(0, 0%, 0%, 0.75), 0px 4px 2px
|
||||
hsla(0, 0%, 0%, 0.25);
|
||||
display: contents;
|
||||
}
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
font-size: 1.614rem;
|
||||
max-height: 500px;
|
||||
|
||||
&>svg {
|
||||
& > svg {
|
||||
height: 100%;
|
||||
width: 24px;
|
||||
}
|
||||
|
@ -56,8 +56,7 @@
|
|||
display: none;
|
||||
}
|
||||
|
||||
transition: width 0.3s ease,
|
||||
padding 0.3s ease;
|
||||
transition: width 0.3s ease, padding 0.3s ease;
|
||||
|
||||
&.shown {
|
||||
& .toc-content {
|
||||
|
@ -123,7 +122,7 @@
|
|||
list-style: none;
|
||||
|
||||
&.active {
|
||||
&>.toc_a {
|
||||
& > .toc_a {
|
||||
color: hsl(var(--green) 72 60);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue