diff options
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 |