X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=static%2Fdebpkg.css;h=95830bbf371c026a29bf5359a5a9b4ad85a77ddd;hb=58f3df6fefd7886f4a6765343354eb6e32503b1e;hp=c0e74d51cf8878bb856f51d33f81b1307df2caf9;hpb=a2360ca89a9bf671c846968ba22d0b7197402af2;p=deb%2Fpackages.git diff --git a/static/debpkg.css b/static/debpkg.css index c0e74d5..95830bb 100644 --- a/static/debpkg.css +++ b/static/debpkg.css @@ -22,10 +22,10 @@ @import url("debian.css"); #footer { - padding-left: 52px; padding-right: 10px; + margin-left: 52px; + clear: both; /* added because right sidebar overlaps footer */ } - #pnavbar { font-size: 0.75em; background-color: transparent; @@ -36,8 +36,6 @@ text-transform:lowercase; line-height: 1; } - - #pmoreinfo { width: 20em; float:right; @@ -45,47 +43,41 @@ margin: 0 0 10px 0.5em; border-left:1px solid #a9abb3; font-size: 0.75em; - line-height: 2; + line-height: 1.5; } - #pmoreinfo a { text-decoration: none; } - +#pmoreinfo div.screenshot { + min-height: 120px; +} #pmoreinfo a:hover { text-decoration: underline; } - #pmoreinfo ul { list-style:none; margin: 0; } - #pmoreinfo ul ul { margin:0; } - #pmoreinfo li { font-weight: normal; } - #pmoreinfo p { } - #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; } @@ -93,30 +85,32 @@ #hpacketsearch form { margin:0; padding:0; } - #hpacketsearch { - background:#f7f8fc; - border-bottom: 1px solid #e2e3e7; + background: transparent; display:block; padding: 1px 3px 1px 0; - font-size: 0.75em; text-align: right; } - .perror , #psearchtoomanyhits { - padding:1em; - border: 1px solid #cccca3; - margin:1em 0 1em 0; - background-color:#ffffcb; + padding:0 2em 0 4em; + margin: 1.85em 0 1.85em 0; + background-repeat: no-repeat; + background-position: 0.5em 1em; font-size: 0.75em; - line-height: 2; + line-height: 2em; + background-color:#FFFFCB; + border:0.15em solid #CCCCA3; +} +#psearchtoomanyhits { + background-image: url('Pics/admon-note.png'); } - .perror p { margin-bottom: 0; } - +div.warning { + background-image: url('Pics/admon-warning.png'); +} #psearchres h2 { background-image: url('Pics/reddot.png'); background-repeat: repeat-x; @@ -124,123 +118,101 @@ 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{ +#psearchres ul{ + margin-top:0; } - #psearchres ul li{ } - .file { font-family: monospace; } -#pothers { - margin-top:0.25em; +div#pothers { + margin-top:0.25em; float: right; } - #pothers a, #pothers strong { - margin-left: 1.5em; } - #psearchsug { - font-size: 0.75em; + 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 - */ +/* Package sidebar */ #ptablist { - } -/* - * Package dependencies - */ +/* Package dependencies */ #pdeplegend { font-weight:bold; padding: 0 0.5em 0 0; border:1px solid #a9abb3; } - #pdeplegend img { margin-left: 1em; } - #pdeplegend tr,#pdeplegend ul,#pdeplegend li { margin:0; padding:0; } - #pdeplegend td { padding-left: 1.5em; padding-right: 1em; } - #pdeps dd { margin:0; padding:0; } - #pdeps dt { } +#pdeplegend ul.uldep +, #pdeplegend ul.uladep +, #pdeplegend ul.ulrec +, #pdeplegend ul.ulidep +, #pdeplegend ul.ulsug { + margin-left: 0.5em; + list-style-position: inside; +} + #pdeps ul.uldep, #pdeps ul.uladep { list-style-type: disc; list-style-image: url(Pics/dep.png); } - -.uldep dt { - -} - #pdeps ul.ulrec, #pdeps ul.ulidep { list-style-type: square; list-style-image: url(Pics/rec.png); } - #pdeps ul.ulsug { list-style-type: circle; list-style-image: url(Pics/sug.png); } - #pdownload { text-align: left; margin-right: 18em; } - #pdownload table { text-align:left; margin-bottom: 2em; @@ -248,31 +220,26 @@ border-top: 1px solid #a9abb3; width: 100%; } - -#pdownload td{ - border-top: 1px solid #a9abb3; - -} - #pdeplegend td li { padding-left:0; } - -#pdeplegend td,#pdeplegend tr,#pdeplegend table,#pdeplegend ul,#pdeplegend li,#pdeplegend tbody { +#pdeplegend td + ,#pdeplegend tr + ,#pdeplegend table + ,#pdeplegend ul + ,#pdeplegend li + ,#pdeplegend tbody { margin:0; - paddding:0; + padding:0; } - .pkgreport #pdeplegend td li { margin:0.25em 0 0 2em; } - #ptags { font-size: 0.75em; margin: 0 22em 0 2em; line-height: 2; } - .card { clear:both; margin:2em 0 2em 0; @@ -280,32 +247,26 @@ background-repeat: repeat-x; padding:8px 0 8px 0; } - .card ul { margin:0.5em 0 1em 0; } - .card ul li { list-style:none; } - .card h2 { margin:0; } - #lefthalfcol { float:left; width: 50%; padding-right: 1em; margin:0; } - #righthalfcol { margin:0; margin-left:50%; padding-left: 1em; } - #lefthalfcol dl , #righthalfcol dl { margin-top: 0; @@ -314,25 +275,32 @@ , #righthalfcol dd { margin-bottom: 1em; } - .lefthalf ul { 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; } +table { + border-bottom: 1px solid #a9abb3; + border-top: 1px solid #a9abb3; + } +td { + background-image: url(Pics/greydot.png); + background-position: top left; + background-repeat: repeat-x; +} +th { +}