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;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Remove default padding */
|
|
||||||
ul[class],
|
|
||||||
ol[class] {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Remove default margin */
|
/* Remove default margin */
|
||||||
body,
|
body,
|
||||||
h1,
|
h1,
|
||||||
|
@ -18,8 +12,6 @@ h2,
|
||||||
h3,
|
h3,
|
||||||
h4,
|
h4,
|
||||||
p,
|
p,
|
||||||
ul[class],
|
|
||||||
ol[class],
|
|
||||||
figure,
|
figure,
|
||||||
blockquote,
|
blockquote,
|
||||||
dl,
|
dl,
|
||||||
|
@ -27,6 +19,12 @@ dd {
|
||||||
margin: 0;
|
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 */
|
/* Set core root defaults */
|
||||||
html {
|
html {
|
||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
|
|
Loading…
Reference in a new issue