From 90a46f14446eb03dd9c3e89a427249de9a1236ad Mon Sep 17 00:00:00 2001 From: elijah Date: Wed, 20 Feb 2013 03:17:48 -0800 Subject: remove stupid pandoc for now, use rdiscount and RbST instead. --- app/assets/stylesheets/typography.scss | 59 ++++++++++++++++++---------------- 1 file changed, 32 insertions(+), 27 deletions(-) (limited to 'app') 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; +// } +// } -- cgit v1.2.3