]> git.deb.at Git - deb/moinmoin.git/blobdiff - debwiki/css/debian.css
edit bar and other changes + latest debian.css
[deb/moinmoin.git] / debwiki / css / debian.css
index 29d44a3baf0e6a22c6017eda68a2d61a137b2633..e24172d8d06a198eedb4269e4e91331bd132e18a 100644 (file)
@@ -1,12 +1,25 @@
 /*
-       www.debian.org stylesheet proposal
-       
-       Kalle Soderman, 2008 debian.css
-       
-       Copyleft : This work is free, you can copy, spread, and modify it under
-       the terms of the Free Art License http://artlibre.org/licence/lal/en/
-       
+       http://www.debian.org Stylesheet
+
+       Copyright 2011 Kalle Söderman
+
+       This stylesheet is free software; you can redistribute it and/or modify it
+       under the terms of the GNU General Public License, version 2, as published by
+       the Free Software Foundation.
+
+       This program is distributed in the hope that it will be useful, but WITHOUT ANY
+       WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+       PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+       You should have received a copy of the GNU General Public License along with
+       this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
+       Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+       The license text can also be found at http://www.gnu.org/copyleft/gpl.html and
+       /usr/share/common-licenses/GPL-2 on Debian GNU/Linux.  
+*/
        
+/*     
        Font size table (Browser default 16px)
 
        pixels      relative
@@ -23,7 +36,7 @@
        10px        0.625em
        9px         0.5625em
        --------------------
- */
+*/
 
 /* Reset */
  
@@ -68,8 +81,8 @@ body {
        background-position: 30px 9px; 
        */
 }
-#outer {
-       margin: 0 10px 0 62px;
+#content {
+       margin: 0 10px 0 52px;
 }
 #inner {
        position: relative;
@@ -82,7 +95,7 @@ body {
 
 #header {
        margin:0;
-       padding:0 10px 0 62px; 
+       padding:0 10px 0 52px; 
 }
 #header a:link
 , #header a:visited
@@ -119,9 +132,17 @@ p.section {
        letter-spacing: 0.08em;
        position:absolute;
        top: 0px;
-       left:62px;
+       left:52px;
        background-color: #c70036;
 }
+p.section a {
+       color: white;
+       text-decoration: none;
+}
+p.section a:hover {
+       color:white;
+       text-decoration: underline;
+}
 #navbar {
        background-color: transparent;
        list-style:none;
@@ -147,7 +168,7 @@ p.section {
 }
 #navbar a:link
 , #navbar a:visited {
-       padding: 1.75em 1em 0.25em 1em;
+       padding: 1.75em 0.5em 0.25em 0.5em;
        border-left: 1px solid transparent;
        border-right: 1px solid transparent;
        display: block;
@@ -158,11 +179,21 @@ p.section {
 }
 #navbar a:hover
 , #navbar a:visited:hover {
-       background-color: #efefef;
+       background-color: #f5f6f7;
        border-left: 1px solid  #d2d3d7;
        border-right: 1px solid #d2d3d7;
        text-decoration: underline;
 }
+ul.subnav {
+       list-style: none;
+       margin-left: 0;
+       padding-left: 0;
+       margin-top: 0;
+}
+ul.subnav li {
+       display: inline;
+       margin-right: 1em;
+}
 #searchbox {
        text-align:left;
        line-height: 1;
@@ -189,14 +220,14 @@ p.section {
        background-color: transparent;
        border: 1px solid transparent;
        border-top: 0;
-       width: 61px;
+       width: 50px;
        height: 5.07em;
        min-height: 65px;
 }
 #logo a {
        display: block;
        position: relative;
-       padding: 0 5px 0 5px;
+       padding: 0;
        height: 100%;
        min-height: 65px;
 }
@@ -209,7 +240,7 @@ p.section {
 #logo:hover {
        border: 1px solid #d2d3d7 ;
        border-top: 0;
-       background-color: #eee;
+       background-color: #f5f6f7;
 }
 
 /* Links */
@@ -234,6 +265,36 @@ a:active {
 a img {
        border:0;
 }
+a.rss_logo {
+       font-size: 0.75em;
+       float: right;
+       width: 35px;
+       line-height: 10px;
+       color: #ffffff;
+       background-color: #ff6600;
+       font-weight: bold;
+       font-family: sans-serif;
+       text-align: center;
+       text-decoration: none;
+       padding: 0.25em;
+       margin-left: 0.25em;
+       border: 1px solid #ff6600;
+}
+
+a.rss_logo:hover {
+       background-color: white;
+       border: 1px solid #ff6600;
+       color: #ff6600;
+}
+
+a.rss_logo.generic {
+       background-color: #ff8800;
+}
+
+a.rss_logo.generic:hover {
+       background-color: #ee7700;
+}
+
 
 /* Secondnav */
 
@@ -241,7 +302,7 @@ a img {
        width: 16em;
        font-size: 0.75em;
        line-height: 1.5;
-       position: absolute;
+       float: right;
        top: 0;
        right: 0;
        margin: 3em 0 0 0;
@@ -363,6 +424,10 @@ tt, code {
        white-space: pre;
        color: black;
 }
+dt {
+       margin: 1.5em 0 0 0;
+       font-weight: bold;
+}
 dd {
        margin:  0 0 0 1.5em;
 }
@@ -405,6 +470,13 @@ acronym, abbr {
        background-color: #f0f0f4;
        text-decoration: underline;
 }
+.toc dt {
+       margin: 0;
+       background-image: url('Pics/greydot.png');
+       background-position: top left;
+       background-repeat: repeat-x;
+       padding: 0.0833em 0 0.0833em 0;
+}
 
 /* Sitemap */
 
@@ -439,11 +511,14 @@ acronym, abbr {
        border: 1px solid #dfdfe0;
        padding:1em;
        background-color: #f5f6f7;
-       margin: 0 0 0 0;
+       margin: 0 10px 0 52px;
        line-height: 1.5em;
        border-left: 0;
        border-right: 0;
 }
+#content #footer {
+       margin-left: 0;
+}
 #footer p {
        margin: 1em 0 1em 0;
 }
@@ -511,7 +586,7 @@ ul#footermap-cole {
 }
 #footermap li ul {
        margin: 0;
-       padding: 0:
+       padding: 0;
 }
 #footermap li li {
        margin:0;
@@ -718,12 +793,11 @@ table.vote td, table.vote th {
 #maincol.with-toolbox {
        margin-right: 14em;
 }
-table.vendors {
+div.tabular table, table.tabular, table.vendors {
 /*     border-bottom: 1px solid #a9abb3;
        border-top: 1px solid #a9abb3; */
        border-bottom: 0.15em solid #666;
        border-top: 0.15em solid #666;
-       display: block;
        width: auto;
        font-size: 0.75em;
        line-height: 2em;
@@ -733,17 +807,20 @@ table.vendors {
 table td {
        padding-right: 1.5em;
 }
-table.vendors tr {
+div.tabular table tr, table.tabular tr, table.vendors tr {
        width: 100%;
 }
 table th {
        padding-right: 1.5em;
 }
-table.vendors td {
+div.tabular table td, table.tabular td, table.vendors td {
        background-image: url(Pics/greydot.png);
        background-position: top left;
        background-repeat: repeat-x;
 }
+div.tabular table > td:fist-child, table.tabular  > td:fist-child, table.vendors  > td:fist-child {
+       background-image: none;
+}
 #pageLang p, #pageLang form {
        display: inline;
 }