Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit 7705c4f

Browse files
committed
Add postcss-nested plugin
Regenerate assets
1 parent 4a33d76 commit 7705c4f

File tree

5 files changed

+48
-19
lines changed

5 files changed

+48
-19
lines changed

.node/package-lock.json

Lines changed: 26 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.node/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"dependencies": {
1212
"cssnano": "^4.1.10",
1313
"postcss-cli": "^7.1.0",
14+
"postcss-nested": "^4.2.1",
1415
"postcss-preset-env": "^6.7.0"
1516
}
1617
}

.node/postcss.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
module.exports = {
22
plugins: [
3-
require('postcss-preset-env')({
3+
require("postcss-nested"),
4+
require("postcss-preset-env")({
45
stage: 0,
56
features: {
6-
'matches-pseudo-class': false,
7+
"matches-pseudo-class": false,
78
},
89
}),
910
],

Resources/all.css

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ dfn {
345345

346346
sup a {
347347
color: inherit;
348-
vertical-align: inherit
348+
vertical-align: inherit;
349349
}
350350

351351
sup a:hover {
@@ -403,7 +403,7 @@ input[type="text"],input[type="email"],input[type="number"],input[type="password
403403
position: relative;
404404
vertical-align: top;
405405
width: 100%;
406-
z-index: 1
406+
z-index: 1;
407407
}
408408

409409
input[type="text"],input[type="email"],input[type="number"],input[type="password"],input[type="tel"],input[type="url"],textarea,
@@ -477,7 +477,7 @@ textarea {
477477
min-height: 134px;
478478
overflow-y: auto;
479479
resize: vertical;
480-
transform: translate3d(0, 0, 0)
480+
transform: translate3d(0, 0, 0);
481481
}
482482

483483
textarea,
@@ -497,7 +497,7 @@ select {
497497
height: 34px;
498498
margin: 0;
499499
padding: 0 1em;
500-
width: 100%
500+
width: 100%;
501501
}
502502

503503
select,
@@ -527,7 +527,7 @@ input[type="file"] {
527527
position: relative;
528528
vertical-align: top;
529529
width: 100%;
530-
z-index: 1
530+
z-index: 1;
531531
}
532532

533533
input[type="file"]:focus {
@@ -724,13 +724,13 @@ code,
724724
body {
725725
width: 90vw;
726726
max-width: 1280px;
727-
margin: 1em auto
727+
margin: 1em auto;
728728
}
729729

730730
body > header {
731731
font: 600 26pt / 32pt sans-serif;
732732
font: var(--title-1);
733-
padding: 0.5em 0
733+
padding: 0.5em 0;
734734
}
735735

736736
body > header a {
@@ -806,7 +806,7 @@ main {
806806
background: rgb(255, 255, 255);
807807
background: var(--system-background);
808808
border-radius: 8px;
809-
padding: 0 2em
809+
padding: 0 2em;
810810
}
811811

812812
main section {
@@ -833,7 +833,7 @@ nav {
833833
position: -webkit-sticky;
834834
position: sticky;
835835
top: 1em;
836-
width: 20vw
836+
width: 20vw;
837837
}
838838

839839
nav a {
@@ -896,15 +896,15 @@ blockquote {
896896
color: var(--secondary-label);
897897
font-size: smaller;
898898
margin-left: 0;
899-
padding-left: 2em
899+
padding-left: 2em;
900900
}
901901

902902
blockquote a {
903903
text-decoration: underline;
904904
}
905905

906906
article {
907-
padding: 2em 0 1em 0
907+
padding: 2em 0 1em 0;
908908
}
909909

910910
article > .summary {
@@ -942,7 +942,7 @@ dt {
942942

943943
dd {
944944
margin-left: 2em;
945-
margin-bottom: 1em
945+
margin-bottom: 1em;
946946
}
947947

948948
dd p {
@@ -959,7 +959,7 @@ dd p {
959959
padding: 1em;
960960
padding-left: 3em;
961961
text-indent: -2em;
962-
white-space: pre-line
962+
white-space: pre-line;
963963
}
964964

965965
.highlight .p {
@@ -1015,7 +1015,7 @@ main summary:hover {
10151015

10161016
figure {
10171017
margin: 2em 0;
1018-
padding: 1em 0
1018+
padding: 1em 0;
10191019
}
10201020

10211021
figure svg {

0 commit comments

Comments
 (0)