Commit: a9b95f046cb88c870432d0f242f17dc2b5586972 Author: Adam Harvey <[email protected]> Fri, 7 Jan 2011 11:08:57 +0000 Parents: 928777195196a4d90ea48ec34d095ea89d8438a3 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=a9b95f046cb88c870432d0f242f17dc2b5586972 Log: Since we're already using the new HTML5 semantic elements elsewhere, let's use <nav> as well. Changed paths: M include/header.inc M styles/home.css M styles/theme.css Diff: diff --git a/include/header.inc b/include/header.inc index df42271..5eb3fe1 100644 --- a/include/header.inc +++ b/include/header.inc @@ -43,6 +43,7 @@ if (isset($shortname) && $shortname) { document.createElement("section"); document.createElement("aside"); document.createElement("footer"); + document.createElement("nav"); </script> <![endif]--> @@ -79,7 +80,7 @@ if (isset($shortname) && $shortname) { </div> </div> -<div id="headnav"> +<nav id="headnav"> <ul id="headmenu"> <li id="headsearch"> @@ -203,7 +204,7 @@ if (isset($shortname) && $shortname) { </ul> <br style="clear: both;" /> -</div> +</nav> <div id='mega-drop-down'> <div id='menu-container'> diff --git a/styles/home.css b/styles/home.css index 47aefd0..4e1caf1 100644 --- a/styles/home.css +++ b/styles/home.css @@ -58,6 +58,11 @@ complimentary greens: 9FB553 7B8851 61761B C6DA82 CCDA99 border: none; } +#mega-drop-down div.download a.windows { + background-image: url('/images/mega-windows.png'); + background-position: 46px 50%; +} + #mega-drop-down div.download a span { display: block; clear: right; diff --git a/styles/theme.css b/styles/theme.css index f81e5f8..4c82ce9 100644 --- a/styles/theme.css +++ b/styles/theme.css @@ -494,7 +494,7 @@ footer a:hover { color: #000; } -section, footer, aside { +section, footer, aside, nav { display: block; } -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
