From 42d9400e5ad20757e8ab324e68ea687453a5329f Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Thu, 14 Nov 2013 20:14:07 +0200 Subject: [PATCH] Improve markdwon typography --- app/assets/stylesheets/gitlab_bootstrap/mixins.scss | 34 ++++++++++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/gitlab_bootstrap/mixins.scss b/app/assets/stylesheets/gitlab_bootstrap/mixins.scss index edb0869..2645e0e 100644 --- a/app/assets/stylesheets/gitlab_bootstrap/mixins.scss +++ b/app/assets/stylesheets/gitlab_bootstrap/mixins.scss @@ -89,10 +89,26 @@ } code { padding: 0 4px; } - h1 { margin-top: 30px;} - h2 { margin-top: 25px;} - h3 { margin-top: 20px;} - h4 { margin-top: 15px;} + + h1 { + margin-top: 45px; + font-size: 2.5em; + } + + h2 { + margin-top: 40px; + font-size: 2em; + } + + h3 { + margin-top: 35px; + font-size: 2em; + } + + h4 { + margin-top: 30px; + font-size: 1.5em; + } blockquote p { color: #888; @@ -107,6 +123,16 @@ background: #EEE; } } + + code { + font-size: inherit; + font-weight: inherit; + color: #555; + } + + li { + line-height: 1.5; + } } @mixin page-title { -- libgit2 0.21.2