diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-02-02 06:54:55 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-02-02 06:54:55 +0000 |
commit | 33d026034e68fefcc8a6615907e864d39da6a3fb (patch) | |
tree | 2bdd0b5430b57e1ddd3e9153529db74e2d49fdc3 | |
parent | fc7e1baf5184a362377f303821eb6dacd369b006 (diff) | |
download | ruby-33d026034e68fefcc8a6615907e864d39da6a3fb.tar.gz |
rdoc.css: make label-list compact
"Labeled Lists" section in lib/rdoc/markup.rb states labeled-list
will be formatted in same lines.
```
Notice that blank lines right after the label are ignored in labeled lists:
[one]
definition 1
[two]
definition 2
produces the same output as
[one] definition 1
[two] definition 2
```
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | lib/rdoc/generator/template/darkfish/css/rdoc.css | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rdoc/generator/template/darkfish/css/rdoc.css b/lib/rdoc/generator/template/darkfish/css/rdoc.css index 2f4dca7e08..a6a577d1a1 100644 --- a/lib/rdoc/generator/template/darkfish/css/rdoc.css +++ b/lib/rdoc/generator/template/darkfish/css/rdoc.css @@ -261,6 +261,11 @@ ul.link-list .type { -webkit-border-radius: 5px; } +dl.label-list dt { + float: left; + margin-right: 1em; +} + .calls-super { background: url(images/arrow_up.png) no-repeat right center; } |