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

Commit

Permalink
Merge pull request #32 from hankchizljaw/feature/update-lists
Browse files Browse the repository at this point in the history
Feature/update lists
  • Loading branch information
Andy-set-studio committed Nov 6, 2020
2 parents f5531ac + 86790da commit c0245f5
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 18 deletions.
14 changes: 6 additions & 8 deletions dist/reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,26 @@
box-sizing: border-box;
}

/* Remove default padding */
ul[class],
ol[class] {
padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
figure,
blockquote,
dl,
dd {
margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
list-style: none;
}

/* Set core root defaults */
html {
scroll-behavior: smooth;
Expand Down
2 changes: 1 addition & 1 deletion dist/reset.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "modern-css-reset",
"version": "1.1.1",
"version": "1.2.0",
"description": "A bare-bones CSS reset for modern web development",
"main": "./dist/reset.min.css",
"scripts": {
Expand Down
14 changes: 6 additions & 8 deletions src/reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,26 @@
box-sizing: border-box;
}

/* Remove default padding */
ul[class],
ol[class] {
padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
figure,
blockquote,
dl,
dd {
margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
list-style: none;
}

/* Set core root defaults */
html {
scroll-behavior: smooth;
Expand Down

0 comments on commit c0245f5

Please sign in to comment.