remark
remark copied to clipboard
Better default table styles
Currently tables are unstyled and do not look nice out of the box My workaround is to do
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.6.0/pure-min.css">
<style>
.smaller-font { font-size:14px }
</style>
...
.pure-table.pure-table-bordered.pure-table-striped.smaller-font[
|header1 | header 2|
|--------|---------|
| 1 | 2 |
| 3 | 4 |
]
The default github styling is decent as it has header bolding, borders and zebra stripes
| header1 | header 2 |
|---|---|
| 1 | 2 |
| 3 | 4 |
+1
This is a nice example for creating and styling tables. Would a variety of css files be something that could be linked to in the wiki ?