From: Kalle Söderman Date: Mon, 31 Jan 2011 22:46:52 +0000 (+0000) Subject: Margin reduced licence updated to match main site X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=a2360ca89a9bf671c846968ba22d0b7197402af2;p=deb%2Fpackages.git Margin reduced licence updated to match main site --- diff --git a/static/debpkg.css b/static/debpkg.css index c3aa031..c0e74d5 100644 --- a/static/debpkg.css +++ b/static/debpkg.css @@ -1,38 +1,33 @@ /* - * 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 - */ + http://www.debian.org Stylesheet -@import url("debian.css"); + Copyright 2011 Kalle Söderman -#header { - background-image:url('./Pics/gradient.png'); -} + 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. +*/ + +@import url("debian.css"); #footer { - margin-left: 0; - margin-right: 0; + padding-left: 52px; + padding-right: 10px; } #pnavbar { - font-size: 0.786em; + font-size: 0.75em; background-color: transparent; background-color: #f5f6f7; margin:0; @@ -46,37 +41,50 @@ #pmoreinfo { width: 20em; float:right; - padding:0 0 0 1em; - margin: 1em 0 10px 1em; - border-left:1px solid #d3d6df; - font-size: 0.786em; - line-height: 1.5; + 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; } #pmoreinfo ul { - padding:0; - margin:0; list-style:none; + margin: 0; } #pmoreinfo ul ul { - margin-left: 1em; + margin:0; } #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; @@ -90,47 +98,87 @@ background:#f7f8fc; border-bottom: 1px solid #e2e3e7; display:block; - padding:0; - - font-size: 0.786em; + padding: 1px 3px 1px 0; + font-size: 0.75em; + text-align: right; } -#psearchtoomanyhits { - padding:10px; +.perror +, #psearchtoomanyhits { + padding:1em; border: 1px solid #cccca3; - margin:0; - margin-top:10px; + margin:1em 0 1em 0; background-color:#ffffcb; + font-size: 0.75em; + line-height: 2; } -#psearchres { - margin: 0 0 2em 0; +.perror p { + margin-bottom: 0; } -#psearchres h2{ - margin:0; - padding: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; +} + +#pcontentsres td { + padding-right: 1.5em; +} + +#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; } -#psource { - margin-top:0.25em; +#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; +} + +#psearchsug ul { + margin: 1em 0 1em 0; + } + + /* * Package sidebar */ @@ -143,10 +191,9 @@ */ #pdeplegend { - margin-bottom:2em; font-weight:bold; padding: 0 0.5em 0 0; - border:1px solid #d3d6df; + border:1px solid #a9abb3; } #pdeplegend img { @@ -168,7 +215,6 @@ } #pdeps dt { - margin-top:0.5em; } #pdeps ul.uldep, #pdeps ul.uladep { @@ -191,12 +237,21 @@ } #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 { @@ -213,9 +268,9 @@ } #ptags { - font-size: 0.786em; - padding: 1em; - margin-right: 22em; + font-size: 0.75em; + margin: 0 22em 0 2em; + line-height: 2; } .card { @@ -264,4 +319,20 @@ 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; +}