Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=homepage-ng.git;a=commitdiff;h=e961fe1c6c7535d7728a7f62a4515fb3b9c2e2f9
commit e961fe1c6c7535d7728a7f62a4515fb3b9c2e2f9 Author: Devil505 <[email protected]> Date: Wed Feb 2 11:28:57 2011 +0100 * improving design * languagues box now on top diff --git a/frugalware/footer.php b/frugalware/footer.php index 5495aa4..a0fd6f0 100644 --- a/frugalware/footer.php +++ b/frugalware/footer.php @@ -1,11 +1,12 @@ </div> <!-- main content end --> - +</div> <!-- footer start --> <div id="fwfooter"> © <?php echo $copydate; ?>. <a href="mailto:[email protected]">The Frugalware Developer Team</a> </div> <!-- footer end --> + </body> </html> diff --git a/frugalware/header.php b/frugalware/header.php index c451e22..da2a22d 100644 --- a/frugalware/header.php +++ b/frugalware/header.php @@ -37,7 +37,7 @@ else if($_SERVER['PHP_SELF']=="/packages.php") <!-- header start --> <div id="header"> - <a href="http://<?php echo $_SERVER["SERVER_NAME"]; ?>"><object width="76" height="76" type="image/svg" data="<?php echo $fwng_root; ?>images/header.svg"><img alt="Frugalware Linux - Let's make things Frugal!" src="<?php echo $fwng_root; ?>images/header.png"></object><span id="title">FRUGALWARE LINUX</span><span id="slogan">Letâs make things frugal!</span></a> + <a href="http://<?php echo $_SERVER["SERVER_NAME"]; ?>"><object width="56" height="56" type="image/svg" data="<?php echo $fwng_root; ?>images/header.svg"><img alt="Frugalware Linux - Let's make things Frugal!" src="<?php echo $fwng_root; ?>images/header.png"></object><span id="title">FRUGALWARE LINUX</span><span id="slogan">Letâs make things frugal!</span></a> </div> <!-- header end --> @@ -46,15 +46,15 @@ else if($_SERVER['PHP_SELF']=="/packages.php")  <?php echo $menucontent; ?> </div> <!-- nav end --> - +<div id='bigwrap'> <!-- main content start --> <div id="leftcolumn"> <?php +fwsidebox(gettext("Languages"), $langcontent); fwsidebox(gettext("Releases"), $data['releases']); if ($data['paypal'] != '') fwsidebox(gettext("Donations"), $data['paypal']); fwsidebox(gettext("Recent updates"), $data['packages']); -fwsidebox(gettext("Languages"), $langcontent); fwsidebox(gettext("Information"), $validcontent); fwsidebox(gettext("Server information"), $data['uptime']); ?> diff --git a/frugalware/images/bg.png b/frugalware/images/bg.png new file mode 100644 index 0000000..0958471 Binary files /dev/null and b/frugalware/images/bg.png differ diff --git a/frugalware/static/common.css b/frugalware/static/common.css index fa8a844..a9cfefd 100644 --- a/frugalware/static/common.css +++ b/frugalware/static/common.css @@ -4,20 +4,28 @@ */ body { - background-color: #fff; - font-family: "DejaVu Sans", "Bitstream Vera Sans", Lucida Grande, Arial, sans-serif; - font-size: 0.75em; - color: #000; + background: #eee url(images/bg.png) repeat-y center; + color: #5c5c5c; + margin: 0 10px 16px; + font: 70%/160% Verdana, Arial, "Bitstream Vera Sans", sans-serif; + text-align: justify; padding: 0; margin: 0; } +#bigwrap { + width: 980px; + margin: 0 auto; + text-align: left; +} + + /* Main divs */ #nav { width: 100%; height: 18px; - padding: 4px 0 0 0; + padding: 0px 0 0 0; margin: 0; margin-top: 0px; margin-bottom: 0px; @@ -27,10 +35,12 @@ body { border: 0; } + #header { /* Width below the header */ margin-bottom: 0px; background-image: url(../images/header_bg.png); + font: 1px; } #header img { @@ -45,14 +55,14 @@ body { #title { position: absolute; font-size: 1.5em; - top: 20px; + top: 10px; left: 90px; } #slogan { position: absolute; - font-size: 1.05em; - top: 50px; + font-size: 0.95em; + top: 30px; left: 105px; } @@ -62,7 +72,6 @@ body { padding: 10px; margin: 0px; height: 100%; - background-color: #fff; } #centercolumn { @@ -84,10 +93,11 @@ body { #fwfooter { clear: both; - border: 1px solid #98b7cd; + border: 0px solid #98b7cd; background-color: #98b7cd; color: #fff; text-align: center; + width: 100%; } @@ -171,7 +181,7 @@ a.menu:hover { font-size: 1.3em; text-align: left; background-color: transparent; - text-shadow:0px 0px 9px #777; + text-shadow:0px 0px 9px #FFFFFF; } .boxcontent { @@ -189,6 +199,10 @@ a.menu:hover { padding: 2px; } +.sidecontent p { + line-height : 10px; +} + .imgcontent { text-align: left; vertical-align: bottom;
_______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
