Skip to content

Commit f2c7984

Browse files
committed
Fix drop shadow on Rust logo in docs
1 parent f1ce0e6 commit f2c7984

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ pre, .rustdoc.source .example-wrap {
6161
background-color: #14191f;
6262
}
6363

64-
.rust-logo > img {
64+
.rust-logo {
6565
filter: drop-shadow(1px 0 0px #fff)
6666
drop-shadow(0 1px 0 #fff)
6767
drop-shadow(-1px 0 0 #fff)

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pre, .rustdoc.source .example-wrap {
3232
background-color: #505050;
3333
}
3434

35-
.rust-logo > img {
35+
.rust-logo {
3636
filter: drop-shadow(1px 0 0px #fff)
3737
drop-shadow(0 1px 0 #fff)
3838
drop-shadow(-1px 0 0 #fff)

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pre, .rustdoc.source .example-wrap {
4343
scrollbar-color: rgba(36, 37, 39, 0.6) #d9d9d9;
4444
}
4545

46-
.rust-logo > img {
46+
.rust-logo {
4747
/* No need for a border in here! */
4848
}
4949

0 commit comments

Comments
 (0)