Change list rules. Fixes #30

This commit is contained in:
Andy Bell 2020-11-06 17:08:15 +00:00
parent f5531ac895
commit d07d11fb2c

View file

@ -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;