summaryrefslogtreecommitdiff
path: root/lib/rdoc/generator/template
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/generator/template')
-rw-r--r--lib/rdoc/generator/template/darkfish/css/rdoc.css22
1 files changed, 19 insertions, 3 deletions
diff --git a/lib/rdoc/generator/template/darkfish/css/rdoc.css b/lib/rdoc/generator/template/darkfish/css/rdoc.css
index 82c1e4baf6..69b1d08577 100644
--- a/lib/rdoc/generator/template/darkfish/css/rdoc.css
+++ b/lib/rdoc/generator/template/darkfish/css/rdoc.css
@@ -469,14 +469,30 @@ main dl {
}
main dt {
- margin-bottom: 0.5em;
+ line-height: 1.5; /* matches `main p` */
+ font-weight: bold;
+}
+
+main dl.note-list dt {
margin-right: 1em;
float: left;
- font-weight: bold;
+}
+
+main dl.note-list dt:has(+ dt) {
+ margin-right: 0.25em;
+}
+
+main dl.note-list dt:has(+ dt)::after {
+ content: ', ';
+ font-weight: normal;
}
main dd {
- margin: 0 1em 1em 0.5em;
+ margin: 0 0 1em 1em;
+}
+
+main dd p:first-child {
+ margin-top: 0;
}
/* Headers within Main */