[Checkins] SVN: z3c.website/trunk/src/z3c/website/ Added H1 - H6 styles

Roger Ineichen roger at projekt01.ch
Mon May 21 02:20:10 EDT 2007


Log message for revision 75854:
  Added H1 - H6 styles
  Changed css class for title
  Commit missing import
  

Changed:
  U   z3c.website/trunk/src/z3c/website/browser/page_index.pt
  U   z3c.website/trunk/src/z3c/website/site.py
  U   z3c.website/trunk/src/z3c/website/skin/demo.css

-=-
Modified: z3c.website/trunk/src/z3c/website/browser/page_index.pt
===================================================================
--- z3c.website/trunk/src/z3c/website/browser/page_index.pt	2007-05-21 04:48:00 UTC (rev 75853)
+++ z3c.website/trunk/src/z3c/website/browser/page_index.pt	2007-05-21 06:20:09 UTC (rev 75854)
@@ -1,4 +1,4 @@
-<div class="title"
+<div class="headline"
      tal:content="structure view/title">Title</div>
 <div class="body"
      tal:content="structure view/body">Body</div>

Modified: z3c.website/trunk/src/z3c/website/site.py
===================================================================
--- z3c.website/trunk/src/z3c/website/site.py	2007-05-21 04:48:00 UTC (rev 75853)
+++ z3c.website/trunk/src/z3c/website/site.py	2007-05-21 06:20:09 UTC (rev 75854)
@@ -41,6 +41,7 @@
 from z3c.resource.interfaces import IResource
 
 from z3c.website import interfaces
+from z3c.website import page
 from z3c.website import sample
 
 

Modified: z3c.website/trunk/src/z3c/website/skin/demo.css
===================================================================
--- z3c.website/trunk/src/z3c/website/skin/demo.css	2007-05-21 04:48:00 UTC (rev 75853)
+++ z3c.website/trunk/src/z3c/website/skin/demo.css	2007-05-21 06:20:09 UTC (rev 75854)
@@ -3,7 +3,7 @@
 
 body {
     font-family: Verdana, sans-serif;
-    font-size: 80%;
+    font-size: 100%;
     background-color: #B2B2B2;
     background-repeat: repeat-y;
     background-position: center;
@@ -41,7 +41,41 @@
     color: #214285;
 }
 
+h1 {
+    font-size: 150%;
+    color: #3257C2;
+    font-weight: normal;
+}
 
+h2 {
+    font-size: 125%;
+    color: #3257C2;
+    font-weight: normal;
+}
+
+h3 {
+    font-size: 100%;
+    color: #3257C2;
+    font-weight: normal;
+}
+
+h4 {
+    font-size: 85%;
+    color: #3257C2;
+}
+
+h5 {
+    font-size: 75%;
+    color: #3257C2;
+}
+
+
+h6 {
+    font-size: 75%;
+    color: #3257C2;
+}
+
+
 /* [ layout ]---------------------------------------------------------------- */
 
 div#layoutWrapper {
@@ -78,7 +112,7 @@
 
 img#betaLogo {
     position: absolute;
-    top: 10px;
+    top: 5px;
     right: 10px;
     padding: 5px 0px 0px 0px;
 }
@@ -149,8 +183,8 @@
 
 #naviContainer {
 	width: 200px;
-	float: left;
-	padding-top: 25px;
+	float: right;
+	padding: 25px 20px 0px 0px;
 }
 
 #naviContainer a {
@@ -193,19 +227,19 @@
 /*---[ content ]-------------------------------------------------------------*/
 #contentContainer {
 	float: left;
-	width: 720px;
+	width: 670px;
     margin: 0;
-    padding: 5px;
+    padding: 10px 10px 0px 20px;
 }
 
 #content {
-    padding: 15px 0px 0px 10px;
+    padding: 15px 0px 0px 0px;
 }
 
-#content div.title {
+#content div.headline {
     font-size: 175%;
-    color: #3257C2;
-    padding: 0px 0px 0px 0px;
+    color: #214285;
+    padding: 0px;
 }
 
 #content div.body {



More information about the Checkins mailing list