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;
|
padding-inline-start: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre.src {
|
pre.src, pre.example {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
@ -63,7 +63,7 @@ $gradient-accent3-light-right: linear-gradient(to right, $light, $accent3);
|
|||||||
border-color: $light;
|
border-color: $light;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre.src {
|
pre.src, pre.example {
|
||||||
&::before {
|
&::before {
|
||||||
background-color: $light;
|
background-color: $light;
|
||||||
color: $dark;
|
color: $dark;
|
||||||
@ -141,7 +141,7 @@ $gradient-accent3-light-right: linear-gradient(to right, $light, $accent3);
|
|||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre.src {
|
pre.src, pre.example {
|
||||||
&::before {
|
&::before {
|
||||||
background-color: $dark;
|
background-color: $dark;
|
||||||
color: $light;
|
color: $light;
|
||||||
@ -215,7 +215,7 @@ $gradient-accent3-light-right: linear-gradient(to right, $light, $accent3);
|
|||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre.src {
|
pre.src, pre.example {
|
||||||
&::before {
|
&::before {
|
||||||
background-color: $black;
|
background-color: $black;
|
||||||
color: $light;
|
color: $light;
|
||||||
@ -286,7 +286,7 @@ $gradient-accent3-light-right: linear-gradient(to right, $light, $accent3);
|
|||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre.src {
|
pre.src, pre.example {
|
||||||
&::before {
|
&::before {
|
||||||
background-color: $dark;
|
background-color: $dark;
|
||||||
color: $light;
|
color: $light;
|
||||||
@ -367,7 +367,7 @@ $gradient-accent3-light-right: linear-gradient(to right, $light, $accent3);
|
|||||||
background: $black;
|
background: $black;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre.src {
|
pre.src, pre.example {
|
||||||
background: $dark;
|
background: $dark;
|
||||||
color: $light;
|
color: $light;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user