lbry.tech/app/sass/partials/_pre.scss
2018-10-03 16:53:39 -05:00

34 lines
453 B
SCSS

pre {
margin-bottom: 2rem; padding: 2rem;
line-height: 1.33;
overflow-x: auto;
overflow-y: hidden;
&:not([class]),
&.language-text {
background-color: #27283e;
color: $white;
}
&.language-yaml {
background-color: #27273f;
color: #ffe066;
.atrule {
color: #f083ac;
}
.important {
color: #ffa94d;
}
.punctuation {
color: $white;
}
}
code {
@include font-mono;
}
}