vividvilla / ezhil

Clean and minimal personal blog theme for Hugo
https://ezhil-hugo.netlify.com/
MIT License
422 stars 178 forks source link

Fix table spacing #35

Closed ajeetdsouza closed 4 years ago

ajeetdsouza commented 4 years ago

Ezhil's styling for tables at the moment leaves no padding around the content, resulting in rather unreadable tables. Perhaps we could add some padding and/or a light border around the cells?

For example, this:

| filesize |    time | memory  |
| --------:| -------:| ------ :|
|   100 MB |  0.64 s | 2060 KB |
|   100 MB |  0.62 s | 1816 KB |
|   500 MB |  3.13 s | 2084 KB |
|   500 MB |  1.98 s | 1852 KB |

Looks like this:

image

Even the demo page has poor spacing between blocks in the header.

vividvilla commented 4 years ago

Thanks for reporting, added a default style for table. Here is the demo - https://ezhil-hugo.netlify.com/posts/post-5/#Tables