Skip to content

Commit ade785a

Browse files
committed
chore: revert prettier changes
1 parent bcb44ad commit ade785a

File tree

1 file changed

+48
-90
lines changed

1 file changed

+48
-90
lines changed

templates/style/style.scss

Lines changed: 48 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,18 @@
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-
1514
@font-face {
1615
font-family: 'Fira Sans';
1716
font-style: normal;
1817
font-weight: 500;
1918
src:
20-
local('Fira Sans Medium'),
21-
url("FiraSans-Medium.woff2") format('woff2'),
22-
url("FiraSans-Medium.woff") format('woff');
19+
local('Fira Sans Medium'),
20+
url("FiraSans-Medium.woff2") format('woff2'),
21+
url("FiraSans-Medium.woff") format('woff');
2322
}
2423

2524
/* See SourceSerif4-LICENSE.md for the Source Serif 4 license. */
@@ -28,29 +27,27 @@
2827
font-style: normal;
2928
font-weight: 400;
3029
src:
31-
local('Source Serif 4'),
32-
url("SourceSerif4-Regular.ttf.woff2") format('woff2'),
33-
url("SourceSerif4-Regular.ttf.woff") format('woff');
30+
local('Source Serif 4'),
31+
url("SourceSerif4-Regular.ttf.woff2") format('woff2'),
32+
url("SourceSerif4-Regular.ttf.woff") format('woff');
3433
}
35-
3634
@font-face {
3735
font-family: 'Source Serif';
3836
font-style: italic;
3937
font-weight: 400;
4038
src:
41-
local('Source Serif 4'),
42-
url("SourceSerif4-It.ttf.woff2") format('woff2'),
43-
url("SourceSerif4-It.ttf.woff") format('woff');
39+
local('Source Serif 4'),
40+
url("SourceSerif4-It.ttf.woff2") format('woff2'),
41+
url("SourceSerif4-It.ttf.woff") format('woff');
4442
}
45-
4643
@font-face {
4744
font-family: 'Source Serif';
4845
font-style: normal;
4946
font-weight: 700;
5047
src:
51-
local('Source Serif 4'),
52-
url("SourceSerif4-Bold.ttf.woff2") format('woff2'),
53-
url("SourceSerif4-Bold.ttf.woff") format('woff');
48+
local('Source Serif 4'),
49+
url("SourceSerif4-Bold.ttf.woff2") format('woff2'),
50+
url("SourceSerif4-Bold.ttf.woff") format('woff');
5451
}
5552

5653
/* See SourceCodePro-LICENSE.md for the Source Code Pro license. */
@@ -61,26 +58,24 @@
6158
/* Avoid using locally installed font because bad versions are in circulation:
6259
* see https://github.com/rust-lang/rust/issues/24355 */
6360
src:
64-
url("SourceCodePro-Regular.ttf.woff2") format('woff2'),
65-
url("SourceCodePro-Regular.ttf.woff") format('woff');
61+
url("SourceCodePro-Regular.ttf.woff2") format('woff2'),
62+
url("SourceCodePro-Regular.ttf.woff") format('woff');
6663
}
67-
6864
@font-face {
6965
font-family: 'Source Code Pro';
7066
font-style: normal;
7167
font-weight: 600;
7268
src:
73-
url("SourceCodePro-Semibold.ttf.woff2") format('woff2'),
74-
url("SourceCodePro-Semibold.ttf.woff") format('woff');
69+
url("SourceCodePro-Semibold.ttf.woff2") format('woff2'),
70+
url("SourceCodePro-Semibold.ttf.woff") format('woff');
7571
}
76-
7772
@font-face {
7873
font-family: 'Source Code Pro';
7974
font-style: italic;
8075
font-weight: 400;
8176
src:
82-
url("SourceCodePro-It.ttf.woff2") format('woff2'),
83-
url("SourceCodePro-It.ttf.woff") format('woff');
77+
url("SourceCodePro-It.ttf.woff2") format('woff2'),
78+
url("SourceCodePro-It.ttf.woff") format('woff');
8479
}
8580

