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

Commit c0245f5

Browse files
Merge pull request #32 from hankchizljaw/feature/update-lists
Feature/update lists
2 parents f5531ac + 86790da commit c0245f5

File tree

4 files changed

+14
-18
lines changed

4 files changed

+14
-18
lines changed

dist/reset.css

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,26 @@
55
box-sizing: border-box;
66
}
77

8-
/* Remove default padding */
9-
ul[class],
10-
ol[class] {
11-
padding: 0;
12-
}
13-
148
/* Remove default margin */
159
body,
1610
h1,
1711
h2,
1812
h3,
1913
h4,
2014
p,
21-
ul[class],
22-
ol[class],
2315
figure,
2416
blockquote,
2517
dl,
2618
dd {
2719
margin: 0;
2820
}
2921

22+
/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
23+
ul[role="list"],
24+
ol[role="list"] {
25+
list-style: none;
26+
}
27+
3028
/* Set core root defaults */
3129
html {
3230
scroll-behavior: smooth;

dist/reset.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "modern-css-reset",
3-
"version": "1.1.1",
3+
"version": "1.2.0",
44
"description": "A bare-bones CSS reset for modern web development",
55
"main": "./dist/reset.min.css",
66
"scripts": {

src/reset.css

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,26 @@
55
box-sizing: border-box;
66
}
77

8-
/* Remove default padding */
9-
ul[class],
10-
ol[class] {
11-
padding: 0;
12-
}
13-
148
/* Remove default margin */
159
body,
1610
h1,
1711
h2,
1812
h3,
1913
h4,
2014
p,
21-
ul[class],
22-
ol[class],
2315
figure,
2416
blockquote,
2517
dl,
2618
dd {
2719
margin: 0;
2820
}
2921

22+
/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
23+
ul[role="list"],
24+
ol[role="list"] {
25+
list-style: none;
26+
}
27+
3028
/* Set core root defaults */
3129
html {
3230
scroll-behavior: smooth;

0 commit comments

Comments
 (0)