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:
parent
3651f678a7
commit
10b082064e
Notes:
git
2021-03-16 15:47:54 +09:00
1 changed files with 19 additions and 0 deletions
|
@ -79,6 +79,25 @@ pre {
|
||||||
border-radius: 0.2em;
|
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 */
|
/* @group Generic Classes */
|
||||||
|
|
||||||
.initially-hidden {
|
.initially-hidden {
|
||||||
|
|
Loading…
Add table
Reference in a new issue