svn commit: samba-web r702 - in trunk/style: .

deryck at samba.org deryck at samba.org
Sat Jun 18 19:27:50 GMT 2005


Author: deryck
Date: 2005-06-18 19:27:50 +0000 (Sat, 18 Jun 2005)
New Revision: 702

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-web&rev=702

Log:
Working my way through the stylesheets, adding 
comments and cleaning up formating.

Just a bit of house cleaning to remind myself why 
I did the things I did. :-) More to follow...

deryck

Modified:
   trunk/style/common.css


Changeset:
Modified: trunk/style/common.css
===================================================================
--- trunk/style/common.css	2005-06-18 19:05:48 UTC (rev 701)
+++ trunk/style/common.css	2005-06-18 19:27:50 UTC (rev 702)
@@ -1,15 +1,39 @@
-/* common.css */
+/* 
+	common.css
+	by Deryck Hodge <deryck at samba.org>
 
-	/********* Basic elements across the site **********/
-	/***************************************************/
+	Basic styles common to all of samba.org, including VirtualHosts
+	bugzilla.samba.org, build.samba.org, and news.samba.org.
 
+	You may freely use and modify the styles here, but if you 
+	intend to recreate the samba.org look exactly, please ask
+	permission first.
+*/
+
+
+/* Base elements
+***********************************************************/
 body {
 	margin:0;
+	padding:0;
 	background-color:#E5E9F5;
 	font-family:Lucidasans, Helvetica, Verdana, sans-serif;
 	font-size:medium;
 	color:#000;
 }
+blockquote {				
+	margin:35px;			
+	padding:15px; 			
+	border-left:2px groove #CCC;
+	border-top:2px groove #CCC;
+}
+img {
+	border:0;
+}
+
+
+/* Headings
+***********************************************************/
 h1 {
 	font-size:x-large;
 }
@@ -42,6 +66,17 @@
 h6 a {
 	margin-right:3px;
 }
+
+
+/* Lists
+***********************************************************/
+ol li {
+	margin-bottom:12px;
+}
+
+
+/* Tables
+***********************************************************/
 table.real thead { 
         background-color: #E5E9F5;
 }
@@ -58,24 +93,10 @@
 	color:#CC0033;
 	background-color:#FFFF64;
 }
-ol li {
-	margin-bottom:12px;
-}
-blockquote {				
-	margin:35px;			
-	padding:15px; 			
-	border-left:2px groove #CCC;
-	border-top:2px groove #CCC;
-}
-img {
-	border:0;
-}
-.punch {  			/*creates a bold typeface */
-	font-weight:bold;
-}
 
-	/********************* header styles *******************************/
-	/******************************************************************/
+
+/* Header (yellow and blue stripes)
+***********************************************************/
 #banner {
 	position:absolute;
 	top:0;
@@ -102,6 +123,10 @@
 	border-top:2px solid #575756;
 	border-bottom:2px solid #575756;
 }
+
+
+/* Slogan ("Opening windows to a wider world")
+***********************************************************/
 .slogan {
 	position:absolute;
 	left:187px;
@@ -117,8 +142,9 @@
 	top:100px;
 }
 
-		/******** PNG logo with transparency across browsers  */
-		/******************************************************/
+
+/* Logo (with hacks for PNG transparency across browsers)
+***********************************************************/
 #logo>.logo_hack {
 	background-image:url(/samba/images/logo.png);
 	background-position:center;
@@ -137,8 +163,9 @@
 	background:transparent;
 }
 
-		/******** Main nav menu styles ****************/
-		/**********************************************/
+
+/* Nav menu
+***********************************************************/
 .nav {
 	position:absolute;
 	top:152px;
@@ -180,6 +207,13 @@
 	width:180px;
 	height:30px;
 }
+
+
+/* Text and alignment formats
+***********************************************************/
+.punch {
+	font-weight:bold;
+}
 .colophon {
 	margin-left:20px;
 }



More information about the samba-cvs mailing list