summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/typography.scss
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2012-08-24 21:12:36 -0700
committerelijah <elijah@riseup.net>2012-08-24 21:12:36 -0700
commit627f0488e5bd3c31359fc9e78acffbfea4a86a8b (patch)
treef7b14733e314cf82d5fa3e18cbe9d98c2ffe5c7c /app/assets/stylesheets/typography.scss
parentb774dea07f97b078fa17e5dcbf901d1c83fed0d6 (diff)
committed website v. 0.1.0
Diffstat (limited to 'app/assets/stylesheets/typography.scss')
-rw-r--r--app/assets/stylesheets/typography.scss33
1 files changed, 33 insertions, 0 deletions
diff --git a/app/assets/stylesheets/typography.scss b/app/assets/stylesheets/typography.scss
new file mode 100644
index 0000000..651eebf
--- /dev/null
+++ b/app/assets/stylesheets/typography.scss
@@ -0,0 +1,33 @@
+.p {
+ margin-top: 1em;
+ margin-bottom: 1em;
+ &:first-child {
+ margin-top: 0;
+ }
+}
+
+//
+// make headings and paragraphs that are at the top of the page fit more snugly against the top.
+//
+h1, h2, h3 {
+ &.first {
+ line-height: 0.8em;
+ margin-bottom: 0.4em
+ }
+}
+p.first {
+ margin-top: 0 !important;
+}
+
+.ol {@extend ol}
+.li {@extend li}
+
+.h1 {@extend h1}
+.h2 {@extend h2}
+.h3 {@extend h3}
+
+.bigger {
+ font-size: 140%;
+ line-height: 140%;
+ margin: 20px 0;
+} \ No newline at end of file