ds-site/Resources/Private/Sass/components/_codeHighlighting.scss

47 lines
600 B
SCSS
Raw Normal View History

2019-11-15 00:27:23 +01:00
code {
background: $black-dark;
color: $white-dark;
padding: {
left: 0.5em;
right: 0.5em;
}
white-space: nowrap;
}
pre code {
display: block;
overflow-x: auto;
padding: 0.5em;
white-space: pre;
.tag {
color: $white;
.name {
color: $blue;
}
}
.attr {
color: $blue;
}
.string {
color: $white-dark;
}
.function {
color: $white;
}
.keyword {
color: $green;
}
.params {
.string {
color: $black;
}
}
}