Skip to content

Commit 2219c5a

Browse files
committed
Add table style
1 parent 9dc933d commit 2219c5a

File tree

1 file changed

+19
-0
lines changed
  • lib/rdoc/generator/template/darkfish/css

1 file changed

+19
-0
lines changed

lib/rdoc/generator/template/darkfish/css/rdoc.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,25 @@ pre {
7979
border-radius: 0.2em;
8080
}
8181

82+
table {
83+
margin: 0;
84+
border-spacing: 0;
85+
border-collapse: collapse;
86+
}
87+
88+
table tr th, table tr td {
89+
padding: 0.2em 0.4em;
90+
border: 1px solid #ccc;
91+
}
92+
93+
table tr th {
94+
background-color: #eceaed;
95+
}
96+
97+
table tr:nth-child(even) td {
98+
background-color: #f5f4f6;
99+
}
100+
82101
/* @group Generic Classes */
83102

84103
.initially-hidden {

0 commit comments

Comments
 (0)