X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=static%2Fpackages.css.sed.in;h=18a8b3ba87d101b8582086692738dc4676673766;hp=00ab1b5a36e842ea3cab3ff203129a649236e2d3;hb=0f318fa9ad9d473b543a48f46a7714a11283d300;hpb=9eb53c9d4f615e0af9f605281f07da3c99266d65 diff --git a/static/packages.css.sed.in b/static/packages.css.sed.in index 00ab1b5..18a8b3b 100644 --- a/static/packages.css.sed.in +++ b/static/packages.css.sed.in @@ -1,3 +1,11 @@ +@media handheld, print, projection, screen, tv { + .nonvisual { display: none; } +} + +@media braille, embossed, speech, tty { + .visual { display: none; } +} + #hpacketsearch { display: block; padding-top: 1px; @@ -24,15 +32,49 @@ font-size: 88%; } -/* classes and div names for package pages */ +h1 { + clear: both; +} -#pdesc, #ptags, #pdeps, #pdownload, #pmoreinfo { +#pdesc, #pbinaries, #ptags, #pdeps, #pdownload { margin-left: 1em; margin-right: 1em; } +#screenshot { + display: block; + text-align: center; +} +#pmoreinfo { + font-size: smaller; + margin-left: 1em; + float: right; + background-color: #BBDDFF; + border: thin solid #BFC3DC; + padding: 1em .5em; + width: auto; +} +#pmoreinfo h3 { + border-top: thin solid black; +} + +#impressum { + text-align: left; + float: left; +} + +#sponsorfooter { + text-align: right; +} + +/* + + DESCRIPTIONS + +*/ #pdesc p { text-align: justify; + max-width: 60em; } .pdescshort { @@ -41,17 +83,22 @@ font-weight: bold; } +/* + + DEPENDENCIES + +*/ + #pdeps table tr td { - font-size: 0.9em; + font-size: smaller; } #pdeps ul { list-style-type: none; - padding-left: 2em; } -#pdeps li { - text-indent: -2em; +#pdeps table ul { + margin: 0; } #pdeps ul.uldep, #pdeps ul.uladep { @@ -60,33 +107,28 @@ } #pdeps ul.ulrec, #pdeps ul.ulidep { - list-style-type: disc; + list-style-type: square; list-style-image: url(http://%SITE%/Pics/rec.gif); } #pdeps ul.ulsug { - list-style-type: disc; + list-style-type: circle; list-style-image: url(http://%SITE%/Pics/sug.gif); } -#pdeps ul.uldep li, #pdeps ul.ulrec li, #pdeps ul.ulsug li, #pdeps ul.uladep li, #pdeps ul.ulidep li { - padding-left: 2em; -} #pdeps dl { margin: 0; } -#pdownload p { - display: inline; -} +/* -#pmoreinfo p { - font-size: 0.85em; -} + MESSAGES +*/ .pmarker { color: red; + clear: both; } .perror { margin: .2em; @@ -94,23 +136,30 @@ font-weight: bold; padding: 0.5em; margin: 0; + clear: both; } .pdebug { margin: .2em; font-size: 80%; border: solid thin gray; + clear: both; } .phints { background-color: #FF9; padding: 0.5em; margin: 0; + clear: both; } -.pnotes { - margin: .2em; - border: solid thin black; - background-color: #bdf; +.pconstantnag { + max-width: 60em; + border: dotted thin red; + padding: .5em; + font-size: smaller; +} +.pconstantnag h2 { + text-align: center; } -.pnotes h2 { +.pconstantnag strong { color: red; } @@ -122,8 +171,58 @@ table#pdeplegend, #pdownload table { border-collapse: collapse; } + +/* + + DOWNLOAD + +*/ +#pdownload td { + font-size: 0.85em; + text-align: center; +} +#pdownload td.size { + text-align: right; +} +#pdownload td.md5sum { + font-family: monospace; +} +#pdownload p { + margin-left: 1em; +} + +#pdownloadnotes { + font-size: smaller; + max-width: 60em; +} +#pdownloadmeta tr { + text-align: left; +} +#pdownload .vcurrent { + background-color: #bfb; +} +#pdownload .volder { + background-color: #ffb; +} +#pdownload .vold { + background-color: #fbb; +} + +/* + + CONTENTS SEARCH + +*/ +#pcontentsres { + margin-left: 1em; + margin-top: 2em; +} +#pcontentsres p { + margin-top: .1em; + margin-bottom: .25em; +} #pcontentsres table { - margin: 0 1em 1em 1em; + margin: 1em 1em 1em 0; min-width: 50%; border: 2px gray; border-style: ridge; @@ -138,34 +237,148 @@ table#pdeplegend, #pdownload table { #pcontentsres td.file { font-family: monospace; } -#pdownload td { - font-size: 0.85em; - text-align: center; -} - -#pdownload td.size { - text-align: right; -} -#pdownload td.md5sum { - font-family: monospace; -} #pcontentsres td { -/* font-size: smaller;*/ padding: .4em; } #pcontentsres th { text-align: center; } +#pcontentsres h1 { + text-align: left; + margin-bottom: .25em; +} +#pfilelist pre { + border-top: solid #BFC3DC thin; + padding: .5em; +} + +/* + + PACKAGES SEARCH + AND COMMON STUFF + FOR SEARCHES + +*/ #psearchres h2 { padding: .3em; border-top: solid gray thin; border-bottom: solid gray thin; background-color: #bdf; } -#pfilelist pre { - border-top: solid #BFC3DC thin; - padding: .5em; +#psearchres li { + margin-top: 1em; +} +#psearchres .resultlink { + font-weight: bold; +} +#psearchres .binaries { + font-size: smaller; +} +#psearchsug { + font-size: smaller; +} +#psearchsug ul.linklist { + display: inline; + margin-top: .1em; + margin-bottom: 0; + padding: 0; +} +#psearchsug .linklist li { + display: inline; + margin-top: 0; + margin-bottom: 0; + margin-right: 1em; + margin-left: 0; +} +#psearchsug p { + margin-top: .1em; + margin-bottom: 0; +} +#psearchnoresult, #psearchtoomanyhits { + font-size: larger; + font-weight: bold; + max-width: 60em; } .keyword { font-weight: bold; } + +#pothers { + float: right; + text-align: right; +} + +#pnavbar { + clear: both; + margin-bottom: .25em; + padding-left: 1em; + padding-top: 6px; + padding-bottom: 4px; + height: auto; + text-align: left; + background: #DF0451; + color: yellow; + font-size: smaller; + font-weight: bold; +} +#pnavbar ul { + display: inline; + list-style-type: none; + padding-left: 0px; + line-height: 1.5em; +} +#pnavbar ul li { + display: inline; + margin: 0; + white-space: nowrap; +} +#pnavbar a { + color: yellow; + text-decoration: none; +} +#pnavbar a:hover { +} + +#ptablist ul { + display: inline; + list-style-type: none; + padding-left: 0px; + line-height: 1.5em; +} +#ptablist ul li { + display: inline; + margin: 0 .25em; + white-space: nowrap; +} + +.p_js_elem { + font-size: smaller; +} + +#psitewidemsg { + padding: .25em; + text-align: center; +} + +#psitewidemsg.high { + border: 4px #DF0451 ridge; + background-color: yellow; + color: #DF0451; +} + +#psitewidemsg.normal { + border: dotted thin red; +} + +#psitewidemsg.low { + border: solid thin black; +} + +.pvcslink { +} + +#pnavbar, .pconstantnag, #psitewidemsg { + -moz-border-radius: 15px; + /* this goes to the end as the css validator does not like it + will be replaced by border-radius with css3 */ +}