summaryrefslogtreecommitdiffstats
path: root/htdocs/handheld.css
diff options
context:
space:
mode:
authorot <ot@localhost>2005-02-17 02:21:32 +0000
committerot <ot@localhost>2005-02-17 02:21:32 +0000
commitf09ced9aae79ddbe7a24a4515a0b67524bffce39 (patch)
tree81358cf1581a8fd7ede77d666b450d98f656d629 /htdocs/handheld.css
parenta2ce6593fda30dc41db495a79bb6e1553285b953 (diff)
downloadmarkup-validator-f09ced9aae79ddbe7a24a4515a0b67524bffce39.zip
markup-validator-f09ced9aae79ddbe7a24a4515a0b67524bffce39.tar.gz
markup-validator-f09ced9aae79ddbe7a24a4515a0b67524bffce39.tar.bz2
- adding basic handheld stylesheet (based on print stylesheet)
- re-adding print stylesheet import (removed by mistake between 1.34 and 1.35) - giving news items a bit of space between them
Diffstat (limited to 'htdocs/handheld.css')
-rw-r--r--htdocs/handheld.css24
1 files changed, 24 insertions, 0 deletions
diff --git a/htdocs/handheld.css b/htdocs/handheld.css
new file mode 100644
index 0000000..61f4508
--- /dev/null
+++ b/htdocs/handheld.css
@@ -0,0 +1,24 @@
+@media handheld {
+/* should not be necessary to wrap this way, but safer is better */
+
+ html, body, #menu, #banner, .jumpbar, address, .copyright, #revalidate {
+ background:white !important;
+ }
+
+ body {
+ padding: 0;
+ }
+
+ #banner, #main, #address {
+ margin: 0 !important;
+ padding: 0 !important;
+ }
+
+ #banner {
+ height: auto;
+ }
+
+ #source div pre { white-space: normal }
+ #source div pre a {display: block }
+
+}