mirror of
https://github.com/picocss/pico.git
synced 2025-04-20 16:46:14 -04:00
style: lists
This commit is contained in:
parent
3d27099a76
commit
00f1486a04
1 changed files with 2 additions and 9 deletions
|
@ -115,12 +115,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// Lists
|
// Lists
|
||||||
:where(dl, ol, ul) {
|
:where(ol, ul) {
|
||||||
padding-right: 0;
|
|
||||||
padding-left: var(#{$✨}spacing);
|
|
||||||
padding-inline-start: var(#{$✨}spacing);
|
|
||||||
padding-inline-end: 0;
|
|
||||||
|
|
||||||
li {
|
li {
|
||||||
margin-bottom: calc(var(#{$✨}typography-spacing-vertical) * 0.25);
|
margin-bottom: calc(var(#{$✨}typography-spacing-vertical) * 0.25);
|
||||||
}
|
}
|
||||||
|
@ -128,12 +123,10 @@
|
||||||
|
|
||||||
// Margin-top for nested lists
|
// Margin-top for nested lists
|
||||||
// 1. Remove the margin on nested lists in Chrome, Edge, IE, and Safari
|
// 1. Remove the margin on nested lists in Chrome, Edge, IE, and Safari
|
||||||
:where(dl, ol, ul) {
|
:where(dl, ol, ul) :where(dl, ol, ul) {
|
||||||
:is(dl, ol, ul) {
|
|
||||||
margin: 0; // 1
|
margin: 0; // 1
|
||||||
margin-top: calc(var(#{$✨}typography-spacing-vertical) * 0.25);
|
margin-top: calc(var(#{$✨}typography-spacing-vertical) * 0.25);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
ul li {
|
ul li {
|
||||||
list-style: square;
|
list-style: square;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue