From d07d11fb2c45bc5b4cb2cdc23c2475ac6329ec95 Mon Sep 17 00:00:00 2001 From: Andy Bell Date: Fri, 6 Nov 2020 17:08:15 +0000 Subject: [PATCH] Change list rules. Fixes #30 --- src/reset.css | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/reset.css b/src/reset.css index 4f72824..727e8d4 100644 --- a/src/reset.css +++ b/src/reset.css @@ -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;