mirror of
https://github.com/Xevion/v2.xevion.dev.git
synced 2025-12-09 06:09:02 -06:00
Refactor and split SCSS files, add mixins
This commit is contained in:
31
_sass/code.scss
Normal file
31
_sass/code.scss
Normal file
@@ -0,0 +1,31 @@
|
||||
pre,
|
||||
code {
|
||||
font-family: "CMU Typewriter Text", monospace;
|
||||
font-size: 0.75em;
|
||||
font-style: normal !important;
|
||||
}
|
||||
|
||||
a > code {
|
||||
color: #90bcff;
|
||||
}
|
||||
|
||||
code {
|
||||
border: 1px solid rgb(150, 150, 150);
|
||||
border-radius: 3px;
|
||||
background-color: rgb(0, 0, 0);
|
||||
padding: 0.15em 0.34em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
pre {
|
||||
background: rgb(25, 25, 25);
|
||||
border-radius: 7px;
|
||||
padding: 1em;
|
||||
|
||||
code {
|
||||
font-size: 1em;
|
||||
border: 0;
|
||||
background-color: transparent !important;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user