1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/rdoc] Add table style

https://github.com/ruby/rdoc/commit/2219c5ae80
This commit is contained in:
Nobuyoshi Nakada 2021-01-26 01:21:13 +09:00
parent 3651f678a7
commit 10b082064e
Notes: git 2021-03-16 15:47:54 +09:00

View file

@ -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 {