Added styling for code blocks in CSS

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2022-01-24 21:47:50 +01:00
parent 3bcd9c4e00
commit a1bab9bbdd
No known key found for this signature in database
GPG Key ID: 0C87282F76E61283

View File

@ -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;