You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by st...@apache.org on 2012/06/02 16:47:44 UTC

svn commit: r1345517 - in /incubator/deltaspike/site/trunk: content/resources/site.css templates/standard.html

Author: struberg
Date: Sat Jun  2 14:47:44 2012
New Revision: 1345517

URL: http://svn.apache.org/viewvc?rev=1345517&view=rev
Log:
make it a bit less ugly...

Modified:
    incubator/deltaspike/site/trunk/content/resources/site.css
    incubator/deltaspike/site/trunk/templates/standard.html

Modified: incubator/deltaspike/site/trunk/content/resources/site.css
URL: http://svn.apache.org/viewvc/incubator/deltaspike/site/trunk/content/resources/site.css?rev=1345517&r1=1345516&r2=1345517&view=diff
==============================================================================
--- incubator/deltaspike/site/trunk/content/resources/site.css (original)
+++ incubator/deltaspike/site/trunk/content/resources/site.css Sat Jun  2 14:47:44 2012
@@ -1,15 +1,23 @@
-@import url('http://www.apache.org/css/text.css');
-@import url('http://www.apache.org/css/960.css');
-@import url('http://www.apache.org/css/grid.css');
+@import url("http://www.apache.org/css/reset.css") screen;
+@import url("http://www.apache.org/css/text.css") screen;
+@import url("http://www.apache.org/css/960.css") screen;
+@import url("http://www.apache.org/css/grid.css") screen;
 
 body {
-    margin: 0;
-    padding: 0;
+    background: #ffffff;
 }
 
-#banner {
-    font-size: 200%;
-    margin: 0 20px;
-    text-align: center;
-    background: transparent;
+#page {
+    background: #e6E5Ff;
 }
+
+#header h1 {margin-bottom: 30px; margin-top: 25px; margin-left: 0px; font-size: 18px;}
+#header h2 {margin-top: 20px; font-weight: normal; font-style: italic; font-size: 18px; margin-left: 10px;}
+#header img {float: left; margin: 5px 20px 10px 5px;}
+#nav ul {float: right; margin-top: 3px;}
+#nav ul li {display:inline; float:left; margin: 5px 0px; font-size: 12px;}
+#nav ul li a {padding: 10px; background: #303284; color: #fff;}
+#nav p {float: left; width: 100%; margin-left: 100px; }
+#search {float:right;}
+#search input[type=text] { font-size: 13px; width: 300px; color: #aaa;}
+#breadcrumb {font-size: 12px; font-weight: bold; text-decoration: none;}

Modified: incubator/deltaspike/site/trunk/templates/standard.html
URL: http://svn.apache.org/viewvc/incubator/deltaspike/site/trunk/templates/standard.html?rev=1345517&r1=1345516&r2=1345517&view=diff
==============================================================================
--- incubator/deltaspike/site/trunk/templates/standard.html (original)
+++ incubator/deltaspike/site/trunk/templates/standard.html Sat Jun  2 14:47:44 2012
@@ -21,7 +21,7 @@ under the License.
 <head>
     <META http-equiv="Content-Type" content="text/html;charset=UTF-8" />
     <link rel="stylesheet" type="text/css" media="screen" href="http://www.apache.org/css/code.css">
-    <link type="text/css" media="screen" rel="stylesheet" href="resources/site.css"/>
+    <link rel="stylesheet" type="text/css" media="screen" href="resources/site.css"/>
     <title>Apache DeltaSpike - {% block title %}{{ headers.title }}{% endblock %}</title>
 
     {% if headers.atom %}
@@ -33,9 +33,27 @@ under the License.
     {% if headers.notice %}<!-- {{ headers.notice }} -->{% endif %}
 </head>
 <body>
-<div id="page">
-    <div id="header">
+<div id="page" class="container_16">
+    <div id="header" class="grid_8 omega">
+        <img src="http://www.apache.org/images/feather-small.gif" alt="The Apache Software Foundation">
+        <h1>Apache DeltaSpike</h1>
+    </div>
+    <div id="nav" class="grid_8 omega">
+        <ul>
+            <!-- <li><a href="/" title="Welcome!">Home</a></li> -->
+            <li><a href="http://www.apache.org/foundation/" title="The Foundation">Foundation</a></li>
+            <li><a href="http://projects.apache.org" title="The Projects">Projects</a></li>
+            <li><a href="http://people.apache.org" title="The People">People</a></li>
+            <li><a href="http://www.apache.org/foundation/getinvolved.html" title="Get Involved">Get Involved</a></li>
+            <li><a href="http://www.apache.org/dyn/closer.cgi" title="Download">Download</a></li>
+            <li><a href="http://www.apache.org/foundation/sponsorship.html" title="Support Apache">Support Apache</a></li>
+        </ul>
+        <p id="breadcrumb">{{ breadcrumbs|safe }}</p>
+
+    </div>
 
+    <div class="grid_16">
+        <h1>{% block tagline %}{{ headers.title }}{% endblock %}</h1>
     </div>
 
     {% block content %}<div id="content" class="grid_16"><div class="section-content">{{ content|markdown }}</div></div>{% endblock %}