File tree Expand file tree Collapse file tree 6 files changed +8
-8
lines changed
src/pydata_sphinx_theme/assets/styles Expand file tree Collapse file tree 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
5959 html [data-theme = " light" ] {
6060
6161 /* whatever you want to change */
62- background : white ;
62+ background-color : white ;
6363 }
6464
6565 /* anything related to the dark theme */
6666 html [data-theme = " dark" ] {
6767
6868 /* whatever you want to change */
69- background : black ;
69+ background-color : black ;
7070 }
7171
7272 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 1515
1616 // hack to avoid the black background on some browser including Safari
1717 & ::-webkit-scrollbar-track {
18- background : var (--pst-color-background );
18+ background-color : var (--pst-color-background );
1919 }
2020}
2121
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ html[data-theme="dark"] .bd-content {
2525 }
2626
2727 .output_area.stderr {
28- background : var (--pst-color-danger );
28+ background-color : var (--pst-color-danger );
2929 }
3030 }
3131}
Original file line number Diff line number Diff line change 1313 z-index : $zindex-fixed ;
1414
1515 // Overrides bootstrap
16- background : var (--pst-color-on-background ) !important ;
16+ background-color : var (--pst-color-on-background ) !important ;
1717 box-shadow : 0 0.125rem 0.25rem 0 var (--pst-color-shadow );
1818
1919 width : 100% ;
Original file line number Diff line number Diff line change 142142 align-items : center ;
143143
144144 & :hover {
145- background : var (--pst-color-surface );
145+ background-color : var (--pst-color-surface );
146146 }
147147
148148 i {
158158 width : 100% ;
159159 height : 100% ;
160160 & :hover {
161- background : none ;
161+ background-color : none ;
162162 }
163163 i {
164164 width : 30px ;
Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ $pst-semantic-colors: (
289289 * which case assume they're already optimized for dark mode).
290290 */
291291 .bd-content img :not (.only-dark ):not (.dark-light ) {
292- background : rgb (255 , 255 , 255 );
292+ background-color : rgb (255 , 255 , 255 );
293293 border-radius : 0.25rem ;
294294 }
295295 // MathJax SVG outputs should be filled to same color as text.
You can’t perform that action at this time.
0 commit comments