From ef90c58e6901e2977f1ec34186487239fdbfcbbc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kalle=20S=C3=B6derman?= Date: Mon, 31 Jan 2011 22:41:24 +0000 Subject: [PATCH] Revert "latest debpkg.css" wrong file This reverts commit 5eed099423b00983a72a88e45f4b2a73eae1a162. --- static/debpkg.css | 199 +++++++++++++++------------------------------- 1 file changed, 62 insertions(+), 137 deletions(-) diff --git a/static/debpkg.css b/static/debpkg.css index cfdd5e0..c3aa031 100644 --- a/static/debpkg.css +++ b/static/debpkg.css @@ -1,33 +1,38 @@ /* - http://packages.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. -*/ + * packages.debian.org stylesheet proposal + * + * Kalle Soderman, 2009 debpkg.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/ + * + * + * Font size table + * --------------- + * Browser default 16px + * + * 14px 87.5% body + * 24px 1.714em + * 18px 1.286em + * 16px 1.143em + * 12px 0.857em + * 11px 0.786em + * 8px 0.57em + */ @import url("debian.css"); +#header { + background-image:url('./Pics/gradient.png'); +} + #footer { - padding-left: 62px; - padding-right: 10px; + margin-left: 0; + margin-right: 0; } #pnavbar { - font-size: 0.75em; + font-size: 0.786em; background-color: transparent; background-color: #f5f6f7; margin:0; @@ -41,50 +46,37 @@ #pmoreinfo { width: 20em; float:right; - padding:0 0 0 0.5em; - margin: 0 0 10px 0.5em; - border-left:1px solid #a9abb3; - font-size: 0.75em; - line-height: 2; -} - -#pmoreinfo a { - text-decoration: none; -} - -#pmoreinfo a:hover { - text-decoration: underline; + padding:0 0 0 1em; + margin: 1em 0 10px 1em; + border-left:1px solid #d3d6df; + font-size: 0.786em; + line-height: 1.5; } #pmoreinfo ul { + padding:0; + margin:0; list-style:none; - margin: 0; } #pmoreinfo ul ul { - margin:0; + margin-left: 1em; } #pmoreinfo li { font-weight: normal; + margin-top:0.5em; } #pmoreinfo p { + line-height: 1; + font-weight: bold; } #pmoreinfo h2 { - font-size: 1em; - font-weight: bold; - line-height: 2; margin:0; } -#pmoreinfo h3 { - font-size: 1em; - font-weight: normal; - line-height: 2; - margin:0; -} #packagesearch #breadcrumbs { margin-bottom: 0; @@ -98,87 +90,47 @@ background:#f7f8fc; border-bottom: 1px solid #e2e3e7; display:block; - padding: 1px 3px 1px 0; - font-size: 0.75em; - text-align: right; + padding:0; + + font-size: 0.786em; } -.perror -, #psearchtoomanyhits { - padding:1em; +#psearchtoomanyhits { + padding:10px; border: 1px solid #cccca3; - margin:1em 0 1em 0; + margin:0; + margin-top:10px; background-color:#ffffcb; - font-size: 0.75em; - line-height: 2; -} - -.perror p { - margin-bottom: 0; -} - -#psearchres h2 { - background-image: url('Pics/reddot.png'); - background-repeat: repeat-x; - background-position: top left; - padding: 0.5em 0 0 0; - margin: 0.5em 0 1em 0; -} - -#psearchres -, #pcontentsres { - padding-top: 0; } -#pcontentsres tr { - text-align: left; +#psearchres { + margin: 0 0 2em 0; } -#pcontentsres td { - padding-right: 1.5em; +#psearchres h2{ + margin:0; + padding:0; } -#pcontentsres { - margin-bottom: 1.5em; - } - #psearchres h3{ + margin:0; + padding:0; } #psearchres ul li{ + margin:0 0 0.5em 0; + padding:0; } -.file { - font-family: monospace; -} #pothers { margin-top:0.25em; float: right; } -#pothers a, #pothers strong { - margin-left: 1.5em; -} - -#psearchsug { - font-size: 0.75em; - margin: 0; - line-height: 2; - background-image: url('Pics/reddot.png'); - background-repeat: repeat-x; - background-position: bottom left; - -} - -#psearchsug p { - margin: 0; +#psource { + margin-top:0.25em; } -#psearchsug ul { - margin: 1em 0 1em 0; - } - - /* * Package sidebar */ @@ -191,9 +143,10 @@ */ #pdeplegend { + margin-bottom:2em; font-weight:bold; padding: 0 0.5em 0 0; - border:1px solid #a9abb3; + border:1px solid #d3d6df; } #pdeplegend img { @@ -215,10 +168,7 @@ } #pdeps dt { -<<<<<<< HEAD -======= margin-top:0.5em; ->>>>>>> 3e0828da18fdb11d309da96882752fc072ae8542 } #pdeps ul.uldep, #pdeps ul.uladep { @@ -241,21 +191,12 @@ } #pdownload { + margin-bottom:1em; text-align: left; - margin-right: 18em; } #pdownload table { text-align:left; - margin-bottom: 2em; - border-bottom: 1px solid #a9abb3; - border-top: 1px solid #a9abb3; - width: 100%; -} - -#pdownload td{ - border-top: 1px solid #a9abb3; - } #pdeplegend td li { @@ -272,9 +213,9 @@ } #ptags { - font-size: 0.75em; - margin: 0 22em 0 2em; - line-height: 2; + font-size: 0.786em; + padding: 1em; + margin-right: 22em; } .card { @@ -323,20 +264,4 @@ margin-top:0; } -strong.pmarker { - padding: 0 0.25em 0 0.25em; -} - -span.keyword { - color: #444; - font-weight: bold; - letter-spacing: 0.05em; -} - -h1 strong.pmarker { - font-weight: normal; -} -.psearch-other-hits { - margin-top: 1em; -} -- 2.39.2