- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 17 Feb 2005 02:21:34 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/htdocs
In directory hutz:/tmp/cvs-serv24303
Modified Files:
base.css print.css
Added Files:
handheld.css
Log Message:
- 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
Index: print.css
===================================================================
RCS file: /sources/public/validator/htdocs/print.css,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- print.css 16 Nov 2004 05:19:49 -0000 1.1
+++ print.css 17 Feb 2005 02:21:32 -0000 1.2
@@ -1,16 +1,28 @@
-#menu, .jumpbar, address, .copyright, #revalidate {
- display: none
- }
+@media print
+/* should not be necessary to wrap this way, but safer is better */
+{
+ #menu, .jumpbar, address, .copyright, #revalidate {
+ display: none
+ }
-body {
- font-size: 12pt;
+ html {
+ background: white;
}
-#banner {
- background: white;
- }
-/* trying to avoid having the source drool out of the paper */
-#source div pre { white-space: normal }
-/* ... yet have something legible */
-#source div pre a {display: block }
\ No newline at end of file
+ body {
+ font-size: 12pt;
+ background: white;
+ padding: 0;
+ }
+
+ #banner {
+ background: white;
+ }
+
+ /* trying to avoid having the source drool out of the paper */
+ #source div pre { white-space: normal }
+ /* ... yet have something legible */
+ #source div pre a {display: block }
+
+}
Index: base.css
===================================================================
RCS file: /sources/public/validator/htdocs/base.css,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- base.css 16 Feb 2005 23:47:11 -0000 1.45
+++ base.css 17 Feb 2005 02:21:32 -0000 1.46
@@ -11,6 +11,7 @@
@import url(navbar.css); /* CSS for navigation menu. */
@import url(tips.css); /* CSS for Quality Tips. */
@import url(docs.css); /* CSS for the Documentation. */
+/* the print/handheld CSS imports are at the end of this document */
/* Special Notices */
@@ -101,6 +102,7 @@
address img {
display: inline;
float: left;
+ vertical-align: middle;
width: 88px;
}
@@ -187,6 +189,7 @@
#news dt {
font-weight: bold;
+ margin-top: 1em;
}
img {
@@ -283,3 +286,7 @@
text-align: center;
font-weight: bold;
}
+
+@import url(print.css) print;
+@import url(handheld.css) handheld;
+
--- NEW FILE: handheld.css ---
@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 }
}
Received on Thursday, 17 February 2005 02:21:34 UTC