Skip to content

Commit 582bec4

Browse files
authored
Rollup merge of #99114 - GuillaumeGomez:css-cleanup, r=Dylan-DPC
Group .test-arrow CSS rules and fix rgb/rgba property Surprisingly, the web browsers were handling the `rgb`/`rgba` typo correctly. At least it now is as expected. For the rest, it's simply grouping `.test-arrow` rules. r? ``@Dylan-DPC``
2 parents 16d0d0b + 2f3624c commit 582bec4

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

src/librustdoc/html/static/css/themes/dark.css

+1-3
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,6 @@ a {
178178
color: #D2991D;
179179
}
180180

181-
a.test-arrow {
182-
color: #dedede;
183-
}
184181
body.source .example-wrap pre.rust a {
185182
background: #333;
186183
}
@@ -255,6 +252,7 @@ pre.rust .question-mark {
255252
}
256253

257254
a.test-arrow {
255+
color: #dedede;
258256
background-color: rgba(78, 139, 202, 0.2);
259257
}
260258

src/librustdoc/html/static/css/themes/light.css

+2-4
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,6 @@ a {
175175
color: #3873AD;
176176
}
177177

178-
a.test-arrow {
179-
color: #f5f5f5;
180-
}
181178
body.source .example-wrap pre.rust a {
182179
background: #eee;
183180
}
@@ -239,7 +236,8 @@ pre.rust .question-mark {
239236
}
240237

241238
a.test-arrow {
242-
background-color: rgb(78, 139, 202, 0.2);
239+
color: #f5f5f5;
240+
background-color: rgba(78, 139, 202, 0.2);
243241
}
244242

245243
a.test-arrow:hover{

0 commit comments

Comments
 (0)