diff options
author | Nobuyoshi Nakada <[email protected]> | 2021-01-26 01:21:13 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-03-16 15:47:27 +0900 |
commit | 10b082064e6ab0943cce4ef43e567d8044c7096d (patch) | |
tree | 8b1cea47ff49c4b17fbd3d104fd2abc2bf984ef0 /lib/rdoc | |
parent | 3651f678a719ae3a35825bcb4e0dabbc7c60d8df (diff) |
[ruby/rdoc] Add table style
https://github.com/ruby/rdoc/commit/2219c5ae80
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4274
Diffstat (limited to 'lib/rdoc')
-rw-r--r-- | lib/rdoc/generator/template/darkfish/css/rdoc.css | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/rdoc/generator/template/darkfish/css/rdoc.css b/lib/rdoc/generator/template/darkfish/css/rdoc.css index 955e67d135..ebe2e93af6 100644 --- a/lib/rdoc/generator/template/darkfish/css/rdoc.css +++ b/lib/rdoc/generator/template/darkfish/css/rdoc.css @@ -79,6 +79,25 @@ pre { border-radius: 0.2em; } +table { + margin: 0; + border-spacing: 0; + border-collapse: collapse; +} + +table tr th, table tr td { + padding: 0.2em 0.4em; + border: 1px solid #ccc; +} + +table tr th { + background-color: #eceaed; +} + +table tr:nth-child(even) td { + background-color: #f5f4f6; +} + /* @group Generic Classes */ .initially-hidden { |