From a20c8d4895ad1c2949e0a9533042cc8018be3f0f Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 5 Dec 2024 09:14:24 +0100 Subject: Revert "Style lists by default" This reverts commit 6e1009c6c4c1cedfd2bfbb38eb9543e72a275461. --- src/scopes/_implicit.scss | 28 ++++------------------------ src/scopes/_implicit.vars.scss | 3 --- 2 files changed, 4 insertions(+), 27 deletions(-) (limited to 'src/scopes') diff --git a/src/scopes/_implicit.scss b/src/scopes/_implicit.scss index 86c65ce..78f06be 100644 --- a/src/scopes/_implicit.scss +++ b/src/scopes/_implicit.scss @@ -85,15 +85,9 @@ ul, ol { - padding-block: 0; - padding-inline: props.get(vars.$list--indent) 0; - margin-block: props.get(vars.$list--margin-bs) 0; - margin-inline: 0; - - ul, - ol { - margin-block-start: 0; - } + padding: 0; + margin: 0; + list-style: none; } li { @@ -101,21 +95,6 @@ margin: 0; } - dl { - padding: 0; - margin-block: props.get(vars.$list--margin-bs) 0; - margin-inline: 0; - } - - dt { - font-weight: bold; - } - - dd { - margin-block: 0; - margin-inline: props.get(vars.$list--indent) 0; - } - :focus, :focus-visible { outline: 0; @@ -127,6 +106,7 @@ text-decoration: none; } + button, input, textarea { diff --git a/src/scopes/_implicit.vars.scss b/src/scopes/_implicit.vars.scss index d8d79cf..388f0af 100644 --- a/src/scopes/_implicit.vars.scss +++ b/src/scopes/_implicit.vars.scss @@ -24,6 +24,3 @@ $heading--font-size: props.def(--s-implicit--heading--font-size, props.g $heading--feature-settings: props.def(--s-implicit--heading--feature-settings, props.get(core.$font--standard--feature-settings)) !default; $heading--color: props.def(--s-implicit--heading--color, props.get(core.$theme, --heading), 'color') !default; - -$list--indent: props.def(--s-implicit--list--indent, calc(props.get(core.$list--indent) + 1em)) !default; -$list--margin-bs: props.def(--s-implicit--list--margin-bs, props.get($paragraph--margin-bs)) !default; -- cgit v1.2.3-70-g09d2