r13514 - in /www/src: default.css default.template

brad-guest at users.alioth.debian.org brad-guest at users.alioth.debian.org
Tue Nov 20 23:02:00 UTC 2007


Author: brad-guest
Date: Tue Nov 20 23:01:59 2007
New Revision: 13514

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=13514
Log:
Makes website theme more shiny

Modified:
    www/src/default.css
    www/src/default.template

Modified: www/src/default.css
URL: http://svn.debian.org/wsvn/pkg-gnome/www/src/default.css?rev=13514&op=diff
==============================================================================
--- www/src/default.css (original)
+++ www/src/default.css Tue Nov 20 23:01:59 2007
@@ -1,121 +1,229 @@
-  a          { text-decoration: none; }
-  a:link     { color: #0000FF; }
-  a:visited  { color: #DF0451; }
-  a:hover,
-  a:active   { text-decoration: underline; }
-
-  ins { background-color: #A4EBA4; }
-  del { background-color: #EBA4A4; }
-
-  h1,
-  h2,
-  h3 { text-align: left; }
-
-  #content {
-    font-size: 9pt;
-    width: 60em;
-    margin: 0pt auto;
-  }
-
-  #header {
-     padding: 2pt;
-     background-color: #DF0451;
-     border-bottom: thin solid #B80342;
-  }
-
-  #header h1 {
-     margin: 5pt;
-     color: white;
-  }
-
-  #headerbar { border: thin solid #B80342; }
-  #headerbar a:link { color: #DF0451; }
-
-  #footer { border: thin solid #B80342; }
-
-  #body {
-     margin-left: 15.5em;
-     text-align: justify;
-  }
-
-  #posted,
-  #comments-head,
-  #comments-body {
-     padding: 2pt 0pt;
-     font-size: 83%;
-  }
-
-  .bar {
-     clear: both;
-     padding: 2pt;
-     text-align: center;
-     font-size: 83%;
-     background-color: #F2CBD9;
-  }
-
-  .diff {
-     font-family: monospace;
-  }
-
-  .left, .right {
-     padding: 0pt 1em;
-  }
-
-  .left {
-     float: left;
-     text-align: left;
-  }
-
-  .right {
-     float: right;
-     text-align: right;
-  }
-
-  pre {
-    font-size: 90%;
-    overflow: hidden;
-    padding-left: 10pt;
-    border: thin solid #F2CBD9;
-    background-color: #FCE6EE;
-  }
-
-  /* styling the menu */
-
-  #menu {
-     float: left;
-     width: 15em;
-     margin: 10pt 0pt;
-     font-size: 83%;
-     background-color: #BBDDFF;
-     border: thin solid #0000FF;
-  }
-
-  #menu a {
-     color: #0000FF;
-     text-decoration: none;
-  }
-
-  #menu a:hover {
-     text-decoration: underline;
-  }
-
-  #menu li.webgen-menu-item-selected {
-     font-weight: bold;
-  }
-
-  #menu ul {
-     list-style-type: none;
-     padding-left: 15pt;        /* first ul has some padding left & right */
-     padding-right: 5pt;
-  }
-
-  #menu li {
-     padding: 3pt 0pt;          /* inter-item padding */
-  }
-
-  #menu li > ul {
-     font-weight: normal;
-     padding-top: 3pt;          /* padding in front of first item */
-     padding-left: 7pt;         /* indentation */
-     padding-right: 0pt;
-  }
+body {
+    margin:0
+    auto;padding:0;
+    font-size:76%;
+    background:#eaeaea url(images/bg.gif) top center repeat-y;
+    color:#3a3a3a;
+}
+
+#wrap {
+    background-color:#ffffff;
+    color:#303030;
+    margin:0 auto;
+    padding:1px 5px;
+    width:760px;
+}
+
+/***** Header *****/
+
+#header {
+    height:90px;
+    margin:0 0 10px 0;
+    font-size:0.9em;
+    background:#f4f4f4 url(images/menubg.gif) bottom left repeat-x;
+    line-height:20px;
+    border-collapse:collapse;
+    border:1px solid #d8d8d8;
+}
+
+#header h1 {
+    float: left;
+    padding: 0pt 1em;
+    font-size:2.5em;
+    font-weight:normal;
+}
+
+.logo {
+    float: left;
+    padding: 0pt 1em;
+}
+
+/***** Bar *****/
+
+#bar {
+    background:#f4f4f4 url(images/menubg.gif) bottom left repeat-x;
+    border-collapse:collapse;border:1px solid #d8d8d8;
+    font-size:0.9em;
+}
+
+#bar a {
+    font-weight:bold;
+}
+
+#barright {
+    text-align:right;
+    position:absolute;
+    top:0;
+    right:4px;
+}
+
+#barleft {
+    text-align:left;
+    padding-left:2px;
+}
+
+
+/***** Left sidebar *****/
+
+#avmenu {
+    position:absolute;
+    width:15em;
+    top:0;
+    left:0;
+}
+
+#avmenu ul {
+    list-style:none;
+    margin:0 0 20px 0;
+    padding:0;
+}
+
+#avmenu li {
+    margin-bottom:5px;
+}
+
+#avmenu li a {
+    font-weight:bold;
+    vertical-align:middle;
+    text-decoration:none;
+    color:#505050;
+    display:block;
+    padding:6px 10px 6px 10px;
+    background:#f4f4f4 url(images/menubg.gif) bottom left repeat-x;
+    border-top:1px solid #d8d8d8;
+    border-right:1px solid #d8d8d8;
+    border-bottom:1px solid #d8d8d8;
+    border-left:4px solid #cccccc;
+}
+
+#avmenu li a:hover, #avmenu li a.current,
+#avmenu li.webgen-menu-item-selected a {
+  background:#eaeaea url(images/menubg2.gif) bottom left repeat-x;
+  color:#505050;
+  border-top:1px solid #b0b0b0;
+  border-right:1px solid #b0b0b0;
+  border-bottom:1px solid #b0b0b0;
+  border-left:4px solid #505050;
+}
+
+/***** Main content *****/
+
+#main {
+    position:relative;
+}
+
+#para {
+    margin-left:15em;
+    padding-left:10px;
+}
+
+#content {
+    padding-top:10px;
+}
+
+#content h2 {
+  font-size:1.8em;
+  letter-spacing:-1px;
+  font-weight:bold;
+  margin:8px 0 10px 0;
+  padding:0;
+}
+
+#content h3 {
+  font-size:1.4em;
+  font-weight:bold;
+  margin:6px 0 6px 0;
+  padding:0;
+}
+
+#content img {
+  padding:1px;
+  display:inline;
+  background:#cccccc;
+  color:#303030;
+  border:4px solid #f0f0f0;
+}
+
+#content a {
+  font-weight:bold;
+}
+
+#content ul, #content ol {
+  margin:0 0 16px 20px;
+  padding:0;
+}
+
+#content ul ul, #content ol ol {
+  margin:2px 0 2px 20px;
+}
+
+#content li {
+  margin:0 0 2px 10px;
+  padding:0 0 0 4px;
+}
+
+/***** Footer *****/
+
+#footer {
+clear:both;margin:0 auto;padding:8px 0;border-top:2px solid #dadada;width:760px;text-align:center;color:#808080;background-color:#ffffff;font-size:0.9em;
+}
+
+#footer p {
+padding:0;margin:0;
+}
+
+#footer a {
+color:#808080;background-color:inherit;text-decoration:none;
+}
+
+#footer a:hover {
+text-decoration:underline;
+}
+
+/***** Various tags *****/
+
+a {
+text-decoration:none;color:#505050;background-color:inherit;
+}
+
+a:hover {
+text-decoration:underline;color:#286ea0;background-color:inherit;
+}
+
+a img {
+border:0;
+}
+
+p {
+margin:0 0 16px 0;
+}
+
+blockquote {
+border-top:1px solid #d8d8d8;border-right:1px solid #d8d8d8;border-bottom:1px solid #d8d8d8;border-left:4px solid #cccccc;margin:16px;padding:7px 7px 7px 11px;background:#f4f4f4 url(images/menubg.gif) bottom left repeat-x;color:#505050;
+}
+
+blockquote p {
+font-size:1.1em;line-height:1.3em;margin:0;
+}
+
+/***** Form styles *****/
+
+.button{
+border-top:1px solid #d8d8d8;border-right:1px solid #d8d8d8;border-bottom:1px solid #d8d8d8;border-left:4px solid #cccccc;margin:0 0 15px 0;padding:7px 7px 7px 11px;background:#f4f4f4 url(images/menubg.gif) bottom left repeat-x;color:#505050;font-weight:bold;width:120px;
+}
+
+input, textarea {
+border:1px solid #cccccc;font-family:Verdana,Tahoma,Arial,Sans-Serif;font-size:1em;margin:0;padding:4px;
+}
+
+label {
+margin:2px;
+}
+
+input {
+width:200px;
+}
+
+textarea {
+width:400px;
+}

