aboutsummaryrefslogtreecommitdiffstats
path: root/src/scss/abstracts/_placeholders.scss
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2021-10-30 22:11:00 +0200
committerArmand Philippot <git@armandphilippot.com>2021-10-30 22:52:23 +0200
commit3a3baddad1c801d77dc398d2c6980f3c14f4a47c (patch)
tree9e06aef730504470111c010e53a1857f7b01ab83 /src/scss/abstracts/_placeholders.scss
parentc3045b163e74b42c0a0e71c646740c76d3bb5ba1 (diff)
chore: move htdocs to repo root
Diffstat (limited to 'src/scss/abstracts/_placeholders.scss')
-rw-r--r--src/scss/abstracts/_placeholders.scss32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/scss/abstracts/_placeholders.scss b/src/scss/abstracts/_placeholders.scss
new file mode 100644
index 0000000..079cae7
--- /dev/null
+++ b/src/scss/abstracts/_placeholders.scss
@@ -0,0 +1,32 @@
+/// List Reset
+%reset-list {
+ list-style-type: none;
+ margin: 0;
+ padding: 0;
+
+ li {
+ margin-bottom: 0;
+ }
+}
+
+/// Ordered List Reset
+%reset-ordered-list {
+ @extend %reset-list;
+
+ li {
+ counter-increment: none;
+ display: list-item;
+
+ &::before {
+ display: none;
+ }
+ }
+}
+
+/// Display an inline list with flexbox
+%flex-list {
+ @extend %reset-list;
+
+ display: flex;
+ flex-flow: row wrap;
+}