summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-11-14 20:14:07 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-11-14 20:14:07 +0200
commit42d9400e5ad20757e8ab324e68ea687453a5329f (patch)
tree4d3cda27c1d82b13e4f0d04420cab61cf1a24e38 /app
parentf51c21b671c9abedc5773a3cf17b0d762cee814b (diff)
downloadgitlab-ce-42d9400e5ad20757e8ab324e68ea687453a5329f.tar.gz
Improve markdwon typography
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/gitlab_bootstrap/mixins.scss34
1 files changed, 30 insertions, 4 deletions
diff --git a/app/assets/stylesheets/gitlab_bootstrap/mixins.scss b/app/assets/stylesheets/gitlab_bootstrap/mixins.scss
index edb086989c5..2645e0ecb7d 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 {