File tree 4 files changed +13
-20
lines changed
src/librustdoc/html/static/css
4 files changed +13
-20
lines changed Original file line number Diff line number Diff line change @@ -1050,6 +1050,13 @@ so that we can apply CSS-filters to change the arrow color in themes */
1050
1050
margin-bottom : 5px ;
1051
1051
font-size : 0.875rem ;
1052
1052
font-weight : normal;
1053
+ color : var (--main-color );
1054
+ background-color : var (--stab-background-color );
1055
+ }
1056
+
1057
+ .stab .portability > code {
1058
+ background : none;
1059
+ color : var (--stab-code-color );
1053
1060
}
1054
1061
1055
1062
.stab .emoji {
Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ Original by Dempfi (https://github.com/dempfi/ayu)
37
37
--link-color : # 39afd7 ;
38
38
--sidebar-link-color : # 53b1db ;
39
39
--sidebar-current-link-background-color : transparent;
40
+ --stab-background-color : # 314559 ;
41
+ --stab-code-color : # e6e1cf ;
40
42
}
41
43
42
44
.slider {
@@ -155,16 +157,6 @@ details.rustdoc-toggle > summary::before {
155
157
color : # 000 ;
156
158
}
157
159
158
- .stab {
159
- color : # c5c5c5 ;
160
- background : # 314559 !important ;
161
- }
162
-
163
- .stab .portability > code {
164
- color : # e6e1cf ;
165
- background : none;
166
- }
167
-
168
160
.result-name .primitive > i , .result-name .keyword > i {
169
161
color : # 788797 ;
170
162
}
Original file line number Diff line number Diff line change 32
32
--link-color : # d2991d ;
33
33
--sidebar-link-color : # fdbf35 ;
34
34
--sidebar-current-link-background-color : # 444 ;
35
+ --stab-background-color : # 314559 ;
36
+ --stab-code-color : # e6e1cf ;
35
37
}
36
38
37
39
.slider {
@@ -114,13 +116,6 @@ details.rustdoc-toggle > summary::before {
114
116
filter : invert (69% ) sepia (60% ) saturate (6613% ) hue-rotate (184deg ) brightness (100% ) contrast (91% );
115
117
}
116
118
117
- .stab { background : # 314559 ; }
118
-
119
- .stab .portability > code {
120
- color : # e6e1cf ;
121
- background : none;
122
- }
123
-
124
119
.src-line-numbers : target { background-color : transparent; }
125
120
126
121
/* Code highlighting */
Original file line number Diff line number Diff line change 32
32
--link-color : # 3873ad ;
33
33
--sidebar-link-color : # 356da4 ;
34
34
--sidebar-current-link-background-color : # fff ;
35
+ --stab-background-color : # fff5d6 ;
36
+ --stab-code-color : # 000 ;
35
37
}
36
38
37
39
.slider {
@@ -102,9 +104,6 @@ body.source .example-wrap pre.rust a {
102
104
filter : invert (44% ) sepia (18% ) saturate (23% ) hue-rotate (317deg ) brightness (96% ) contrast (93% );
103
105
}
104
106
105
- .stab { background : # FFF5D6 ; border-color : # FFC600 ; }
106
- .stab .portability > code { background : none; }
107
-
108
107
.src-line-numbers : target { background-color : transparent; }
109
108
110
109
/* Code highlighting */
You can’t perform that action at this time.
0 commit comments