Skip to content

Commit beaaea8

Browse files
committed
chore: improve wording and add use same css class for as build-queue
1 parent 1ff6cb2 commit beaaea8

File tree

2 files changed

+90
-48
lines changed

2 files changed

+90
-48
lines changed

templates/releases/build_queue.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
</li>
8585
{%- endfor %}
8686
{%- else %}
87-
<strong>There is nothing in the queue</strong>
87+
<strong>There is nothing in the build queue</strong>
8888
{%- endif %}
8989
</ol>
9090

templates/style/style.scss

Lines changed: 89 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,19 @@
77
font-style: normal;
88
font-weight: 400;
99
src:
10-
local('Fira Sans'),
11-
url("FiraSans-Regular.woff2") format('woff2'),
12-
url("FiraSans-Regular.woff") format('woff');
10+
local('Fira Sans'),
11+
url("FiraSans-Regular.woff2") format('woff2'),
12+
url("FiraSans-Regular.woff") format('woff');
1313
}
14+
1415
@font-face {
1516
font-family: 'Fira Sans';
1617
font-style: normal;
1718
font-weight: 500;
1819
src:
19-
local('Fira Sans Medium'),
20-
url("FiraSans-Medium.woff2") format('woff2'),
21-
url("FiraSans-Medium.woff") format('woff');
20+
local('Fira Sans Medium'),
21+
url("FiraSans-Medium.woff2") format('woff2'),
22+
url("FiraSans-Medium.woff") format('woff');
2223
}
2324

2425
/* See SourceSerif4-LICENSE.md for the Source Serif 4 license. */
@@ -27,27 +28,29 @@
2728
font-style: normal;
2829
font-weight: 400;
2930
src:
30-
local('Source Serif 4'),
31-
url("SourceSerif4-Regular.ttf.woff2") format('woff2'),
32-
url("SourceSerif4-Regular.ttf.woff") format('woff');
31+
local('Source Serif 4'),
32+
url("SourceSerif4-Regular.ttf.woff2") format('woff2'),
33+
url("SourceSerif4-Regular.ttf.woff") format('woff');
3334
}
35+
3436
@font-face {
3537
font-family: 'Source Serif';
3638
font-style: italic;
3739
font-weight: 400;
3840
src:
39-
local('Source Serif 4'),
40-
url("SourceSerif4-It.ttf.woff2") format('woff2'),
41-
url("SourceSerif4-It.ttf.woff") format('woff');
41+
local('Source Serif 4'),
42+
url("SourceSerif4-It.ttf.woff2") format('woff2'),
43+
url("SourceSerif4-It.ttf.woff") format('woff');
4244
}
45+
4346
@font-face {
4447
font-family: 'Source Serif';
4548
font-style: normal;
4649
font-weight: 700;
4750
src:
48-
local('Source Serif 4'),
49-
url("SourceSerif4-Bold.ttf.woff2") format('woff2'),
50-
url("SourceSerif4-Bold.ttf.woff") format('woff');
51+
local('Source Serif 4'),
52+
url("SourceSerif4-Bold.ttf.woff2") format('woff2'),
53+
url("SourceSerif4-Bold.ttf.woff") format('woff');
5154
}
5255

5356
/* See SourceCodePro-LICENSE.md for the Source Code Pro license. */
@@ -58,24 +61,26 @@
5861
/* Avoid using locally installed font because bad versions are in circulation:
5962
* see https://github.com/rust-lang/rust/issues/24355 */
6063
src:
61-
url("SourceCodePro-Regular.ttf.woff2") format('woff2'),
62-
url("SourceCodePro-Regular.ttf.woff") format('woff');
64+
url("SourceCodePro-Regular.ttf.woff2") format('woff2'),
65+
url("SourceCodePro-Regular.ttf.woff") format('woff');
6366
}
67+
6468
@font-face {
6569
font-family: 'Source Code Pro';
6670
font-style: normal;
6771
font-weight: 600;
6872
src:
69-
url("SourceCodePro-Semibold.ttf.woff2") format('woff2'),
70-
url("SourceCodePro-Semibold.ttf.woff") format('woff');
73+
url("SourceCodePro-Semibold.ttf.woff2") format('woff2'),
74+
url("SourceCodePro-Semibold.ttf.woff") format('woff');
7175
}
76+
7277
@font-face {
7378
font-family: 'Source Code Pro';
7479
font-style: italic;
7580
font-weight: 400;
7681
src:
77-
url("SourceCodePro-It.ttf.woff2") format('woff2'),
78-
url("SourceCodePro-It.ttf.woff") format('woff');
82+
url("SourceCodePro-It.ttf.woff2") format('woff2'),
83+
url("SourceCodePro-It.ttf.woff") format('woff');
7984
}
8085

