Skip to content

Commit fae4e0d

Browse files
committed
---
yaml --- r: 151190 b: refs/heads/try2 c: 2bf25a7 h: refs/heads/master v: v3
1 parent b621863 commit fae4e0d

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 076bbb38c7ee20373ad9e7fcac1068f8736b651c
8+
refs/heads/try2: 2bf25a7fff031736cbefc849f826b4c0c5c695c1
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/librustdoc/html/static/main.css

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
body {
5454
color: #333;
5555
min-width: 500px;
56-
font: 15px/1.4 "Heuristica", "Helvetica Neue", Helvetica, Arial, sans-serif;
56+
font: 15.5px/1.4 "Heuristica", "Helvetica Neue", Helvetica, Arial, sans-serif;
5757
margin: 0;
5858
position: relative;
5959
padding: 10px 15px 20px 15px;
@@ -68,7 +68,7 @@ h2 {
6868
h3 {
6969
font-size: 1.3em;
7070
}
71-
h1, h2, h3:not(.impl), h4:not(.method) {
71+
h1, h2, h3:not(.impl):not(.method), h4:not(.method) {
7272
color: black;
7373
font-weight: 500;
7474
margin: 20px 0 15px 0;
@@ -78,15 +78,15 @@ h1.fqn {
7878
border-bottom: 1px dashed #D5D5D5;
7979
margin-top: 0;
8080
}
81-
h2, h3:not(.impl), h4:not(.method) {
81+
h2, h3:not(.impl):not(.method), h4:not(.method) {
8282
border-bottom: 1px solid #DDDDDD;
8383
}
84-
h3.impl, h4.method {
84+
h3.impl, h3.method, h4.method {
8585
font-weight: 600;
8686
margin-top: 10px;
8787
margin-bottom: 10px;
8888
}
89-
h3.impl {
89+
h3.impl, h3.method {
9090
margin-top: 15px;
9191
}
9292
h1, h2, h3, h4, section.sidebar, a.source, .search-input, .content table a {
@@ -211,6 +211,7 @@ nav.sub {
211211
text-overflow: ellipsis;
212212
margin: 0;
213213
}
214+
.docblock.short code { white-space: nowrap; }
214215

215216
.docblock h1, .docblock h2, .docblock h3, .docblock h4, .docblock h5 {
216217
border-bottom: 1px solid #DDD;
@@ -366,9 +367,10 @@ a {
366367
.stability {
367368
border-left: 6px solid #000;
368369
border-radius: 3px;
369-
padding: 2px 10px;
370+
font-weight: 400;
371+
padding: 4px 10px;
370372
text-transform: lowercase;
371-
margin-left: 10px;
373+
margin-left: 14px;
372374
}
373375

374376
.stability.Deprecated { border-color: #D60027; color: #880017; }
@@ -395,7 +397,6 @@ pre.rust .lifetime { color: #B76514; }
395397
/* Override parent class attributes. */
396398
border-bottom: none !important;
397399
font-size: 1.1em !important;
398-
font-weight: 400;
399400
margin: 0 0 -5px;
400401
padding: 0;
401402
}

0 commit comments

Comments
 (0)