75
75
margin : 0 0 10px ;
76
76
}
77
77
78
+ strong {
79
+ font-weight : bold;
80
+ }
81
+
82
+ em {
83
+ font-style : italic;
84
+ }
85
+
78
86
footer {
79
87
border-top : 1px solid # ddd ;
80
88
font-size : 12px ;
@@ -107,6 +115,8 @@ a:hover, a:active {
107
115
h1 a : link , h1 a : visited , h2 a : link , h2 a : visited ,
108
116
h3 a : link , h3 a : visited , h4 a : link , h4 a : visited ,
109
117
h5 a : link , h5 a : visited {color : black;}
118
+ h1 a : hover , h2 a : hover , h3 a : hover , h4 a : hover ,
119
+ h5 a : hover {text-decoration : none;}
110
120
111
121
/* Code
112
122
========================================================================== */
@@ -144,16 +154,14 @@ pre code {
144
154
/* Code highlighting */
145
155
pre .rust .kw { color : # 8959A8 ; }
146
156
pre .rust .kw-2 , pre .rust .prelude-ty { color : # 4271AE ; }
147
- pre .rust .number { color : # 718C00 ; }
148
- pre .rust .self { color : # C13928 ; }
149
- pre .rust .boolval { color : # C13928 ; }
150
- pre .rust .prelude-val { color : # C13928 ; }
157
+ pre .rust .number , pre .rust .string { color : # 718C00 ; }
158
+ pre .rust .self , pre .rust .boolval , pre .rust .prelude-val ,
159
+ pre .rust .attribute , pre .rust .attribute .ident { color : # C82829 ; }
151
160
pre .rust .comment { color : # 8E908C ; }
152
161
pre .rust .doccomment { color : # 4D4D4C ; }
153
- pre .rust .macro , pre .rust .macro-nonterminal { color : # 3E999f ; }
154
- pre .rust .string { color : # 718C00 ; }
155
- pre .rust .lifetime { color : # C13928 ; }
156
- pre .rust .attribute , pre .rust .attribute .ident { color : # C82829 ; }
162
+ pre .rust .macro , pre .rust .macro-nonterminal { color : # 3E999F ; }
163
+ pre .rust .lifetime { color : # B76514 ; }
164
+
157
165
158
166
/* The rest
159
167
========================================================================== */
@@ -162,7 +170,7 @@ pre.rust .attribute, pre.rust .attribute .ident { color: #C82829; }
162
170
margin : 0.5em ;
163
171
font-size : 1.1em ;
164
172
}
165
- @media (min-width : 768px ) {
173
+ @media only screen , handheld and (min-width : 768px ) {
166
174
# versioninfo {
167
175
position : fixed;
168
176
bottom : 0px ;
@@ -262,9 +270,12 @@ table th {
262
270
a , a : visited {
263
271
text-decoration : underline;
264
272
}
265
- a [href ]: after {
273
+ p a [href ]: after {
266
274
content : " (" attr (href) ")" ;
267
275
}
276
+ footer a [href ]: after {
277
+ content : "" ;
278
+ }
268
279
a [href ^= "javascript:" ]: after , a [href ^= "#" ]: after {
269
280
content : "" ;
270
281
}
@@ -275,6 +286,9 @@ table th {
275
286
@page {
276
287
margin : 2cm .5cm ;
277
288
}
289
+ h1 : not (.title ), h2 , h3 {
290
+ border-bottom : 0px none;
291
+ }
278
292
p , h2 , h3 {
279
293
orphans : 3 ;
280
294
widows : 3 ;
0 commit comments