diff options
Diffstat (limited to 'app/assets/stylesheets/typography.scss')
-rw-r--r-- | app/assets/stylesheets/typography.scss | 44 |
1 files changed, 43 insertions, 1 deletions
diff --git a/app/assets/stylesheets/typography.scss b/app/assets/stylesheets/typography.scss index e96b02f..11519c4 100644 --- a/app/assets/stylesheets/typography.scss +++ b/app/assets/stylesheets/typography.scss @@ -28,7 +28,9 @@ h2 { h1, h2, h3 { &.first { line-height: 0.8em; - margin-bottom: 0.4em + margin-bottom: 0.4em; + //font-size: 3em; + //color: #333; } } p.first { @@ -48,3 +50,43 @@ p.first { line-height: 140%; margin: 20px 0; } + +a:visited { + color: $linkVisitedColor; +} + +// +// Pandoc specific HTML +// + +#TOC { + //ul { + // list-style-type: decimal; + // } + 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; + } +} + |