aboutsummaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorMark Lentczner <markl@glyphic.com>2010-07-14 04:21:55 +0000
committerMark Lentczner <markl@glyphic.com>2010-07-14 04:21:55 +0000
commitc006c2a31880eab89a69c0ef42eddf7d02cfcd96 (patch)
tree211d4dbcf6dc8433ec22b0a6f49fb0ad54a75708 /html
parent16c666804946a08870926f25205117104625b72e (diff)
constructors and args as dl lists, built in Layout.hs
Diffstat (limited to 'html')
-rw-r--r--html/xhaddock.css43
1 files changed, 38 insertions, 5 deletions
diff --git a/html/xhaddock.css b/html/xhaddock.css
index f1c149b5..fc305af3 100644
--- a/html/xhaddock.css
+++ b/html/xhaddock.css
@@ -1,6 +1,6 @@
* {
margin: 0;
- padding: 0;
+ padding: 0;
}
body {
@@ -56,25 +56,25 @@ h1, h2, h3, h4, h5 {
p {
padding-top: 2px;
padding-left: 10px;
- margin-bottom: 1em;
}
ul, ol, dl {
padding-top: 2px;
padding-left: 10px;
margin-left: 2.5em;
- margin-bottom: 1em;
}
pre {
padding-top: 2px;
padding-left: 20px;
- margin-bottom: 1em;
}
-h2 + p, h3 + p, h4 + p {
+* + p, * + pre {
margin-top: 1em;
}
+.caption + p, .src + p {
+ margin-top: 0;
+}
#package-header {
@@ -196,6 +196,8 @@ dl.info dd {
div.top {
margin-top: 1em;
+ clear: left;
+ margin-bottom: 1em;
}
div.top h5 {
@@ -224,6 +226,37 @@ div.top table, div.subdecl {
padding: 0 4px 2px 5px;
}
+div.subs {
+ margin-left: 10px;
+ clear: both;
+ margin-top: 2px;
+}
+
+.subs dl {
+ margin-left: 0;
+}
+
+.subs dl dl {
+ padding-left: 0;
+ padding-top: 4px;
+}
+
+.subs dt {
+ float: left;
+ margin-right: 1em;
+ clear: left;
+}
+
+.subs dd
+{
+ margin-bottom: 2px;
+ margin-top: 2px;
+}
+
+.fields .caption {
+ display: none;
+}
+
p.arg {
margin-bottom: 0;
}