Skip to content

Commit 38b2956

Browse files
authored
Rollup merge of #74361 - GuillaumeGomez:theme-logo, r=Manishearth
Improve doc theme logo display Fixes #74350. The first commit cleans up the whitespaces and converts them to tabs. We should definitely write a tidy check for this (will do it in another PR). Screenshots: ![Screenshot from 2020-07-15 14-08-25](https://user-images.githubusercontent.com/3050060/87543748-8581c800-c6a5-11ea-8417-cbf98ebbfd10.png) ![Screenshot from 2020-07-15 14-11-59](https://user-images.githubusercontent.com/3050060/87543747-84e93180-c6a5-11ea-8cea-976b1470e809.png) ![Screenshot from 2020-07-15 14-12-12](https://user-images.githubusercontent.com/3050060/87543745-84509b00-c6a5-11ea-8324-c3c46ab2d9ef.png) r? @lzutao cc @Cldfire
2 parents 0820e54 + 839216a commit 38b2956

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
@@ -62,6 +62,10 @@ pre {
6262
background-color: #14191f;
6363
}
6464

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

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

+4
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ pre {
3434
background-color: #505050;
3535
}
3636

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

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

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

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

0 commit comments

Comments
 (0)