Fix theme for pre tags with example class
This commit is contained in:
parent
e69b9fb9c8
commit
f0847a622f
@ -353,6 +353,6 @@ ul {
|
||||
padding-inline-start: 20px;
|
||||
}
|
||||
|
||||
pre.src {
|
||||
pre.src, pre.example {
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user