Fix theme for pre tags with example class

This commit is contained in:
Lucien Cartier-Tilet 2020-12-06 01:20:42 +01:00
parent e69b9fb9c8
commit f0847a622f
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
2 changed files with 6 additions and 6 deletions

View File

@ -353,6 +353,6 @@ ul {
padding-inline-start: 20px;
}
pre.src {
pre.src, pre.example {
overflow-y: auto;
}

View File

@ -63,7 +63,7 @@ $gradient-accent3-light-right: linear-gradient(to right, $light, $accent3);
border-color: $light;
}
pre.src {
pre.src, pre.example {
&::before {
background-color: $light;
color: $dark;
@ -141,7 +141,7 @@ $gradient-accent3-light-right: linear-gradient(to right, $light, $accent3);
border: none;
}
pre.src {
pre.src, pre.example {
&::before {
background-color: $dark;
color: $light;
@ -215,7 +215,7 @@ $gradient-accent3-light-right: linear-gradient(to right, $light, $accent3);
border: none;
}
pre.src {
pre.src, pre.example {
&::before {
background-color: $black;
color: $light;
@ -286,7 +286,7 @@ $gradient-accent3-light-right: linear-gradient(to right, $light, $accent3);
border: none;
}
pre.src {
pre.src, pre.example {
&::before {
background-color: $dark;
color: $light;
@ -367,7 +367,7 @@ $gradient-accent3-light-right: linear-gradient(to right, $light, $accent3);
background: $black;
}
pre.src {
pre.src, pre.example {
background: $dark;
color: $light;
}