summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/typography.scss13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/assets/stylesheets/typography.scss b/app/assets/stylesheets/typography.scss
index 6cf1d63..e96b02f 100644
--- a/app/assets/stylesheets/typography.scss
+++ b/app/assets/stylesheets/typography.scss
@@ -11,6 +11,18 @@
}
//
+// bootstrap default for headings has a really large line-height, which makes the headings look totally
+// weird if they span multiple lines.
+//
+
+h2 {
+ line-height: 1.2em;
+ margin-top: 0.1em;
+ margin-bottom: 0.25em;
+}
+
+
+//
// make headings and paragraphs that are at the top of the page fit more snugly against the top.
//
h1, h2, h3 {
@@ -23,6 +35,7 @@ p.first {
margin-top: 0 !important;
}
+
.ol {@extend ol}
.li {@extend li}