Skip to main content
Aubrey Moore
  • Archive
  • Tags
  • RSS feed
  • Source

Tweeking Nikola CSS to Improve Table Display

Aubrey Moore

2017-02-20 19:28

Source

Crappy default styling of tables was fixed by adding this file:

~nik/mysite/files/assets/css/custom.css **

/* Tweeks by Aubrey Moore */

td {
    padding: 15px;
}

th {
    text-align: center;
    padding: 15px;
}

tr:nth-child(even){background-color: #f2f2f2}
  • css
  • Nikola
  • Previous post
  • Next post
Contents © 2018 Aubrey Moore - Powered by Nikola

Search Results: