Commit: 097401b12dc900ce62775842861401638638c9df Author: Hannes Magnusson <[email protected]> Thu, 26 Dec 2013 15:37:15 -0800 Parents: 7a25f2737b72464bf58e9225322142711e466ddc Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=097401b12dc900ce62775842861401638638c9df Log: Fiddle a little with the menu to fit more content Also made it fixed (and transparent!) so we don't have to scroll to it Changed paths: M js/common.js M styles/theme-base.css Diff: diff --git a/js/common.js b/js/common.js index 98c9aa1..4ef9b92 100755 --- a/js/common.js +++ b/js/common.js @@ -57,7 +57,6 @@ Mousetrap.bind('up up down down left right left right b a enter', function() { $(".brand img").attr("src", "/images/php_konami.gif"); }); Mousetrap.bind("?", function() { - $.scrollTo(0, 10); $("#trick").slideToggle(); }); /* diff --git a/styles/theme-base.css b/styles/theme-base.css index 00a7141..e15a8b6 100755 --- a/styles/theme-base.css +++ b/styles/theme-base.css @@ -1737,23 +1737,18 @@ div.soft-deprecation-notice blockquote.sidebar { #trick { display: none; background-color: #333; - border: .5em solid #9999CC; - border-right: 0; - border-left: 0; - border-top: 0; height: 100%; width: 100%; + opacity: 0.9; + position: fixed; + top: 50px; + z-index: 5000; } #trick div { margin: 0 auto; } -#trick dt { - margin: 0 auto; -} #trick dt, #trick dl { color: #eee; - font-weight: bold; - margin-top: 1em; } #trick dl { display: inline-block; @@ -1762,9 +1757,8 @@ div.soft-deprecation-notice blockquote.sidebar { #trick a { color: #eee; display: block; - padding: 2px; - color: #ccc; border-bottom: none; + padding: 1px; } /* {{{ Right-hand sidebar */ aside.tips { -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