8681
html,
@@ -107,8 +102,7 @@ body {
107102
padding: 0;
108103
margin: 0;
109104
position: relative;
110-
min-height: 100vh;
111-
/* Tall enough to stick the footer to the bottom */
105+
min-height: 100vh; /* Tall enough to stick the footer to the bottom */
112106

113107
* {
114108
-webkit-box-sizing: border-box;
@@ -119,55 +113,37 @@ body {
119113
h1 {
120114
font-size: 1.5em;
121115
}
122-
123116
h3 {
124117
font-size: 1.3em;
125118
}
126-
127-
h1,
128-
h2,
129-
h3,
130-
h4 {
131-
font-family: "Fira Sans", sans-serif;
119+
h1, h2, h3, h4 {
120+
font-family: "Fira Sans",sans-serif;
132121
font-weight: 500;
133122
margin: 20px 0 15px 0;
134123
padding-bottom: 6px;
135124
}
136-
137-
h2,
138-
h3,
139-
h4 {
125+
h2, h3, h4 {
140126
border-bottom: 1px solid;
141127
}
142-
143128
pre {
144129
background-color: var(--color-background-code);
145130
padding: 14px;
146131
}
147-
148-
code,
149-
kbd,
150-
pre,
151-
samp {
152-
font-family: "Source Code Pro", monospace;
132+
code, kbd, pre, samp {
133+
font-family: "Source Code Pro",monospace;
153134
}
154-
155135
a {
156136
text-decoration: none;
157137
background: transparent;
158138
}
159-
160139
p {
161140
margin: 0 0 .6em 0;
162141
}
163-
164-
ol,
165-
ul {
142+
ol, ul {
166143
padding-left: 25px;
167144
}
168145

169-
input,
170-
#search {
146+
input, #search {
171147
background-color: var(--color-background-input);
172148
color: var(--input-color);
173149
line-height: normal;
@@ -201,7 +177,7 @@ body {
201177
background-color: var(--color-background);
202178
color: var(--color-standard);
203179

204-
>h1 {
180+
> h1 {
205181
color: var(--color-standard);
206182
}
207183

@@ -210,16 +186,15 @@ body {
210186
fill: var(--color-background);
211187
}
212188

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

218-
g.highcharts-legend-item>text {
193+
g.highcharts-legend-item > text {
219194
fill: var(--chart-grid) !important;
220195
}
221196

222-
g.highcharts-grid>path {
197+
g.highcharts-grid > path {
223198
stroke: var(--chart-grid) !important;
224199
}
225200
}
@@ -287,16 +262,15 @@ div.recent-releases-container {
287262
padding: 0;
288263
}
289264

290-
ol.queue-list li,
291-
ol.rebuild-queue-list li {
265+
ol.queue-list li, ol.rebuild-queue-list li {
292266
list-style-type: decimal;
293267
margin-left: 20px;
294268

295269
a {
296270
color: var(--color-url);
297271
}
298272
}
299-
273+
300274
.about p {
301275
margin-left: 20px;
302276
}
@@ -310,8 +284,7 @@ div.recent-releases-container {
310284
background-color: var(--background-color);
311285
}
312286

313-
.release,
314-
.build-in-progress {
287+
.release, .build-in-progress {
315288
display: block;
316289
border-bottom: 1px solid var(--color-border);
317290
padding: 0.4em $search-result-right-left-padding;
@@ -369,7 +342,6 @@ div.recent-releases-container {
369342
span.fa-check {
370343
color: var(--color-macro);
371344
}
372-
373345
span.fa-times {
374346
color: var(--color-struct);
375347
}
@@ -416,10 +388,10 @@ div.recent-releases-container {
416388
}
417389

418390
.yanked {
419-
color: var(--color-warn-msg);
420-
background-color: var(--color-warn-background);
421-
padding: .2em .8em .2em .5em;
422-
border-radius: 1em;
391+
color: var(--color-warn-msg);
392+
background-color: var(--color-warn-background);
393+
padding: .2em .8em .2em .5em;
394+
border-radius: 1em;
423395
}
424396
}
425397

@@ -431,7 +403,6 @@ div.package-container {
431403
margin: 0;
432404
padding: 20px 0 0 16px;
433405
}
434-
435406
p {
436407
margin: 0;
437408
padding: 0 0 20px 16px;
@@ -502,7 +473,7 @@ div.package-page-container {
502473
margin: 20px 5px 15px 5px;
503474
}
504475

505-
li.pure-menu-item>.documented-info {
476+
li.pure-menu-item > .documented-info {
506477
font-size: 13px;
507478
display: block;
508479
width: 100%;
@@ -608,7 +579,7 @@ div.package-page-container {
608579
border-bottom: 1px solid var(--color-menu-border);
609580
}
610581

611-
tbody>tr:last-child>td {
582+
tbody > tr:last-child > td {
612583
border-bottom-width: 0;
613584
}
614585

@@ -730,7 +701,7 @@ div.docsrs-package-container {
730701
border-radius: 2px;
731702
}
732703

733-
.pure-menu-has-children>.pure-menu-link:after {
704+
.pure-menu-has-children > .pure-menu-link:after {
734705
font-size: 14px;
735706
}
736707

@@ -807,12 +778,7 @@ div.search-page-search-form {
807778
background-color: inherit;
808779
}
809780

810-
h1,
811-
h2,
812-
h3,
813-
h4,
814-
h5,
815-
h6 {
781+
h1, h2, h3, h4, h5, h6 {
816782
border-bottom-color: var(--color-border) !important;
817783
color: var(--color-standard) !important;
818784
}
@@ -827,8 +793,8 @@ div.search-page-search-form {
827793
}
828794

829795
/* Don't put a newline after code fragments in headers */
830-
h3>code,
831-
h4>code {
796+
h3 > code,
797+
h4 > code {
832798
display: inline-block;
833799
}
834800

@@ -911,17 +877,13 @@ ul.pure-menu-list {
911877
max-width: 46px;
912878

913879
ul {
914-
915-
li:not(.toggle-source),
916-
.text {
880+
li:not(.toggle-source), .text {
917881
display: none;
918882
}
919-
920883
li.toggle-source {
921884
.left {
922885
display: none;
923886
}
924-
925887
.right {
926888
display: inline-block;
927889
margin-left: -4px;
@@ -939,16 +901,13 @@ ul.pure-menu-list {
939901
display: inline-flex;
940902
overflow: scroll;
941903
}
942-
943904
#line-numbers {
944905
text-align: right;
945906
letter-spacing: normal;
946907
}
947-
948-
#line-numbers>code>a {
908+
#line-numbers > code > a {
949909
padding: 0 8px;
950910
}
951-
952911
// This class is used to the source code and the line number container in the
953912
// `crate/**/source/*` view
954913
.source-code {
@@ -966,7 +925,6 @@ ul.pure-menu-list {
966925
width: calc(100% - 46px);
967926
}
968927
}
969-
970928
#source-code {
971929
overflow: scroll;
972930
width: 100%;

0 commit comments

Comments
 (0)