Mercurial > p > roundup > code
view website/wiki/static/roundup/css/msie.css @ 8209:9d2ad7386627
chore(ruff): use names not magic numbers.
This one names the 32 chars as being equivalent to 256 bytes
Also adds the missing http_.client.TOO_MANY_REQUESTS under python 2 to
http_. It allows me to use a symbolic name and not have to touch
client.py code when I remove python2 support from http_.
Also the prior checkin had a bogus commit message. Sigh, time to step
away from the computer today 8-). It replaced a magic number with
MAX_MIME_EXTENSION_LENGTH which was set to a better magic number
derived by parsing extensions in /etc/mime.types.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 11 Dec 2024 16:24:16 -0500 |
| parents | 86c38b5aed66 |
| children |
line wrap: on
line source
/* msie.css - MoinMoin MS Internet explorer bug workarounds */ /* IE6 and IE7 both suck with :before */ a.www { padding-left: 14px; background: url(../img/moin-www.png) left center no-repeat; } a.http { padding-left: 14px; background: url(../img/moin-www.png) left center no-repeat; } a.https { padding-left: 14px; background: url(../img/moin-www.png) left center no-repeat; } a.file { padding-left: 14px; background: url(../img/moin-ftp.png) left center no-repeat; } a.ftp { padding-left: 14px; background: url(../img/moin-ftp.png) left center no-repeat; } a.nntp { padding-left: 14px; background: url(../img/moin-news.png) left center no-repeat; } a.news { padding-left: 14px; background: url(../img/moin-news.png) left center no-repeat; } a.telnet, a.ssh { padding-left: 14px; background: url(../img/moin-telnet.png) left center no-repeat; } a.irc, a.ircs { padding-left: 14px; background: url(../img/moin-telnet.png) left center no-repeat; } a.mailto { padding-left: 14px; background: url(../img/moin-email.png) left center no-repeat; } a.attachment { padding-left: 14px; background: url(../img/moin-attach.png) left center no-repeat; } a.badinterwiki { padding-left: 14px; background: url(../img/moin-inter.png) left center no-repeat; } a.interwiki { padding-left: 14px; background: url(../img/moin-inter.png) left center no-repeat; } #message .warning { padding-left: 20px; background: url(../img/alert.png) left center no-repeat; } #message .error { padding-left: 20px; background: url(../img/icon-error.png) left center no-repeat; } #pagetrail li, #pagelocation li { border-left: 1px solid #AAA; padding: 0 0.3em; } /* Spans for line-anchors - needed for IE6 and IE7 where omitting the "display: none" triggers rendering bugs. */ span.anchor { display: none; } /* Fix for PeekABoo Bug */ #page { min-height: 1%; } /* Some * html hacks for IE6 and below only (IE7 ignores * html) */ /* IE6 has a bug with rendering of float elements. We workaround this bug by * assigning those elements a height attribute because we currently don't know * a better solution. This results in IE calculating the correct height of the * characters and displaying them correctly. We don't know any negative side * effects of this workaround: */ * html div#page, * html div#header { height: 0.001%; }
