Skip to content
This repository was archived by the owner on Jul 31, 2025. It is now read-only.

Commit 66d1114

Browse files
committed
docs: Changed the style of the comments in the _reset.scss so it's not compiled into the CSS files
1 parent dc72ec8 commit 66d1114

File tree

2 files changed

+14
-28
lines changed

2 files changed

+14
-28
lines changed

dist/css/blower.css

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,81 +25,67 @@
2525
[dir=rtl] {
2626
--flow-direction: -1;
2727
}
28-
/* Box sizing rules */
2928
*,
3029
*::before,
3130
*::after {
3231
box-sizing: border-box;
3332
}
34-
/* Prevent font size inflation */
3533
html {
3634
-moz-text-size-adjust: none;
3735
-webkit-text-size-adjust: none;
3836
text-size-adjust: none;
3937
}
40-
/* Remove default margin in favour of better control in authored CSS */
4138
body, h1, h2, h3, h4, p,
4239
figure, blockquote {
4340
margin: 0;
4441
}
45-
/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
4642
ul[role=list],
4743
ol[role=list] {
4844
list-style: none;
4945
}
50-
/* Set core body defaults */
5146
body {
5247
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
5348
line-height: 1.5;
5449
min-height: 100vh;
5550
min-height: 100svh;
5651
}
57-
/* Set shorter line heights on headings and interactive elements */
5852
h1, h2, h3, h4,
5953
button, input, label {
6054
line-height: 1.1;
6155
}
62-
/* Balance text wrapping on headings */
6356
h1, h2,
6457
h3, h4 {
6558
text-wrap: balance;
6659
}
67-
/* A elements that don't have a class get default styles */
6860
a:not([class]) {
6961
-webkit-text-decoration-skip: ink;
7062
text-decoration-skip-ink: auto;
7163
color: currentColor;
7264
}
73-
/* Make images easier to work with */
7465
img,
7566
picture,
7667
svg {
7768
max-width: 100%;
7869
display: block;
7970
vertical-align: middle;
8071
}
81-
/* Inherit fonts for inputs and buttons */
8272
input, button,
8373
textarea, select {
8474
font: inherit;
8575
}
86-
/* Make sure textareas without a rows attribute are not tiny and change the resize direction to only vertical */
8776
textarea:not([rows]) {
8877
min-height: 10em;
8978
resize: vertical;
9079
}
91-
/* Anything that has been anchored to should have extra scroll margin */
9280
:target {
9381
scroll-margin-block: 5ex;
9482
}
95-
/* Add pointer cursor to buttons */
9683
button:not(:disabled),
9784
[type=button]:not(:disabled),
9885
[type=reset]:not(:disabled),
9986
[type=submit]:not(:disabled) {
10087
cursor: pointer;
10188
}
102-
/* Unify the sub and sup stylings */
10389
sub,
10490
sup {
10591
font-size: 75%;

scss/_reset.scss

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,58 +12,58 @@
1212
--flow-direction: -1;
1313
}
1414

15-
/* Box sizing rules */
15+
/// Box sizing rules
1616
*,
1717
*::before,
1818
*::after {
1919
box-sizing: border-box;
2020
}
2121

22-
/* Prevent font size inflation */
22+
/// Prevent font size inflation
2323
html {
2424
-moz-text-size-adjust: none;
2525
-webkit-text-size-adjust: none;
2626
text-size-adjust: none;
2727
}
2828

29-
/* Remove default margin in favour of better control in authored CSS */
29+
/// Remove default margin in favour of better control in authored CSS
3030
body, h1, h2, h3, h4, p,
3131
figure, blockquote {
3232
margin: 0;
3333
}
3434

35-
/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
35+
/// Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed
3636
ul[role='list'],
3737
ol[role='list'] {
3838
list-style: none;
3939
}
4040

41-
/* Set core body defaults */
41+
/// Set core body defaults
4242
body {
4343
font-family: font.$fallback;
4444
line-height: 1.5;
4545
@include mx.viewport-height(100, 'min');
4646
}
4747

48-
/* Set shorter line heights on headings and interactive elements */
48+
/// Set shorter line heights on headings and interactive elements
4949
h1, h2, h3, h4,
5050
button, input, label {
5151
line-height: 1.1;
5252
}
5353

54-
/* Balance text wrapping on headings */
54+
/// Balance text wrapping on headings
5555
h1, h2,
5656
h3, h4 {
5757
text-wrap: balance;
5858
}
5959

60-
/* A elements that don't have a class get default styles */
60+
/// A elements that don't have a class get default styles
6161
a:not([class]) {
6262
text-decoration-skip-ink: auto;
6363
color: currentColor;
6464
}
6565

66-
/* Make images easier to work with */
66+
/// Make images easier to work with
6767
img,
6868
picture,
6969
svg {
@@ -72,24 +72,24 @@ svg {
7272
vertical-align: middle;
7373
}
7474

75-
/* Inherit fonts for inputs and buttons */
75+
/// Inherit fonts for inputs and buttons
7676
input, button,
7777
textarea, select {
7878
font: inherit;
7979
}
8080

81-
/* Make sure textareas without a rows attribute are not tiny and change the resize direction to only vertical */
81+
/// Make sure textareas without a rows attribute are not tiny and change the resize direction to only vertical
8282
textarea:not([rows]) {
8383
min-height: 10em;
8484
resize: vertical;
8585
}
8686

87-
/* Anything that has been anchored to should have extra scroll margin */
87+
/// Anything that has been anchored to should have extra scroll margin
8888
:target {
8989
scroll-margin-block: 5ex;
9090
}
9191

92-
/* Add pointer cursor to buttons */
92+
/// Add pointer cursor to buttons
9393
button,
9494
[type='button'],
9595
[type='reset'],
@@ -100,7 +100,7 @@ button,
100100
}
101101
}
102102

103-
/* Unify the sub and sup stylings */
103+
/// Unify the sub and sup stylings
104104
sub,
105105
sup {
106106
font-size: 75%;

0 commit comments

Comments
 (0)