Commit d52cb12 1 parent 22ebe26 commit d52cb12 Copy full SHA for d52cb12
File tree 6 files changed +8
-8
lines changed
src/pydata_sphinx_theme/assets/styles
6 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -59,14 +59,14 @@ For example to define a different background color for both the light and dark t
59
59
html [data-theme = " light" ] {
60
60
61
61
/* whatever you want to change */
62
- background : white ;
62
+ background-color : white ;
63
63
}
64
64
65
65
/* anything related to the dark theme */
66
66
html [data-theme = " dark" ] {
67
67
68
68
/* whatever you want to change */
69
- background : black ;
69
+ background-color : black ;
70
70
}
71
71
72
72
A complete list of the colors used in this theme can be found in the :doc: `CSS style section <styling >`.
Original file line number Diff line number Diff line change 15
15
16
16
// hack to avoid the black background on some browser including Safari
17
17
& ::-webkit-scrollbar-track {
18
- background : var (--pst-color-background );
18
+ background-color : var (--pst-color-background );
19
19
}
20
20
}
21
21
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ html[data-theme="dark"] .bd-content {
25
25
}
26
26
27
27
.output_area.stderr {
28
- background : var (--pst-color-danger );
28
+ background-color : var (--pst-color-danger );
29
29
}
30
30
}
31
31
}
Original file line number Diff line number Diff line change 13
13
z-index : $zindex-fixed ;
14
14
15
15
// Overrides bootstrap
16
- background : var (--pst-color-on-background ) !important ;
16
+ background-color : var (--pst-color-on-background ) !important ;
17
17
box-shadow : 0 0.125rem 0.25rem 0 var (--pst-color-shadow );
18
18
19
19
width : 100% ;
Original file line number Diff line number Diff line change 142
142
align-items : center ;
143
143
144
144
& :hover {
145
- background : var (--pst-color-surface );
145
+ background-color : var (--pst-color-surface );
146
146
}
147
147
148
148
i {
158
158
width : 100% ;
159
159
height : 100% ;
160
160
& :hover {
161
- background : none ;
161
+ background-color : none ;
162
162
}
163
163
i {
164
164
width : 30px ;
Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ $pst-semantic-colors: (
289
289
* which case assume they're already optimized for dark mode).
290
290
*/
291
291
.bd-content img :not (.only-dark ):not (.dark-light ) {
292
- background : rgb (255 , 255 , 255 );
292
+ background-color : rgb (255 , 255 , 255 );
293
293
border-radius : 0.25rem ;
294
294
}
295
295
// MathJax SVG outputs should be filled to same color as text.
You can’t perform that action at this time.
0 commit comments