Modified: www/src/default.template
URL: http://svn.debian.org/wsvn/pkg-gnome/www/src/default.template?rev=13514&op=diff
==============================================================================
--- www/src/default.template (original)
+++ www/src/default.template Tue Nov 20 23:01:59 2007
@@ -1,32 +1,38 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{lang:}">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <title>Debian GNOME Packaging - {title: }</title>
     <link href="{relocatable: default.css}" rel="stylesheet" />
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   </head>
+
   <body>
-    <div id="content">
-      <div id="header">
-        <h1><!-- <img src="images/gnome-debian-small.png"/> --> Debian GNOME Packaging - {title: }</h1>
+    <div id="wrap">
+      <table id="header" width=100%>
+        <td class="logo"><img src="images/gnome-debian-small-trans.png"/></td>
+        <td class="title"><h1>Debian GNOME Packaging - {title: }</h1></td>
+      </table>
+
+      <div id="main">
+        <div id="avmenu">
+          <div class="webgen-menu-vert webgen-menu">
+            {menu: }
+          </div>
+        </div>
+
+        <div id="para">
+          <div id="bar">
+            <div id="barleft">Navigation: {breadcrumbTrail: }</div>
+            <div id="barright">Language: {langbar: }</div>
+          </div>
+          <div id="content">
+            {content: }
+          </div>
+        </div>
       </div>
 
-      <div id="headerbar" class="bar">
-        <span class="left">Navigation: {breadcrumbTrail: }</span>
-        <span class="right">Language: {langbar: }</span>
-        <div style="clear:both"></div>
-      </div>
-
-      <div id="menu">
-        {menu: }
-      </div>
-
-      <div id="body">
-        {content: }
-      </div>
-
-      <div id="footer" class="bar">
+      <div id="footer">
         This page was last updated on <b>{filemtime: }</b><br/>
         This site is generated with <a href="http://webgen.rubyforge.org">webgen</a> on <b>{date: }</b>
       </div>




More information about the pkg-gnome-commits mailing list