summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-02-20 03:17:48 -0800
committerelijah <elijah@riseup.net>2013-02-20 03:17:48 -0800
commit90a46f14446eb03dd9c3e89a427249de9a1236ad (patch)
treee31033e06da897c7177184769f910145b1403f09 /app
parentdb22c6c5dabac89b66aab8dd0710636d9be75a67 (diff)
remove stupid pandoc for now, use rdiscount and RbST instead.
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/typography.scss59
1 files changed, 32 insertions, 27 deletions
diff --git a/app/assets/stylesheets/typography.scss b/app/assets/stylesheets/typography.scss
index 11519c4..8cd5db0 100644
--- a/app/assets/stylesheets/typography.scss
+++ b/app/assets/stylesheets/typography.scss
@@ -55,38 +55,43 @@ a:visited {
color: $linkVisitedColor;
}
-//
-// Pandoc specific HTML
-//
-
#TOC {
- //ul {
- // list-style-type: decimal;
- // }
+ margin-top: 1em;
+ margin-bottom: 1em;
ul {
list-style-type: none;
- counter-reset: level1;
- }
- ul li:before {
- content: counter(level1) ". ";
- counter-increment: level1;
- }
- ul li ul {
- list-style-type: none;
- counter-reset: level2;
+ margin: 0;
}
- ul li ul li:before {
- content: counter(level1) "." counter(level2) " ";
- counter-increment: level2;
+ li ul {
+ margin-left: 25px;
}
+ // ul {
+ // list-style-type: none;
+ // counter-reset: level1;
+ // }
+ // ul li:before {
+ // content: counter(level1) ". ";
+ // counter-increment: level1;
+ // }
+ // ul li ul {
+ // list-style-type: none;
+ // counter-reset: level2;
+ // }
+ // ul li ul li:before {
+ // content: counter(level1) "." counter(level2) " ";
+ // counter-increment: level2;
+ // }
}
-a[href="#TOC"] {
- color: black;
- pointer-events: none;
- cursor: default;
- &:hover {
- text-decoration: none;
- }
-}
+//
+// pandoc specific
+//
+// a[href="#TOC"] {
+// color: black;
+// pointer-events: none;
+// cursor: default;
+// &:hover {
+// text-decoration: none;
+// }
+// }