friendenstein/sass/_code.scss

25 lines
364 B
SCSS
Raw Normal View History

2023-12-24 18:29:23 +01:00
pre {
margin-top: 25px;
margin-bottom: 25px;
border: 1px solid var(--metaColor);
padding: 1rem;
font-style: monospace;
text-align: left;
2023-12-25 02:39:41 +01:00
overflow-x: scroll;
2023-12-24 18:29:23 +01:00
}
p code,
li code,
div code {
padding: 0 .2rem 0 .2rem;
border-radius: .3rem;
2023-12-25 00:41:54 +01:00
}
p code, li code {
background-color: var(--codeLineColor);
2023-12-24 18:29:23 +01:00
}
a:hover code {
background-color: var(--linkColor);
}