diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-02-17 09:13:48 -0600 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-02-17 12:25:24 -0600 |
commit | 1c6ea479837d2161ed524cc6821e4fc79e7e2fac (patch) | |
tree | a788397015fa73fdc372fd535a69eaca425b2bff /app/assets | |
parent | 60db4d3a512cb87fe137a4333df5d6bfedcaeae5 (diff) | |
download | gitlab-ce-1c6ea479837d2161ed524cc6821e4fc79e7e2fac.tar.gz |
Move tanuki to left of title; increase max-width of title
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/stylesheets/framework/header.scss | 26 | ||||
-rw-r--r-- | app/assets/stylesheets/framework/nav.scss | 1 |
2 files changed, 4 insertions, 23 deletions
diff --git a/app/assets/stylesheets/framework/header.scss b/app/assets/stylesheets/framework/header.scss index 367289968c9..edc86b20fd2 100644 --- a/app/assets/stylesheets/framework/header.scss +++ b/app/assets/stylesheets/framework/header.scss @@ -150,16 +150,11 @@ header { } .header-logo { - position: absolute; - left: 50%; + display: inline-block; + margin: 0 8px 0 3px; + position: relative; top: 7px; transition-duration: .3s; - z-index: 999; - - #logo { - position: relative; - left: -50%; - } svg, img { @@ -169,15 +164,6 @@ header { &:hover { cursor: pointer; } - - @media (max-width: $screen-xs-max) { - right: 20px; - left: auto; - - #logo { - left: auto; - } - } } .title { @@ -185,7 +171,7 @@ header { padding-right: 20px; margin: 0; font-size: 18px; - max-width: 385px; + max-width: 450px; display: inline-block; line-height: $header-height; font-weight: normal; @@ -195,10 +181,6 @@ header { vertical-align: top; white-space: nowrap; - @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) { - max-width: 300px; - } - @media (max-width: $screen-xs-max) { max-width: 190px; } diff --git a/app/assets/stylesheets/framework/nav.scss b/app/assets/stylesheets/framework/nav.scss index 6a3481524e9..4af04423ebb 100644 --- a/app/assets/stylesheets/framework/nav.scss +++ b/app/assets/stylesheets/framework/nav.scss @@ -79,7 +79,6 @@ } &.sub-nav { - text-align: center; background-color: $gray-normal; .container-fluid { |