friendenstein/sass/_code.scss
2023-12-25 02:39:41 +01:00

20 lines
309 B
SCSS

pre {
margin-top: 25px;
margin-bottom: 25px;
border: 1px solid var(--metaColor);
padding: 1rem;
font-style: monospace;
text-align: left;
overflow-x: scroll;
}
p code,
li code,
div code {
padding: 0 .2rem 0 .2rem;
border-radius: .3rem;
}
p code, li code {
background-color: var(--codeLineColor);
}