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``
This commit is contained in:
Matthias Krüger 2022-07-11 00:33:50 +02:00 committed by GitHub
commit 582bec4dcf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 7 deletions

View file

@ -178,9 +178,6 @@ a {
color: #D2991D;
}
a.test-arrow {
color: #dedede;
}
body.source .example-wrap pre.rust a {
background: #333;
}
@ -255,6 +252,7 @@ pre.rust .question-mark {
}
a.test-arrow {
color: #dedede;
background-color: rgba(78, 139, 202, 0.2);
}

View file

@ -175,9 +175,6 @@ a {
color: #3873AD;
}
a.test-arrow {
color: #f5f5f5;
}
body.source .example-wrap pre.rust a {
background: #eee;
}
@ -239,7 +236,8 @@ pre.rust .question-mark {
}
a.test-arrow {
background-color: rgb(78, 139, 202, 0.2);
color: #f5f5f5;
background-color: rgba(78, 139, 202, 0.2);
}
a.test-arrow:hover{