Skip to content

Commit 839e703

Browse files
committed
revert sass formatting
1 parent 8da8021 commit 839e703

File tree

1 file changed

+21
-62
lines changed

1 file changed

+21
-62
lines changed

pkg/web_css/lib/src/_base.scss

Lines changed: 21 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ body {
1919
overflow-wrap: anywhere;
2020
}
2121

22-
body,
23-
input,
24-
button,
25-
select {
22+
body, input, button, select {
2623
font-family: var(--pub-default-text-font_family);
2724
-webkit-font-smoothing: antialiased;
2825
// we don't use font ligatures, and Google Sans fonts would otherwise change text in surprising ways
@@ -44,39 +41,17 @@ body,
4441
font-weight: 400;
4542
font-size: 16px;
4643

47-
h1,
48-
h2,
49-
h3,
50-
h4,
51-
h5,
52-
h6 {
44+
h1, h2, h3, h4, h5, h6 {
5345
font-family: var(--pub-default-text-font_family);
5446
font-weight: 400;
5547
}
5648

57-
h1 {
58-
font-size: 36px;
59-
}
60-
61-
h2 {
62-
font-size: 24px;
63-
}
64-
65-
h3 {
66-
font-size: 18px;
67-
}
68-
69-
h4 {
70-
font-size: 18px;
71-
}
72-
73-
h5 {
74-
font-size: 16px;
75-
}
76-
77-
h6 {
78-
font-size: 16px;
79-
}
49+
h1 { font-size: 36px; }
50+
h2 { font-size: 24px; }
51+
h3 { font-size: 18px; }
52+
h4 { font-size: 18px; }
53+
h5 { font-size: 16px; }
54+
h6 { font-size: 16px; }
8055
}
8156

8257
img {
@@ -159,7 +134,6 @@ main {
159134
.standalone-side-image-block {
160135
display: block;
161136
}
162-
163137
.standalone-wrapper.-has-side-image {
164138
.standalone-content {
165139
margin: 0px;
@@ -193,7 +167,7 @@ pre {
193167
padding: 30px;
194168
overflow-x: auto;
195169

196-
>code {
170+
> code {
197171
padding: 0px !important;
198172
border-radius: 0;
199173
display: inline-block;
@@ -258,37 +232,29 @@ pre {
258232

259233
.markdown-body {
260234
p {
261-
margin-top: 8px;
262-
/* overrides github-markdown.css */
263-
margin-bottom: 12px;
264-
/* overrides github-markdown.css */
235+
margin-top: 8px; /* overrides github-markdown.css */
236+
margin-bottom: 12px; /* overrides github-markdown.css */
265237
}
266238

267239
table {
268240

269-
td,
270-
th {
271-
padding: 12px 12px 12px 0;
272-
/* overrides github-markdown.css */
273-
border: none;
274-
/* overrides github-markdown.css */
241+
td, th {
242+
padding: 12px 12px 12px 0; /* overrides github-markdown.css */
243+
border: none; /* overrides github-markdown.css */
275244
}
276245

277246
tr {
278-
border-top: none;
279-
/* overrides github-markdown.css */
247+
border-top: none; /* overrides github-markdown.css */
280248

281249
&:nth-child(2n) {
282-
background-color: inherit;
283-
/* overrides github-markdown.css */
250+
background-color: inherit; /* overrides github-markdown.css */
284251
}
285252
}
286253

287254
th {
288255
font-family: var(--pub-default-text-font_family);
289256
font-size: 16px;
290-
font-weight: 400;
291-
/* overrides github-markdown.css */
257+
font-weight: 400; /* overrides github-markdown.css */
292258
border-bottom: 1px solid #c8c8ca;
293259
text-align: left;
294260
}
@@ -298,8 +264,7 @@ pre {
298264
}
299265

300266
img {
301-
background-color: inherit;
302-
/* overrides github-markdown.css */
267+
background-color: inherit; /* overrides github-markdown.css */
303268
}
304269
}
305270
}
@@ -390,13 +355,8 @@ pre {
390355
}
391356

392357
@keyframes spin {
393-
0% {
394-
transform: rotate(0deg);
395-
}
396-
397-
100% {
398-
transform: rotate(360deg);
399-
}
358+
0% { transform: rotate(0deg); }
359+
100% { transform: rotate(360deg); }
400360
}
401361

402362
.hash-link {
@@ -424,14 +384,13 @@ pre {
424384
}
425385

426386
.announcement-banner {
427-
display: none;
428-
429387
padding: 10px 0;
430388

431389
background: var(--pub-home_announcement-background-color);
432390
font-size: 16px;
433391

434392
text-align: center;
393+
display: none;
435394

436395
.dismisser {
437396
float: right;

0 commit comments

Comments
 (0)