Prtksxna has uploaded a new change for review. https://gerrit.wikimedia.org/r/151028
Change subject: Fix style of responsive menu ...................................................................... Fix style of responsive menu Change-Id: Ia291beec7b5767d9f6498f58ba6c269e861b3a4d --- M source/layouts/layout.erb M source/stylesheets/master.css.scss 2 files changed, 12 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/wikimedia/TransparencyReport refs/changes/28/151028/1 diff --git a/source/layouts/layout.erb b/source/layouts/layout.erb index ad673ce..0dc9b73 100644 --- a/source/layouts/layout.erb +++ b/source/layouts/layout.erb @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title><%= current_page.data.title || "Wikimedia Foundation: Transparency Report" %></title> <%= stylesheet_link_tag "bootstrap.min.css" %> diff --git a/source/stylesheets/master.css.scss b/source/stylesheets/master.css.scss index 6cd5e59..8a6dd2d 100644 --- a/source/stylesheets/master.css.scss +++ b/source/stylesheets/master.css.scss @@ -35,13 +35,14 @@ .navbar-nav > li > a { color: $black; border-bottom: 2px solid $lightgray; + border-color: $lightgray; margin-left: 10px; font-size: 16px; padding: 16px 0 18px 0; width: 115px; &:hover, &.current { - border-bottom-color: $blue; + border-color: $blue; } } @@ -305,4 +306,13 @@ } } +} + +@media (max-width: 990px){ + .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a { + border-bottom: none; + border-left-width: 2px; + border-left-style: solid; + padding-left: 10px; + } } \ No newline at end of file -- To view, visit https://gerrit.wikimedia.org/r/151028 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia291beec7b5767d9f6498f58ba6c269e861b3a4d Gerrit-PatchSet: 1 Gerrit-Project: wikimedia/TransparencyReport Gerrit-Branch: master Gerrit-Owner: Prtksxna <psax...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits