diff options
Diffstat (limited to 'src/scopes')
-rw-r--r-- | src/scopes/_implicit.scss | 28 | ||||
-rw-r--r-- | src/scopes/_implicit.vars.scss | 3 |
2 files changed, 27 insertions, 4 deletions
diff --git a/src/scopes/_implicit.scss b/src/scopes/_implicit.scss index 78f06be..86c65ce 100644 --- a/src/scopes/_implicit.scss +++ b/src/scopes/_implicit.scss | |||
@@ -85,9 +85,15 @@ | |||
85 | 85 | ||
86 | ul, | 86 | ul, |
87 | ol { | 87 | ol { |
88 | padding: 0; | 88 | padding-block: 0; |
89 | margin: 0; | 89 | padding-inline: props.get(vars.$list--indent) 0; |
90 | list-style: none; | 90 | margin-block: props.get(vars.$list--margin-bs) 0; |
91 | margin-inline: 0; | ||
92 | |||
93 | ul, | ||
94 | ol { | ||
95 | margin-block-start: 0; | ||
96 | } | ||
91 | } | 97 | } |
92 | 98 | ||
93 | li { | 99 | li { |
@@ -95,6 +101,21 @@ | |||
95 | margin: 0; | 101 | margin: 0; |
96 | } | 102 | } |
97 | 103 | ||
104 | dl { | ||
105 | padding: 0; | ||
106 | margin-block: props.get(vars.$list--margin-bs) 0; | ||
107 | margin-inline: 0; | ||
108 | } | ||
109 | |||
110 | dt { | ||
111 | font-weight: bold; | ||
112 | } | ||
113 | |||
114 | dd { | ||
115 | margin-block: 0; | ||
116 | margin-inline: props.get(vars.$list--indent) 0; | ||
117 | } | ||
118 | |||
98 | :focus, | 119 | :focus, |
99 | :focus-visible { | 120 | :focus-visible { |
100 | outline: 0; | 121 | outline: 0; |
@@ -106,7 +127,6 @@ | |||
106 | text-decoration: none; | 127 | text-decoration: none; |
107 | } | 128 | } |
108 | 129 | ||
109 | |||
110 | button, | 130 | button, |
111 | input, | 131 | input, |
112 | textarea { | 132 | textarea { |
diff --git a/src/scopes/_implicit.vars.scss b/src/scopes/_implicit.vars.scss index 388f0af..d8d79cf 100644 --- a/src/scopes/_implicit.vars.scss +++ b/src/scopes/_implicit.vars.scss | |||
@@ -24,3 +24,6 @@ $heading--font-size: props.def(--s-implicit--heading--font-size, props.g | |||
24 | $heading--feature-settings: props.def(--s-implicit--heading--feature-settings, props.get(core.$font--standard--feature-settings)) !default; | 24 | $heading--feature-settings: props.def(--s-implicit--heading--feature-settings, props.get(core.$font--standard--feature-settings)) !default; |
25 | 25 | ||
26 | $heading--color: props.def(--s-implicit--heading--color, props.get(core.$theme, --heading), 'color') !default; | 26 | $heading--color: props.def(--s-implicit--heading--color, props.get(core.$theme, --heading), 'color') !default; |
27 | |||
28 | $list--indent: props.def(--s-implicit--list--indent, calc(props.get(core.$list--indent) + 1em)) !default; | ||
29 | $list--margin-bs: props.def(--s-implicit--list--margin-bs, props.get($paragraph--margin-bs)) !default; | ||