refacto: reorganize scss for modularity

This commit is contained in:
Alexis Fourmaux 2025-05-14 23:33:30 +02:00
parent 1d939fb107
commit 17dd9dba48
10 changed files with 301 additions and 303 deletions

25
sass/parts/_code.scss Normal file
View file

@ -0,0 +1,25 @@
pre {
font-family: var(--mono-font);
padding: 1.25rem;
border-radius: var(--standard-border-radius);
border-style: solid;
border-color: var(--overlay0);
border-width: 0.15rem;
line-height: initial;
overflow-x: scroll;
&>code {
background-color: initial;
border: initial;
}
}
code {
font-family: var(--mono-font);
background-color: var(--mantle);
padding: .2rem;
border-radius: .3rem;
border-style: dashed;
border-width: .1rem;
border-color: var(--surface0);
}