Skip to content

Commit 86db450

Browse files
committed
-
1 parent 42b79f1 commit 86db450

1 file changed

Lines changed: 21 additions & 24 deletions

File tree

wikipedia/common.css

Lines changed: 21 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/*
21
Add to
32
https://ru.wikipedia.org/wiki/Участник:<Username>/common.css
43
https://en.wikipedia.org/wiki/User:<Username>/common.css
@@ -91,33 +90,32 @@ var(--color-background)
9190
border-bottom: 1px solid #000 !important;
9291
}
9392

94-
#mw-content-text > div > table > tbody > tr > td > table {
93+
#mw-content-text > div > table:nth-child(2) > tbody > tr:nth-child(7) > td > table {
9594
border-color: 1px solid #ccc !important;
9695
background-color: #ccc !important;
9796
}
9897

99-
#mw-content-text > div > table > tbody > tr > td > table > tbody > tr > td > table {
98+
#mw-content-text > div > table:nth-child(2) > tbody > tr:nth-child(7) > td > table > tbody > tr > td:nth-child(3) > table {
10099
background-color: #ccc !important;
101100
}
102101

103-
#mw-content-text > div > table.infobox > tbody > tr > td {
102+
#mw-content-text > div > table.infobox > tbody > tr:nth-child(26) > td {
104103
background-color: #eee !important;
105104
}
106105

107106
#collapsibleTable0 > tbody > tr:nth-child(1) {
108107
background-color: #eee !important;
109108
}
110109

111-
/*#mw-content-text > div > table > tbody > tr:nth-child(even) > th {
110+
#mw-content-text > div > table > tbody > tr:nth-child(even) > th {
112111
background-color: #eee !important;
113-
}*/
112+
}
114113

115-
#mw-content-text > div > table > tbody > tr > td {
116-
background-color: #eee !important;
114+
#mw-content-text > div > table > tbody > tr:nth-child(30) > td {
115+
background-color: #FFE680 !important;
117116
border-color: 1px solid #ddd !important;
118117
}
119118

120-
/*
121119
#mw-content-text > div > table > tbody > tr:nth-child(31) > td {
122120
background-color: #FFE680 !important;
123121
border-color: 1px solid #ddd !important;
@@ -140,36 +138,36 @@ var(--color-background)
140138
#mw-content-text > div > table > tbody > tr:nth-child(33) > td:nth-child(2) {
141139
border-color: 1px solid #ddd !important;
142140
}
143-
*/
144-
#mw-content-text > div > table.vertical-navbox.nowraplinks > tbody > tr > th {
141+
142+
#mw-content-text > div > table.vertical-navbox.nowraplinks > tbody > tr:nth-child(1) > th {
145143
background-color: #ccc !important;
146144
}
147145

148-
#mw-content-text > div > table.vertical-navbox.nowraplinks.hlist > tbody > tr > th {
146+
#mw-content-text > div > table.vertical-navbox.nowraplinks.hlist > tbody > tr:nth-child(odd) > th {
149147
background-color: #ccc !important;
150148
}
151149

152-
#mw-content-text > div > table.vertical-navbox.nowraplinks.hlist > tbody > tr > td > table > tbody > tr > th {
150+
#mw-content-text > div > table.vertical-navbox.nowraplinks.hlist > tbody > tr:nth-child(even) > td > table > tbody > tr:nth-child(2) > th {
153151
background-color: #ddd !important;
154152
}
155153

156154
#mw-content-text > div > div:nth-child(1) {
157155
background-color: #eee !important;
158-
border: solid 1px #ddd !important;
156+
border-color: solid 1px #ddd !important;
159157
}
160158

161-
#mw-content-text > div > div > table > tbody > tr > td > div {
159+
#mw-content-text > div > div:nth-child(1) > table > tbody > tr > td > div {
162160
background-color: #eee !important;
163161
border-color: solid 1px #ddd !important;
164162
}
165163

166-
#mw-content-text > div > div > table > tbody > tr > td > span {
164+
#mw-content-text > div > div:nth-child(1) > table > tbody > tr > td > span {
167165
background-color: #eee !important;
168166
border-color: solid 1px #ddd !important;
169167
}
170168

171-
#mw-content-text > div > table > tbody > tr > th {
172-
background: #ddd !important;
169+
#mw-content-text > div > table:only-child > tbody > tr:only-child > th {
170+
background: #ccc !important;
173171
}
174172

175173
.ambox {
@@ -183,9 +181,6 @@ table.ambox + table.ambox {
183181
margin-top: 5px !important;
184182
}
185183

186-
div.NavHead {
187-
background-color: #ddd !important;
188-
}
189184

190185

191186

@@ -257,7 +252,9 @@ table.plainlinks {
257252
font-size: 95%;
258253
}
259254

260-
255+
div.NavHead {
256+
background-color: #ddd !important;
257+
}
261258

262259

263260

@@ -540,8 +537,8 @@ a.new:visited {
540537
.toc,
541538
.mw-warning,
542539
.toccolours {
543-
border: 1px solid #ddd !important;
544-
background-color: #eee !important;
540+
border-color: 1px solid #ddd;
541+
background-color: #eee;
545542
padding: 5px;
546543
font-size: 95%
547544
}

0 commit comments

Comments
 (0)