Skip to content

Commit 5b51af0

Browse files
datapythonistameeseeksmachine
authored andcommitted
Backport PR pandas-dev#48572: DOC: Fixing styles for the dark theme
1 parent 9e8d859 commit 5b51af0

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

doc/source/_static/css/getting_started.css

+3-4
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ ul.task-bullet > li > p:first-child {
154154

155155
.comparison-card .card-footer {
156156
border: none;
157-
background-color:white;
157+
background-color: transparent;
158158
}
159159

160160
.install-block {
@@ -163,19 +163,18 @@ ul.task-bullet > li > p:first-child {
163163

164164
.install-card .card-header {
165165
border: none;
166-
background-color:white;
166+
background-color: transparent;
167167
padding: 1rem 1rem 0rem 1rem;
168168
}
169169

170170
.install-card .card-header p.card-text {
171-
color: #150458;
172171
font-size: 1.1rem;
173172
font-weight: bold;
174173
}
175174

176175
.install-card .card-footer {
177176
border: none;
178-
background-color:white;
177+
background-color: transparent;
179178
}
180179

181180
.install-card pre {

doc/source/_static/css/pandas.css

+6-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
.intro-card .card-header {
2727
border: none;
28-
background-color:white;
28+
background-color: transparent;
2929
color: #150458 !important;
3030
font-size: var(--pst-font-size-h5);
3131
font-weight: bold;
@@ -34,11 +34,15 @@
3434

3535
.intro-card .card-footer {
3636
border: none;
37-
background-color:white;
37+
background-color: transparent;
3838
}
3939

4040
.intro-card .card-footer p.card-text{
4141
max-width: 220px;
4242
margin-left: auto;
4343
margin-right: auto;
4444
}
45+
46+
.card, .card img {
47+
background-color: transparent !important;
48+
}

0 commit comments

Comments
 (0)