Skip to content

Commit bc52465

Browse files
committed
Fix #8
1 parent 2e3aa8c commit bc52465

1 file changed

Lines changed: 34 additions & 19 deletions

File tree

wikipedia/common.css

Lines changed: 34 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ https://en.wikipedia.org/wiki/User:<Username>/common.css
55
*/
66

77
.infobox {
8-
border: 1px solid #ddd;
8+
border: 1px solid #ddd !important;
99
border-spacing: 3px;
10-
background-color: #eee;
11-
color: black;
10+
background-color: #eee !important;
11+
color: black !important;
1212
margin: 0.5em 0 0.5em 1em;
1313
padding: 0.2em;
1414
float: right;
@@ -20,7 +20,7 @@ https://en.wikipedia.org/wiki/User:<Username>/common.css
2020
.infobox > * > tr > td,
2121
.infobox > * > tr > th {
2222
padding: 2px 5px;
23-
border-bottom: 1px solid #000;
23+
border-bottom: 1px solid #000 !important;
2424
}
2525

2626
.infobox a,
@@ -57,14 +57,19 @@ https://en.wikipedia.org/wiki/User:<Username>/common.css
5757

5858
.ambox {
5959
margin: 0 10%;
60-
border: 1px solid #ddd;
60+
border: 1px solid #ddd !important;
6161
border-left: 10px solid #0062cc;
62-
background: #eee;
62+
background: #eee !important;
63+
}
64+
65+
table.ambox + table.ambox {
66+
margin-top: 5px !important;
6367
}
6468

69+
6570
.catlinks {
66-
border: 1px solid #ddd;
67-
background-color: #eee;
71+
border: 1px solid #ddd !important;
72+
background-color: #eee !important;
6873
padding: 5px;
6974
margin-top: 1em;
7075
clear: both;
@@ -126,10 +131,6 @@ table.plainlinks {
126131
}
127132

128133

129-
table.ambox + table.ambox {
130-
margin-top: 5px;
131-
}
132-
133134

134135

135136

@@ -223,39 +224,53 @@ table.ambox + table.ambox {
223224

224225

225226
.wikitable {
226-
background-color: #eee;
227-
color: #202122;
227+
background-color: #eee !important;
228+
color: #202122 !important;
228229
margin: 1em 0;
229-
border: 1px solid #ddd;
230+
border: 1px solid #ddd !important;
230231
border-collapse: collapse
231232
}
232233

233234
.wikitable > tr > th,
234235
.wikitable > tr > td,
235236
.wikitable > * > tr > th,
236237
.wikitable > * > tr > td {
237-
border: 1px solid #ddd;
238+
border: 1px solid #ddd !important;
238239
padding: 0.2em 0.4em
239240
}
240241

241242
.wikitable > tr > th,
242243
.wikitable > * > tr > th {
243-
background-color: #ddd;
244+
background-color: #ddd !important;
244245
text-align: center
245246
}
246247

247248
.wikitable > caption {
248249
font-weight: bold
249250
}
250251

252+
#mw-content-text > div > table.wikitable > tbody > tr:nth-child(odd) {
253+
color: #000 !important;
254+
background-color: #ddd !important;
255+
}
256+
257+
#mw-content-text > div > table.infobox.vcard > tbody > tr:nth-child(odd) > th {
258+
background-color: #ddd !important;
259+
}
260+
261+
#mw-content-text > div > table.infobox.vcard > tbody > tr:nth-child(even) > th {
262+
background-color: #ddd !important;
263+
}
264+
265+
251266

252267
.standard > tr > th, .standard > * > tr > th, .wide > tr > th, .wide > * > tr > th {
253-
background-color: #ddd;
268+
background-color: #ddd !important;
254269
}
255270

256271

257272
.standard > tr > th, .standard > tr > td, .standard > * > tr > th, .standard > * > tr > td, .wide > tr > th, .wide > tr > td, .wide > * > tr > th, .wide > * > tr > td {
258-
border: 1px solid #ddd;
273+
border: 1px solid #ddd !important;
259274
padding: 0.2em 0.4em;
260275
}
261276

0 commit comments

Comments
 (0)