ruby-changes:65499
From: Nobuyoshi <ko1@a...>
Date: Tue, 16 Mar 2021 15:47:45 +0900 (JST)
Subject: [ruby-changes:65499] 10b082064e (master): [ruby/rdoc] Add table style
https://git.ruby-lang.org/ruby.git/commit/?id=10b082064e From 10b082064e6ab0943cce4ef43e567d8044c7096d Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 26 Jan 2021 01:21:13 +0900 Subject: [ruby/rdoc] Add table style https://github.com/ruby/rdoc/commit/2219c5ae80 --- lib/rdoc/generator/template/darkfish/css/rdoc.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/lib/rdoc/generator/template/darkfish/css/rdoc.css b/lib/rdoc/generator/template/darkfish/css/rdoc.css index 955e67d..ebe2e93 100644 --- a/lib/rdoc/generator/template/darkfish/css/rdoc.css +++ b/lib/rdoc/generator/template/darkfish/css/rdoc.css @@ -79,6 +79,25 @@ pre { https://github.com/ruby/ruby/blob/trunk/lib/rdoc/generator/template/darkfish/css/rdoc.css#L79 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 { -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/