Commit 863d297ede6989f00ab0a5af28efdf99a51f805a
1 parent
2c71c2e1
Exists in
master
and in
4 other branches
reduce fonts size for wiki render
Showing
1 changed file
with
5 additions
and
4 deletions
Show diff stats
app/assets/stylesheets/gitlab_bootstrap/typography.scss
| @@ -88,13 +88,14 @@ a:focus { | @@ -88,13 +88,14 @@ a:focus { | ||
| 88 | */ | 88 | */ |
| 89 | .wiki { | 89 | .wiki { |
| 90 | font-size: 13px; | 90 | font-size: 13px; |
| 91 | + line-height: 20px; | ||
| 91 | 92 | ||
| 92 | code { padding: 0 4px; } | 93 | code { padding: 0 4px; } |
| 93 | p { font-size: 13px; } | 94 | p { font-size: 13px; } |
| 94 | - h1 { font-size: 32px; line-height: 40px; margin: 10px 0;} | ||
| 95 | - h2 { font-size: 26px; line-height: 40px; margin: 10px 0;} | ||
| 96 | - h3 { font-size: 22px; line-height: 40px; margin: 10px 0;} | ||
| 97 | - h4 { font-size: 18px; line-height: 20px; margin: 10px 0;} | 95 | + h1 { font-size: 26px; line-height: 40px; margin: 10px 0;} |
| 96 | + h2 { font-size: 22px; line-height: 40px; margin: 10px 0;} | ||
| 97 | + h3 { font-size: 18px; line-height: 40px; margin: 10px 0;} | ||
| 98 | + h4 { font-size: 16px; line-height: 20px; margin: 10px 0;} | ||
| 98 | h5 { font-size: 14px; line-height: 20px; margin: 10px 0;} | 99 | h5 { font-size: 14px; line-height: 20px; margin: 10px 0;} |
| 99 | h6 { font-size: 12px; line-height: 20px; margin: 10px 0;} | 100 | h6 { font-size: 12px; line-height: 20px; margin: 10px 0;} |
| 100 | .white .highlight pre { background: #f5f5f5; } | 101 | .white .highlight pre { background: #f5f5f5; } |