-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path_styles.css
More file actions
32 lines (29 loc) · 1 KB
/
_styles.css
File metadata and controls
32 lines (29 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* Clear backgrounds applied directly to the code element */
code.sourceCode.stan {
background: transparent !important;
}
/* Clear backgrounds on the pre wrapper (common source of the gray) */
pre.sourceCode.stan {
background: transparent !important;
border: none !important;
box-shadow: none !important;
padding: 0 !important;
}
/* If the language class is only on <code> and not on <pre>,
clear the pre used in code-with-copy wrappers too */
div.code-with-copy pre:has(> code.sourceCode.stan) {
background: transparent !important;
border: none !important;
box-shadow: none !important;
padding: 0 !important;
/* Also neutralize Quarto’s code-block background variable */
--quarto-code-block-bg: transparent;
}
/* Fallback for themes that assign background on the sourceCode wrapper */
div.sourceCode:has(> pre > code.sourceCode.stan) {
background: transparent !important;
--quarto-code-block-bg: transparent;
border: none !important;
box-shadow: none !important;
padding: 0 !important;
}