summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorot <ot@localhost>2007-03-09 07:16:46 +0000
committerot <ot@localhost>2007-03-09 07:16:46 +0000
commitc5db61d81f7d3cc9f7243308750053697e621c4e (patch)
tree19a241312527473cb163e9c73d5ac73b83f24a1d
parent4b93cd8e5558d804ccc352e574e7b18d61242366 (diff)
downloadmarkup-validator-c5db61d81f7d3cc9f7243308750053697e621c4e.zip
markup-validator-c5db61d81f7d3cc9f7243308750053697e621c4e.tar.gz
markup-validator-c5db61d81f7d3cc9f7243308750053697e621c4e.tar.bz2
some padding/margin for readability, avoiding overlap of text for some parts of results
-rw-r--r--htdocs/style/base.css11
-rw-r--r--htdocs/style/results.css9
2 files changed, 14 insertions, 6 deletions
diff --git a/htdocs/style/base.css b/htdocs/style/base.css
index f46869e..ee3b2d2 100644
--- a/htdocs/style/base.css
+++ b/htdocs/style/base.css
@@ -5,7 +5,7 @@
Copyright 2000 W3C (MIT, INRIA, Keio). All Rights Reserved.
See http://www.w3.org/Consortium/Legal/ipr-notice.html#Copyright
- $Id: base.css,v 1.1 2007-02-20 01:56:44 ot Exp $
+ $Id: base.css,v 1.2 2007-03-09 07:16:46 ot Exp $
*/
/*
@@ -28,7 +28,7 @@ body {
}
p, pre, dt {
line-height: 130%;
- padding-left: 20px;
+ padding-left: 1.5em;
}
/*
@@ -153,11 +153,12 @@ a:hover, a:active {
*/
/* TODO - add ol, li, td here ? */
-p, dt {
- margin-left: 15px;
- margin-right: 25px;
+p, dt, ul, ol {
+ margin-left: 1.5em;
+ margin-right: 1.5em;
}
+
dd {
margin-left: 35px;
margin-right: 25px;
diff --git a/htdocs/style/results.css b/htdocs/style/results.css
index f84cee1..3db2cf9 100644
--- a/htdocs/style/results.css
+++ b/htdocs/style/results.css
@@ -1,5 +1,5 @@
/* style sheet for the validator's results page */
-/* $Id: results.css,v 1.4 2007-03-09 06:55:25 ot Exp $ */
+/* $Id: results.css,v 1.5 2007-03-09 07:16:46 ot Exp $ */
.input {
color: black;
@@ -65,6 +65,12 @@ ol#warnings, ol#error_loop {
border-top: 1px solid #eee;
}
+ol#warnings li ul li, ol#error_loop ul li, ol#error_loop p, ol#warnings p {
+ line-height: 135%;
+ margin-bottom: .65em;
+ /*margin-right: 2em;*/
+}
+
li.msg_info span.err_type{
background-color: #888;
padding: .1em .5em;
@@ -88,6 +94,7 @@ li.msg_err span.err_type{
.msg {
font-weight: bold;
+ line-height: 130%;
}
li.msg_info span.msg { /* these messages are not errors */