[freenet-cvs] r19687 - in trunk/website: . pages/de pages/en pages/sv

NEOatNHNG at freenetproject.org NEOatNHNG at freenetproject.org
Fri May 2 17:27:46 UTC 2008


Author: NEOatNHNG
Date: 2008-05-02 17:27:46 +0000 (Fri, 02 May 2008)
New Revision: 19687

Modified:
   trunk/website/index.php
   trunk/website/pages/de/menu.php
   trunk/website/pages/en/menu.php
   trunk/website/pages/sv/menu.php
   trunk/website/style.css
Log:
New website layout

Modified: trunk/website/index.php
===================================================================
--- trunk/website/index.php	2008-05-02 16:17:58 UTC (rev 19686)
+++ trunk/website/index.php	2008-05-02 17:27:46 UTC (rev 19687)
@@ -44,7 +44,7 @@
 	<script type="text/javascript" src="PluginDetect.js"></script>
 </head>
 
-<body bgcolor="#FFFFFF" text="#000000" link="#000000" vlink="#000033" alink="#000000">
+<body>
 <div id="top">
 	<a href="http://freenetproject.org/"><img border="0" alt="The Freenet Project" src="/image/title.gif" width="414" height="51"></a>
 </div>
@@ -64,7 +64,7 @@
 		}	
 	?>
 	<br>
-	<div align="center">
+	<div class="shop" align="center">
 		<a href="http://www.cafeshops.com/freenetproject"><img width="83" height="82" border="0" src="/image/freenet-mug.gif" alt="Freenet Store"><br>
 		<font size="-2">Visit the Freenet Store!</font></a>
 	</div>

Modified: trunk/website/pages/de/menu.php
===================================================================
--- trunk/website/pages/de/menu.php	2008-05-02 16:17:58 UTC (rev 19686)
+++ trunk/website/pages/de/menu.php	2008-05-02 17:27:46 UTC (rev 19687)
@@ -55,7 +55,7 @@
 	//far away from perfect but better than nothing!
 	//  if(!ereg("^A-Za-z0-9_-]+$",$link)){ echo "Nice try !"; exit();}
 	if ($link == $page) {
-		echo '<li><span style="font-weight: 800; background:#eee;">'.$text.'</span></li>';
+		echo '<li><span class="selected-menu">'.$text.'</span></li>';
 	} else {
 		lnk($text, $link.".html");
 	}

Modified: trunk/website/pages/en/menu.php
===================================================================
--- trunk/website/pages/en/menu.php	2008-05-02 16:17:58 UTC (rev 19686)
+++ trunk/website/pages/en/menu.php	2008-05-02 17:27:46 UTC (rev 19687)
@@ -55,7 +55,7 @@
 	//far away from perfect but better than nothing!
 	//  if(!ereg("^A-Za-z0-9_-]+$",$link)){ echo "Nice try !"; exit();}
 	if ($link == $page) {
-		echo '<li><span style="font-weight: 800; background:#eee;">'.$text.'</span></li>';
+		echo '<li><span class="selected-menu">'.$text.'</span></li>';
 	} else {
 		lnk($text, $link.".html");
 	}

Modified: trunk/website/pages/sv/menu.php
===================================================================
--- trunk/website/pages/sv/menu.php	2008-05-02 16:17:58 UTC (rev 19686)
+++ trunk/website/pages/sv/menu.php	2008-05-02 17:27:46 UTC (rev 19687)
@@ -44,7 +44,7 @@
 //  if(!ereg("^A-Za-z0-9_-]+$",$link)){ echo "Nice try !"; exit();}
   if ($link == $page) {
 ?>
-<li><span style="font-weight: 800; background:#eee;"><?=$text ?></span></li>
+<li><span class="selected-menu"><?=$text ?></span></li>
 <?
   } else {
 	lnk($text, $link.".html");

Modified: trunk/website/style.css
===================================================================
--- trunk/website/style.css	2008-05-02 16:17:58 UTC (rev 19686)
+++ trunk/website/style.css	2008-05-02 17:27:46 UTC (rev 19687)
@@ -1,20 +1,29 @@
+html {
+	background: #AACCFF;
+}
+
 body {
-	margin: 0 0 0 0; 
+	margin: 0 auto;
+	padding: 5px 20px;
+	max-width: 760px;
+	border: 1px solid #77BBFF;
+	background: #FFF;
 }
 
 div#menu {
-	 font-family: Sans-serif, Arial, "Times New Roman", Georgia, Times, serif; 
+	font-family: Sans-serif, Arial, "Times New Roman", Georgia, Times, serif; 
 	float:left;
 	font-style: normal;
 	font-weight: normal;
 	text-align: left;
 	line-height: 100%;
 	color: #000000;
-	background: #fafafa;
+	background: #CCDDFF;
 	text-decoration: none;
 	margin-top: 15px;
-	margin-right: 20px;
+	margin-right: 30px;
 	margin-bottom: 10px;
+	border: 1px solid #99CCFF;
 }
 
 
@@ -28,13 +37,12 @@
 		
 div#content {
 	/*font-family: Sans-serif, Arial, "Times New Roman", Georgia, Times, serif;*/
-	padding-left:20px;
+	/* padding-left:20px; */
 	font-style: normal;
 	font-size: 14px;
 	font-weight: normal;
 	color: #000000;
 	/* width: 600px; */
-	max-width: 700px;
 	/* float: left; */
 
 }
@@ -56,9 +64,6 @@
 a:link { text-decoration: none; color: #0033AA }
 a:visited { text-decoration: none; color: #0033AA }
 a:hover { text-decoration: none; color: #0033AA }
-a.menu:link { color: #000000; text-decoration: none }
-a.menu:visited { color: #000000; text-decoration: none }
-a.menu:hover { color: #000000; text-decoration: none }
 
 div.hideit { display: none; }
 
@@ -70,12 +75,7 @@
 		border: 1px dashed #ccc; 
 	}
 
-div#menu a  {
-				color:#09c;
-				text-decoration:none;
-				font-weight:200;
-			}
-	
+
 div#menu a:link {color:#000;}
 div#menu a:visited {color:#000;}
 div#menu a:hover {background-color:#eee;}
@@ -85,24 +85,28 @@
 		font-size: 16px;		
 		list-style-type: none; 		
 		list-style-position: inside;
-		margin:0 0 0 1em; 
+		margin:0 0 0 0; 
 		padding:0; 
 	  }
 	  
 .submenu { 
 			list-style-type: none; 
-			font-size: 75%; 
-		 }
+			font-size: 75%;
+			margin: 0 0 0 1em;
+			padding: 0;
+}
 
+.shop {
+	width: 100%;
+	background: #FFFFFF;
+	text-align: center;
+}
 
+.selected-menu {
+	font-weight: bold;
+	color:#13B;
+}
 
-.menu ul {
-			list-style-type: square; 
-			margin:0 0 0 2em; 
-			padding:0;
-		 }
-
-
 .paper-text { padding: 10px 0px 0px 30px; }
 .videoimage { vertical-align: top; padding-top:14px; padding-left:7px;}
 .pdfimage { vertical-align: top; padding-top:14px;}




More information about the cvs mailing list