diff options
author | elijah <elijah@riseup.net> | 2012-08-24 21:12:36 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2012-08-24 21:12:36 -0700 |
commit | 627f0488e5bd3c31359fc9e78acffbfea4a86a8b (patch) | |
tree | f7b14733e314cf82d5fa3e18cbe9d98c2ffe5c7c /app/assets/stylesheets/typography.scss | |
parent | b774dea07f97b078fa17e5dcbf901d1c83fed0d6 (diff) |
committed website v. 0.1.0
Diffstat (limited to 'app/assets/stylesheets/typography.scss')
-rw-r--r-- | app/assets/stylesheets/typography.scss | 33 |
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 |