added margins to codeblocks and hover effects for the collapsible
This commit is contained in:
parent
45fc2eed5a
commit
712c286065
|
@ -1,6 +1,12 @@
|
||||||
.accordion {
|
.accordion {
|
||||||
& summary {
|
& summary {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
transition: background-color 0.15s ease-out;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: hsla(250 11 100 / 0.06);
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
& .accordion-container {
|
& .accordion-container {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
pre.shiki {
|
||||||
|
margin-block: 1.618rem;
|
||||||
|
}
|
||||||
|
|
||||||
:where(p, li):has(> code) code {
|
:where(p, li):has(> code) code {
|
||||||
padding-inline: 0.272rem;
|
padding-inline: 0.272rem;
|
||||||
border-radius: 0.272rem;
|
border-radius: 0.272rem;
|
||||||
|
|
Loading…
Reference in a new issue