Skip to content

Commit cf21401

Browse files
basic styles for table
1 parent c0657c3 commit cf21401

File tree

1 file changed

+21
-0
lines changed
  • scaladoc/resources/dotty_res/styles/theme/layout

1 file changed

+21
-0
lines changed

scaladoc/resources/dotty_res/styles/theme/layout/content.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,29 @@
170170
/* content table */
171171
#content table {
172172
color: var(--text-primary);
173+
border-collapse: collapse;
173174
}
174175

176+
#content table tbody {
177+
text-align: right;
178+
}
179+
180+
#content table tr td:last-child,
181+
#content table th:last-child {
182+
text-align: left;
183+
}
184+
185+
#content table * {
186+
padding: calc(2 * var(--base-spacing)) var(--base-spacing) 17px;
187+
}
188+
189+
#content table tr {
190+
border-bottom: 1px solid var(--border-default);
191+
}
192+
193+
#content table tr:last-child {
194+
border-bottom: none;
195+
}
175196

176197
/* content link */
177198
#content a {

0 commit comments

Comments
 (0)