ruby/lib/rdoc/generator/template/darkfish
nicholas a. evans dd43af3be7 [ruby/rdoc] Use distinct styles for note lists and label lists
(https://github.com/ruby/rdoc/pull/1209)

* Use the original `label` description list style

As a default for all description lists, the original "label" style is
more readable.

This is slightly different from the original `label` dl though:
* slightly increased left margin for `dd` (to 1em)
* removed right margin on `dd`
* removed `dt` bottom margin and `dd` top margin, to reduce the gap
  between the term and its description (to only the standard line-height
  gap).

* Add closing tags for description list terms

Without the closing tags, the dt elements contain whitespace after the
text.  This normally isn't a big deal, but does mess some things up,
e.g: using `::after` with `content: ", "` in stylesheets.

* Restore float:left style for note lists

Unlike the original note list styles, this version sets the line-height
for all `dt` elements to be the same as the `p` elements contained
inside the `dd`, so that the second line has the same indentation as all
subsequent lines.

* Add commas between note list terms

9e69ea6d75
2024-12-08 10:43:47 +00:00
..
css [ruby/rdoc] Use distinct styles for note lists and label lists 2024-12-08 10:43:47 +00:00
fonts
images
js [ruby/rdoc] Improve method source toggling 2024-10-10 09:45:41 +00:00
.document
_footer.rhtml
_head.rhtml [ruby/rdoc] Generate meta tags based on page's content 2024-10-15 22:59:33 +00:00
_sidebar_classes.rhtml
_sidebar_extends.rhtml
_sidebar_in_files.rhtml
_sidebar_includes.rhtml
_sidebar_installed.rhtml
_sidebar_methods.rhtml [ruby/rdoc] Split list of class and instance methods in two 2024-11-13 16:13:21 +00:00
_sidebar_navigation.rhtml
_sidebar_pages.rhtml
_sidebar_parent.rhtml [ruby/rdoc] Display class ancestors in the sidebar #1183 2024-11-04 17:34:27 +00:00
_sidebar_search.rhtml [ruby/rdoc] Add keydown event listener to focus on search field 2023-07-05 03:37:28 +00:00
_sidebar_sections.rhtml
_sidebar_table_of_contents.rhtml
_sidebar_toggle.rhtml [ruby/rdoc] Modernize RDoc Darkfish template CSS 2024-08-24 11:07:28 +00:00
_sidebar_VCS_info.rhtml
class.rhtml [ruby/rdoc] feature: Render mixed-in methods and constants with 2024-10-17 20:40:34 +00:00
index.rhtml [ruby/rdoc] Fix sidebar scroll again and add missing footer back 2024-08-15 13:33:00 +00:00
page.rhtml [ruby/rdoc] Fix sidebar scroll again and add missing footer back 2024-08-15 13:33:00 +00:00
servlet_not_found.rhtml [ruby/rdoc] Fix sidebar scroll again and add missing footer back 2024-08-15 13:33:00 +00:00
servlet_root.rhtml [ruby/rdoc] Fix sidebar scroll again and add missing footer back 2024-08-15 13:33:00 +00:00
table_of_contents.rhtml [ruby/rdoc] Fix sidebar scroll again and add missing footer back 2024-08-15 13:33:00 +00:00