Module: website Branch: master Commit: 1be9ac265b2abea89457ac2dcb97b32c432914ff URL: http://source.winehq.org/git/website.git/?a=commit;h=1be9ac265b2abea89457ac2...
Author: Jeremy Newman jnewman@codeweavers.com Date: Mon Oct 18 10:34:11 2010 -0500
move poitioning of certain elements to the .pos class
---
styles.css | 11 +++++++---- templates/en/global/themes/winehq/content.template | 6 +++--- .../en/global/themes/winehq/content_nobox.template | 8 ++++---- 3 files changed, 14 insertions(+), 11 deletions(-)
diff --git a/styles.css b/styles.css index d638a03..cc61d3e 100644 --- a/styles.css +++ b/styles.css @@ -14,26 +14,29 @@ BODY { position: absolute; z-index: 2; top: 0px; - left: 0px; width: 200px; height: 313px; } +#logo_glass_big.pos { left: 0px; } + #logo_glass { position: absolute; z-index: 2; top: 20px; - left: 50px; width: 100px; height: 157px; } +#logo_glass.pos { left: 50px; } + #logo_text { position: absolute; z-index: 3; top: 40px; - left: 110px; width: 186px; height: 58px; } +#logo_text.pos { left: 110px; } + #logo_blurb { position: absolute; z-index: 4; @@ -62,10 +65,10 @@ BODY { position: absolute; z-index: 6; top: 0px; - right: 10px; margin: 0px; padding: 0px; } +#tabs.pos { right: 10px; } #tabs UL { list-style: none; padding: 0; diff --git a/templates/en/global/themes/winehq/content.template b/templates/en/global/themes/winehq/content.template index cd405ff..92b44ac 100644 --- a/templates/en/global/themes/winehq/content.template +++ b/templates/en/global/themes/winehq/content.template @@ -24,8 +24,8 @@ <body>
-<div id="logo_glass"><a href="{$root}/"><img src="{$root}/images/winehq_logo_glass_sm.png" alt=""></a></div> -<div id="logo_text"><a href="{$root}/"><img src="{$root}/images/winehq_logo_text.png" alt="WineHQ" title="WineHQ"></a></div> +<div id="logo_glass" class="pos"><a href="{$root}/"><img src="{$root}/images/winehq_logo_glass_sm.png" alt=""></a></div> +<div id="logo_text" class="pos"><a href="{$root}/"><img src="{$root}/images/winehq_logo_text.png" alt="WineHQ" title="WineHQ"></a></div>
<div id="logo_blurb">{$page_blurb}</div> @@ -42,7 +42,7 @@ </div>
-<div id="tabs"> +<div id="tabs" class="pos"> <ul> <li class="s"><a href="{$base_url}">WineHQ</a></li> <li><a href="http://wiki.winehq.org/">Wiki</a></li> diff --git a/templates/en/global/themes/winehq/content_nobox.template b/templates/en/global/themes/winehq/content_nobox.template index 8eaa440..10c1370 100644 --- a/templates/en/global/themes/winehq/content_nobox.template +++ b/templates/en/global/themes/winehq/content_nobox.template @@ -24,8 +24,8 @@ <body>
-<div id="logo_glass_big"><a href="{$root}/"><img src="{$root}/images/winehq_logo_glass.png" alt=""></a></div> -<div id="logo_text"><a href="{$root}/"><img src="{$root}/images/winehq_logo_text.png" alt="WineHQ" title="WineHQ"></a></div> +<div id="logo_glass_big" class="pos"><a href="{$root}/"><img src="{$root}/images/winehq_logo_glass.png" alt=""></a></div> +<div id="logo_text" class="pos"><a href="{$root}/"><img src="{$root}/images/winehq_logo_text.png" alt="WineHQ" title="WineHQ"></a></div>
<div id="logo_blurb">{$page_blurb}</div> @@ -42,10 +42,10 @@ </div>
-<div id="tabs"> +<div id="tabs" class="pos"> <ul> <li class="s"><a href="{$base_url}">WineHQ</a></li> - <li><a href="http://wiki.winehq.org">Wiki</a></li> + <li><a href="http://wiki.winehq.org/">Wiki</a></li> <li><a href="http://appdb.winehq.org/">AppDB</a></li> <li><a href="http://bugs.winehq.org/">Bugzilla</a></li> <li><a href="http://forums.winehq.org/">Forums</a></li>