cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robbypelss...@apache.org
Subject svn commit: r1228327 - in /cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF: overview.html read/style.css
Date Fri, 06 Jan 2012 18:21:29 GMT
Author: robbypelssers
Date: Fri Jan  6 18:21:28 2012
New Revision: 1228327

URL: http://svn.apache.org/viewvc?rev=1228327&view=rev
Log:
using nav element for navigation now and made some style changes

Modified:
    cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/overview.html
    cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/read/style.css

Modified: cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/overview.html
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/overview.html?rev=1228327&r1=1228326&r2=1228327&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/overview.html (original)
+++ cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/overview.html Fri Jan  6
18:21:28 2012
@@ -26,8 +26,10 @@
   </head>
   <body>
     <header>
-      <section>
+      <section id="logo">
         <img src="images/cocoon.gif" alt="Cocoon logo"/>
+      </section>
+      <section id="page-title">
         <h1>Cocoon 3 Samples and Integration Tests: Overview </h1>
       </section>
     </header>
@@ -190,7 +192,7 @@
         </ul>
       </section>
     </article>
-    <section id="index">
+    <nav>
       <ul>
         <li><a href="#map-read" target="_self">map:read</a></li>
         <li><a href="#sax-pipelines" target="_self">Sax Pipelines</a></li>
@@ -213,6 +215,6 @@
         <li><a href="#cocoon-wicket-integration" target="_self">Cocoon-Wicket
integration</a></li>
         <li><a href="#stringtemplate" target="_self">StringTemplate</a></li>
       </ul>
-    </section>
+    </nav>
   </body>
 </html>
\ No newline at end of file

Modified: cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/read/style.css
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/read/style.css?rev=1228327&r1=1228326&r2=1228327&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/read/style.css (original)
+++ cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/read/style.css Fri Jan 
6 18:21:28 2012
@@ -24,36 +24,55 @@ body {
     font-size:15px;
 }
 
-header {
-    height: 120px;
-    margin-top:20px;
-    margin-bottom:20px;
-}
-
 h1 {
     font-size:22px;
-    text-shadow: 1px 2px 4px #000;
+    text-shadow: 2px 2px 3px #000;
 }
 
 h2 {
     font-size: 18px;
-    text-shadow: 2px 2px 3px #000;
+    text-shadow: 0px 0px 1px #000;
 }
 
-section, footer {
+#logo {
+    float: left;
+    width:35%;
+    box-shadow: none;
+    border:none;
+}
+
+#page-title {
+    float: right;
+    width: 60%;
+    box-shadow:none;
+    border:none;
+    padding-top:0px;
+}
+
+section, footer, nav {
     background-color: #FFFFFF;
     border: 1px solid #1178C2;
     box-shadow: 5px 5px 2px #888;
     border-radius: 0.8em 0.8em 0.8em 0.8em;
-    margin: 4px;
     padding: 5px 5px 10px;
+    margin-bottom: 10px;
+}
+
+header {
+    height: 60px;
+    margin:1%;
+    width: 98%;
+}
+
+article {
+    width: 60%;
+    margin-right:1%;
 }
 
 header, article {
     display: block;
     float: right;
     text-align: left;
-    width: 700px;
 }
 
 a:link, a:visited {
@@ -67,32 +86,32 @@ li {
     list-style-type: square;
 }
 
-#index {
+nav {
     float: left;
     text-align: left;
-    width: 230px;
+    width: 35%;
+    margin-left:1%;
     background-color: #D1C7C7;
-    border:none;
 }
 
-#index ul {
+nav ul {
     border-top: 1px solid #E7E2D7;
     list-style: none outside none;
     margin: 14px 0;
     padding: 0;
 }
-#index li {
+nav li {
     list-style: none outside none;
     margin: 0;
     padding: 0;
 }
-#index li a:link, #index li a:visited {
+nav li a:link, nav li a:visited {
     border-bottom: 1px solid #E7E2D7;
     float: left;
     padding: 3px 1%;
     width: 96%;
     color: black;
 }
-#index li a:hover {
+nav li a:hover {
     background: none repeat scroll 0 0 #F2F1EC;
 }
\ No newline at end of file



Mime
View raw message