diff --git a/TODO b/TODO
index 479b4ed9..5fedfa70 100644
--- a/TODO
+++ b/TODO
@@ -26,10 +26,6 @@ IMPORTANT FEATURES
- Factor out command line parser into its own class, and unit test it
- Figure out autoload and PEAR
-CONFIGDOC
- - Implement source code sniffing for configdoc, so we can easily figure out
- which files use what configuration (we'll rely on the $config convention)
-
NICE FEATURES
- Factor demo.php into a set of Printer classes, and then create a stub
file for users here (inside the actual HTML Purifier library)
diff --git a/configdoc/styles/plain.css b/configdoc/styles/plain.css
index 44378edd..44ab105f 100644
--- a/configdoc/styles/plain.css
+++ b/configdoc/styles/plain.css
@@ -1,16 +1,30 @@
-body {margin:1em 4em;}
+body {margin:0;padding:0;}
+#content {
+ margin:1em auto;
+ max-width: 47em;
+ width: expression(document.body.clientWidth >
+ 85 * parseInt(document.body.currentStyle.fontSize) ?
+ "54em": "auto");
+}
table {border-collapse:collapse;}
table td, table th {padding:0.2em;}
table.constraints {margin:0 0 1em;}
-table.constraints th {text-align:left;padding-left:0.4em;}
-table.constraints td {padding-right:0.4em;}
+table.constraints th {
+ text-align:right;padding-left:0.4em;padding-right:0.4em;background:#EEE;
+ width:8em;vertical-align:top;}
+table.constraints td {padding-right:0.4em; padding-left: 1em;}
+table.constraints td ul {padding:0; margin:0; list-style:none;}
table.constraints td pre {margin:0;}
-#toc {list-style-type:none; font-weight:bold;}
-#toc ul {list-style-type:disc; font-weight:normal;}
+#tocContainer {position:relative;}
+#toc {list-style-type:none; font-weight:bold; font-size:1em; margin-bottom:1em;}
+#toc li {position:relative; line-height: 1.2em;}
+#toc .col-2 {margin-left:50%;}
+#toc .col-l {float:left;}
+#toc ul {list-style-type:disc; font-weight:normal; padding-bottom:1.2em;}
.description p {margin-top:0;margin-bottom:1em;}
@@ -19,9 +33,10 @@ table.constraints td pre {margin:0;}
#library {font-size:1em;}
h1 {margin-top:0;}
h2 {border-bottom:1px solid #CCC; font-family:sans-serif; font-weight:normal;
- font-size:1.3em;}
+ font-size:1.3em; clear:both;}
h3 {font-family:sans-serif; font-size:1.1em; font-weight:bold; }
h4 {font-family:sans-serif; font-size:0.9em; font-weight:bold; }
.deprecated {color: #CCC;}
+.deprecated table.constraints th {background:#FFF;}
.deprecated-notice {color: #000; text-align:center; margin-bottom: 1em;}
diff --git a/configdoc/styles/plain.xsl b/configdoc/styles/plain.xsl
index f769da48..c98bcc2f 100644
--- a/configdoc/styles/plain.xsl
+++ b/configdoc/styles/plain.xsl
@@ -15,7 +15,11 @@
-
+
+
+
+
+
@@ -25,31 +29,58 @@
-
-
- Table of Contents
-
-
+