diff options
Diffstat (limited to 'assets/sass/components/_list.scss')
-rw-r--r-- | assets/sass/components/_list.scss | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/assets/sass/components/_list.scss b/assets/sass/components/_list.scss new file mode 100644 index 0000000..445c472 --- /dev/null +++ b/assets/sass/components/_list.scss @@ -0,0 +1,45 @@ +/// +/// Big Picture by Pixelarity +/// pixelarity.com | hello@pixelarity.com +/// License: pixelarity.com/license +/// + +/* List */ + + ul { + &.default { + list-style: disc; + padding-left: 1em; + + li { + padding-left: 0.5em; + } + } + + &.menu { + cursor: default; + + li { + display: inline-block; + line-height: 1em; + border-left: solid 1px _palette(border); + padding: 0 0 0 0.5em; + margin: 0 0 0 0.5em; + + &:first-child { + border-left: 0; + padding-left: 0; + margin-left: 0; + } + } + } + } + + ol.default { + list-style: decimal; + padding-left: 1.25em; + + li { + padding-left: 0.25em; + } + }
\ No newline at end of file |