Skip to content

Commit 839216a

Browse files
committedJul 17, 2020
Improve logo image display in different themes
1 parent 86c0b85 commit 839216a

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed
 

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

+4
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ pre {
6161
background-color: #14191f;
6262
}
6363

64+
.logo-container > img {
65+
filter: drop-shadow(0 0 5px #fff);
66+
}
67+
6468
/* Improve the scrollbar display on firefox */
6569
* {
6670
scrollbar-color: #5c6773 transparent;

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

+4
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ pre {
3232
background-color: #505050;
3333
}
3434

35+
.logo-container > img {
36+
filter: drop-shadow(0 0 5px #fff);
37+
}
38+
3539
/* Improve the scrollbar display on firefox */
3640
* {
3741
scrollbar-color: rgb(64, 65, 67) #717171;

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

+4
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ pre {
4343
scrollbar-color: rgba(36, 37, 39, 0.6) #d9d9d9;
4444
}
4545

46+
.logo-container > img {
47+
filter: drop-shadow(0 0 5px #aaa);
48+
}
49+
4650
/* Improve the scrollbar display on webkit-based browsers */
4751
::-webkit-scrollbar-track {
4852
background-color: #ecebeb;

0 commit comments

Comments
 (0)
Please sign in to comment.