alpha.php.net - menu tweak
| From: | Wojciech Kupiec | Date: | Tue, 26 Jul 2011 20:13:04 +0000 |
| Subject: | alpha.php.net - menu tweak | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-11778@lists.php.net to get a copy of this message | ||
Stewart,
Could you please consider below css tweak.
The aim is to reduce menu items height to better fit if there is too many drop-down-menu items (like in Documentation).
Index: styles/theme.css
===================================================================
--- styles/theme.css (revision 313745)
+++ styles/theme.css (working copy)
@@ -395,6 +395,7 @@
#mega-drop-down div.children {
border-bottom-width: 12px;
border-bottom-style: solid;
+ padding-top: 1em;
padding-bottom: 1em;
}
@@ -411,7 +412,6 @@
#mega-drop-down dt, #mega-drop-down li {
font-weight: bold; - margin-top: 1em;} #mega-drop-down dd { @@ -422,7 +422,7 @@ #mega-drop-down a {
display: block;
- padding: 4px;
+ padding: 2px;
color: #ccc;
}
@@ -629,4 +629,4 @@
table.standard td {
padding: 5px 10px;
vertical-align: middle;
-}
\ No newline at end of file
+}