nielsenramon / chalk

Chalk is a high quality, completely customizable, performant and 100% free Jekyll blog theme.
http://chalk.nielsenramon.com
MIT License
1.22k stars 441 forks source link

Add Responsive Table CSS #71

Open foodgy opened 7 years ago

foodgy commented 7 years ago

Hey!

It would be nice to have build-in responsive table styles for both light and dark themes.

P.S.: Thx for awesome Jekyll theme 👍

zhangqushun commented 7 years ago
  1. enter _assets/styleshesheets/
  2. edit _base.scss
  3. add code : table, td, th {
    border: 1px solid $base-border-color; } table { border-collapse: collapse; width: 100%; } th, td { padding: 10px; }
  4. bundle exec jekyll server
migueldemoura commented 6 years ago

@nielsenramon, should I make a PR for this?

nielsenramon commented 6 years ago

@migueldemoura We could add this but I did not style the tables yet. We could make this a new feature (Tables). You think it's used a lot in blogs?

migueldemoura commented 6 years ago

@nielsenramon, not crucial, but certainly useful. For example, my blog currently focuses around security disclosures and the event timeline is displayed using a <table>.