]> _ Git - pmi.git/commitdiff
List styling for Markdown blocks. WIP #2742 @0.25
authorStephen Cameron <stephen@cubedesigners.com>
Wed, 17 Jul 2019 10:47:26 +0000 (12:47 +0200)
committerStephen Cameron <stephen@cubedesigners.com>
Wed, 17 Jul 2019 10:47:26 +0000 (12:47 +0200)
.gitignore
resources/styles/app.styl
resources/styles/common/markdown.styl [new file with mode: 0644]

index db14d302228a6d667805a2bbaeaa500baf3ac680..a1ac577d16c7f1bc55d84ffd473ab8a4be57753e 100644 (file)
@@ -4,7 +4,7 @@
 /public/mix-manifest.json
 /public/css
 /public/js
-/storage/*.key
+/storage
 /vendor
 /.idea
 /_doc
index f2129dd499afd3e529832b9a67e4839e89cb926d..0b868bd08a71034c9101348a5928f29e5ef96d56 100644 (file)
@@ -12,6 +12,7 @@
 @import 'common/global'
 @import 'common/headings'
 @import 'common/links'
+@import 'common/markdown'
 
 @import 'components/*'
 
diff --git a/resources/styles/common/markdown.styl b/resources/styles/common/markdown.styl
new file mode 100644 (file)
index 0000000..27f9ddd
--- /dev/null
@@ -0,0 +1,15 @@
+// Markdown blocks
+.markdown
+
+  li
+    padding-left: 1em
+    position: relative
+
+    &:before
+      content: '–' // &ndash;
+      position: absolute
+      top: 0
+      left: 0
+
+    &:not(:last-of-type)
+      margin-bottom: 0.5em