Commit 105f5ba3c992cf9c69951a4f9ca877afe803a23d
1 parent
d7eb3145
Exists in
master
and in
4 other branches
Reduce header font a bit. Moved to mixin header font styles
Showing
3 changed files
with
13 additions
and
14 deletions
Show diff stats
app/assets/stylesheets/mixins.scss
... | ... | @@ -57,4 +57,13 @@ |
57 | 57 | |
58 | 58 | @mixin solid-shade { |
59 | 59 | @include box-shadow(0 0 0 3px #f1f1f1); |
60 | -} | |
61 | 60 | \ No newline at end of file |
61 | +} | |
62 | + | |
63 | +@mixin header-font { | |
64 | + color: $style_color; | |
65 | + text-shadow: 0 1px 1px #FFF; | |
66 | + font-family: 'Korolev', sans-serif; | |
67 | + font-size: 28px; | |
68 | + line-height: 48px; | |
69 | + font-weight: normal; | |
70 | +} | ... | ... |
app/assets/stylesheets/sections/header.scss
... | ... | @@ -44,14 +44,9 @@ header { |
44 | 44 | background: url('logo_dark.png') no-repeat 0px 2px; |
45 | 45 | float: left; |
46 | 46 | margin-left: 2px; |
47 | - font-size: 30px; | |
48 | - line-height: 48px; | |
49 | - font-weight: normal; | |
50 | - color: $style_color; | |
51 | - text-shadow: 0 1px 1px #FFF; | |
52 | 47 | padding-left: 45px; |
53 | 48 | height: 40px; |
54 | - font-family: 'Korolev', sans-serif; | |
49 | + @include header-font; | |
55 | 50 | } |
56 | 51 | } |
57 | 52 | } |
... | ... | @@ -66,12 +61,7 @@ header { |
66 | 61 | float: left; |
67 | 62 | margin: 0; |
68 | 63 | margin-right: 30px; |
69 | - font-size: 30px; | |
70 | - line-height: 48px; | |
71 | - font-weight: normal; | |
72 | - color: $style_color; | |
73 | - text-shadow: 0 1px 1px #FFF; | |
74 | - font-family: 'Korolev', sans-serif; | |
64 | + @include header-font; | |
75 | 65 | } |
76 | 66 | |
77 | 67 | /** | ... | ... |