Change list rules. Fixes #30
This commit is contained in:
parent
f5531ac895
commit
d07d11fb2c
1 changed files with 6 additions and 8 deletions
|
@ -5,12 +5,6 @@
|
|||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* Remove default padding */
|
||||
ul[class],
|
||||
ol[class] {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Remove default margin */
|
||||
body,
|
||||
h1,
|
||||
|
@ -18,8 +12,6 @@ h2,
|
|||
h3,
|
||||
h4,
|
||||
p,
|
||||
ul[class],
|
||||
ol[class],
|
||||
figure,
|
||||
blockquote,
|
||||
dl,
|
||||
|
@ -27,6 +19,12 @@ 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;
|
||||
|
|
Loading…
Reference in a new issue