8186
html,
@@ -102,7 +107,8 @@ body {
102107
padding: 0;
103108
margin: 0;
104109
position: relative;
105-
min-height: 100vh; /* Tall enough to stick the footer to the bottom */
110+
min-height: 100vh;
111+
/* Tall enough to stick the footer to the bottom */
106112

107113
* {
108114
-webkit-box-sizing: border-box;
@@ -113,37 +119,55 @@ body {
113119
h1 {
114120
font-size: 1.5em;
115121
}
122+
116123
h3 {
117124
font-size: 1.3em;
118125
}
119-
h1, h2, h3, h4 {
120-
font-family: "Fira Sans",sans-serif;
126+
127+
h1,
128+
h2,
129+
h3,
130+
h4 {
131+
font-family: "Fira Sans", sans-serif;
121132
font-weight: 500;
122133
margin: 20px 0 15px 0;
123134
padding-bottom: 6px;
124135
}
125-
h2, h3, h4 {
136+
137+
h2,
138+
h3,
139+
h4 {
126140
border-bottom: 1px solid;
127141
}
142+
128143
pre {
129144
background-color: var(--color-background-code);
130145
padding: 14px;
131146
}
132-
code, kbd, pre, samp {
133-
font-family: "Source Code Pro",monospace;
147+
148+
code,
149+
kbd,
150+
pre,
151+
samp {
152+
font-family: "Source Code Pro", monospace;
134153
}
154+
135155
a {
136156
text-decoration: none;
137157
background: transparent;
138158
}
159+
139160
p {
140161
margin: 0 0 .6em 0;
141162
}
142-
ol, ul {
163+
164+
ol,
165+
ul {
143166
padding-left: 25px;
144167
}
145168

146-
input, #search {
169+
input,
170+
#search {
147171
background-color: var(--color-background-input);
148172
color: var(--input-color);
149173
line-height: normal;
@@ -177,7 +201,7 @@ body {
177201
background-color: var(--color-background);
178202
color: var(--color-standard);
179203

180-
> h1 {
204+
>h1 {
181205
color: var(--color-standard);
182206
}
183207

@@ -186,15 +210,16 @@ body {
186210
fill: var(--color-background);
187211
}
188212

189-
text.highcharts-title, g.highcharts-axis-labels > text {
213+
text.highcharts-title,
214+
g.highcharts-axis-labels>text {
190215
fill: var(--chart-title-color) !important;
191216
}
192217

193-
g.highcharts-legend-item > text {
218+
g.highcharts-legend-item>text {
194219
fill: var(--chart-grid) !important;
195220
}
196221

197-
g.highcharts-grid > path {
222+
g.highcharts-grid>path {
198223
stroke: var(--chart-grid) !important;
199224
}
200225
}
@@ -262,7 +287,8 @@ div.recent-releases-container {
262287
padding: 0;
263288
}
264289

265-
ol.queue-list li {
290+
ol.queue-list li,
291+
ol.rebuild-queue-list li {
266292
list-style-type: decimal;
267293
margin-left: 20px;
268294

@@ -280,7 +306,8 @@ div.recent-releases-container {
280306
background-color: var(--background-color);
281307
}
282308

283-
.release, .build-in-progress {
309+
.release,
310+
.build-in-progress {
284311
display: block;
285312
border-bottom: 1px solid var(--color-border);
286313
padding: 0.4em $search-result-right-left-padding;
@@ -338,6 +365,7 @@ div.recent-releases-container {
338365
span.fa-check {
339366
color: var(--color-macro);
340367
}
368+
341369
span.fa-times {
342370
color: var(--color-struct);
343371
}
@@ -384,10 +412,10 @@ div.recent-releases-container {
384412
}
385413

386414
.yanked {
387-
color: var(--color-warn-msg);
388-
background-color: var(--color-warn-background);
389-
padding: .2em .8em .2em .5em;
390-
border-radius: 1em;
415+
color: var(--color-warn-msg);
416+
background-color: var(--color-warn-background);
417+
padding: .2em .8em .2em .5em;
418+
border-radius: 1em;
391419
}
392420
}
393421

@@ -399,6 +427,7 @@ div.package-container {
399427
margin: 0;
400428
padding: 20px 0 0 16px;
401429
}
430+
402431
p {
403432
margin: 0;
404433
padding: 0 0 20px 16px;
@@ -469,7 +498,7 @@ div.package-page-container {
469498
margin: 20px 5px 15px 5px;
470499
}
471500

472-
li.pure-menu-item > .documented-info {
501+
li.pure-menu-item>.documented-info {
473502
font-size: 13px;
474503
display: block;
475504
width: 100%;
@@ -575,7 +604,7 @@ div.package-page-container {
575604
border-bottom: 1px solid var(--color-menu-border);
576605
}
577606

578-
tbody > tr:last-child > td {
607+
tbody>tr:last-child>td {
579608
border-bottom-width: 0;
580609
}
581610

@@ -697,7 +726,7 @@ div.docsrs-package-container {
697726
border-radius: 2px;
698727
}
699728

700-
.pure-menu-has-children > .pure-menu-link:after {
729+
.pure-menu-has-children>.pure-menu-link:after {
701730
font-size: 14px;
702731
}
703732

@@ -774,7 +803,12 @@ div.search-page-search-form {
774803
background-color: inherit;
775804
}
776805

777-
h1, h2, h3, h4, h5, h6 {
806+
h1,
807+
h2,
808+
h3,
809+
h4,
810+
h5,
811+
h6 {
778812
border-bottom-color: var(--color-border) !important;
779813
color: var(--color-standard) !important;
780814
}
@@ -789,8 +823,8 @@ div.search-page-search-form {
789823
}
790824

791825
/* Don't put a newline after code fragments in headers */
792-
h3 > code,
793-
h4 > code {
826+
h3>code,
827+
h4>code {
794828
display: inline-block;
795829
}
796830

@@ -873,13 +907,17 @@ ul.pure-menu-list {
873907
max-width: 46px;
874908

875909
ul {
876-
li:not(.toggle-source), .text {
910+
911+
li:not(.toggle-source),
912+
.text {
877913
display: none;
878914
}
915+
879916
li.toggle-source {
880917
.left {
881918
display: none;
882919
}
920+
883921
.right {
884922
display: inline-block;
885923
margin-left: -4px;
@@ -897,13 +935,16 @@ ul.pure-menu-list {
897935
display: inline-flex;
898936
overflow: scroll;
899937
}
938+
900939
#line-numbers {
901940
text-align: right;
902941
letter-spacing: normal;
903942
}
904-
#line-numbers > code > a {
943+
944+
#line-numbers>code>a {
905945
padding: 0 8px;
906946
}
947+
907948
// This class is used to the source code and the line number container in the
908949
// `crate/**/source/*` view
909950
.source-code {
@@ -921,6 +962,7 @@ ul.pure-menu-list {
921962
width: calc(100% - 46px);
922963
}
923964
}
965+
924966
#source-code {
925967
overflow: scroll;
926968
width: 100%;

0 commit comments

Comments
 (0)