Skip to content

Commit 11060e5

Browse files
authored
Change background colour for code in blockquotes for dark themes (#2094)
1 parent 2c34e07 commit 11060e5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

website/static/css/custom.css

+3-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,10 @@ blockquote {
9292
background-color: var(--ifm-blockquote-color);
9393
border-left: 6px solid var(--ifm-blockquote-color-dark);
9494
border-radius: var(--ifm-global-radius);
95+
}
9596

97+
html[data-theme='dark'] blockquote code {
98+
background-color: var(--ifm-color-emphasis-800);
9699
}
97100

98101
.docusaurus-highlight-code-line {
@@ -226,4 +229,3 @@ a:visited {
226229
fill: black;
227230
stroke: black;
228231
}
229-

0 commit comments

Comments
 (0)