lbry.tech/app/sass/partials/_pre.scss

38 lines
517 B
SCSS
Raw Permalink Normal View History

2018-09-27 18:11:26 +02:00
pre {
line-height: 1.33;
2018-10-06 00:46:08 +02:00
margin-bottom: 2rem;
2018-09-27 18:11:26 +02:00
overflow-x: auto;
overflow-y: hidden;
2019-02-20 00:42:52 +01:00
@media (min-width: 801px) {
padding: 2rem;
}
@media (max-width: 800px) {
padding: 1rem;
}
2018-09-27 18:11:26 +02:00
&:not([class]),
&.language-text {
background-color: #27283e;
2018-10-13 00:29:53 +02:00
color: $lbry-white;
2018-09-27 18:11:26 +02:00
}
&.language-yaml {
background-color: #27273f;
color: #ffe066;
.atrule {
color: #f083ac;
}
.important {
color: #ffa94d;
}
.punctuation {
2018-10-13 00:29:53 +02:00
color: $lbry-white;
2018-09-27 18:11:26 +02:00
}
}
}