Added styling for code blocks in CSS
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
parent
3bcd9c4e00
commit
a1bab9bbdd
@ -167,6 +167,31 @@ code {
|
||||
font-family: 'IBM Plex Mono', monospace;
|
||||
}
|
||||
|
||||
/* Code blocks colors */
|
||||
.token.keyword, .token.macro {
|
||||
color: #D55FDE;
|
||||
}
|
||||
|
||||
.token.function {
|
||||
color: #52ADF2;
|
||||
}
|
||||
|
||||
.token.class-name {
|
||||
color: #E5C07B;
|
||||
}
|
||||
|
||||
.token.punctuation, .token.operator {
|
||||
color: #AAB1C0;
|
||||
}
|
||||
|
||||
.token.string {
|
||||
color: #89CA78;
|
||||
}
|
||||
|
||||
.token.number {
|
||||
color: #D8985F;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 992px) {
|
||||
body {
|
||||
margin-right: 10vw;
|
||||
|
Loading…
Reference in New Issue
Block a user