X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=public%2Fcss%2Fgeneric.css;h=26f133718689f5774f523e0dcd3bf630a4529bfc;hb=8e7d8e39a2ee5801a2f68b95cdc0e84b55da1019;hp=6b166ab9a0043ff9a5c2bf94f6a88a47cf3e3a60;hpb=9efd079d59d269811abc4c551b2f39ab2e6a05fb;p=syj.git diff --git a/public/css/generic.css b/public/css/generic.css index 6b166ab..26f1337 100644 --- a/public/css/generic.css +++ b/public/css/generic.css @@ -1,11 +1,17 @@ /* This file is part of Syj, Copyright (c) 2010 Arnaud Renevier, and is published under the AGPL license. */ +body, html { + background-color: white; + color: black; +} + /* * generic rules */ .message { text-align: center; + background-color: white; } .disabled { @@ -31,20 +37,17 @@ noscript p { color: #FF8C00; border-color: #FF8C00; font-weight: bold; - background-color: white; } .error { border-color: red; font-weight: bold; - background-color: #FFFF33; color: red; } .info { border-color: black; color: black; - background-color: white; } .center { @@ -62,17 +65,25 @@ input { -moz-transition: background-color 0.3s ease-out; } +@media screen and (-webkit-min-device-pixel-ratio:0) { + /* work around webkit bug #42985 */ + input { + background-color: #FEFEFE; + } +} + /* * footer */ #footer { - position: absolute; + position: fixed; + _position: absolute; bottom: 0px; left: 0px; right: 0px; height: 2em; text-align: center; border-top: 1px solid gray; - *background-color: white; + background-color: white; } #footer-padding { height: 5px; @@ -104,3 +115,9 @@ input { padding-bottom: 3px; border: #1E90FF 1px solid; } + +@media print { + #footer, #other-language { + display: none; + } +}