Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-27 02:15:51 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-27 02:15:51 +0300
commit2b8b060236535d3abe27d705be97523b0816da67 (patch)
tree74aa6060cc0fff1eea1a8b81d6a86678939d0488 /app
parentff7055eef30ac6e770166728443c22b88e07f561 (diff)
Make code font size a bit bigger so its easier to read it
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/generic/highlight.scss8
-rw-r--r--app/assets/stylesheets/main/variables.scss1
2 files changed, 5 insertions, 4 deletions
diff --git a/app/assets/stylesheets/generic/highlight.scss b/app/assets/stylesheets/generic/highlight.scss
index 83dc7ab491a..839551ca8da 100644
--- a/app/assets/stylesheets/generic/highlight.scss
+++ b/app/assets/stylesheets/generic/highlight.scss
@@ -10,8 +10,8 @@
border: none;
border-radius: 0;
font-family: $monospace_font;
- font-size: 12px !important;
- line-height: 16px !important;
+ font-size: $code_font_size !important;
+ line-height: 1.4 !important;
margin: 0;
overflow: auto;
overflow-y: hidden;
@@ -38,8 +38,8 @@
a {
font-family: $monospace_font;
display: block;
- font-size: 12px !important;
- line-height: 16px !important;
+ font-size: $code_font_size !important;
+ line-height: 1.4 !important;
white-space: nowrap;
i {
diff --git a/app/assets/stylesheets/main/variables.scss b/app/assets/stylesheets/main/variables.scss
index 6bbce70a782..f2402a4fc30 100644
--- a/app/assets/stylesheets/main/variables.scss
+++ b/app/assets/stylesheets/main/variables.scss
@@ -59,3 +59,4 @@ $list-font-size: 15px;
$sidebar_width: 230px;
$avatar_radius: 50%;
+$code_font_size: 13px;