remark icon indicating copy to clipboard operation
remark copied to clipboard

Better default table styles

Open jkolash opened this issue 9 years ago • 2 comments

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

jkolash avatar Sep 02 '16 04:09 jkolash

+1

idlesong avatar Mar 30 '17 11:03 idlesong

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 ?

bkmgit avatar Dec 03 '20 08:12 bkmgit