diff options
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/stylesheets/application.scss | 7 | ||||
-rw-r--r-- | app/assets/stylesheets/typography.scss | 44 |
2 files changed, 50 insertions, 1 deletions
diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 50331b4..82f7e24 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -19,6 +19,13 @@ $fluidGridGutterWidth: 2.127659574% !default; // side navigation $side-columns: 3; +//$linkColor: #2072FF; +//$linkColor: #04c; +//$linkVisitedColor: #40c; + +$linkColor: #00F; +$linkVisitedColor: #339; + // // IMPORT LIBRARIES // 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; + } +} + |