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