Skip to content
Permalink
Browse files

Don’t style non-reST tables the reST way

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information...
Kwpolska committed Sep 19, 2017
1 parent 6042ccb commit 22e86f5a7b692c2569459589395de2d7d4d549a6
Showing with 5 additions and 5 deletions.
  1. +5 −5 nikola/data/themes/base/assets/css/rst_base.css
@@ -238,17 +238,17 @@ pre.code {
pre.code .ln { color: gray; } /* line numbers */

/* Tables */
table { border-collapse: collapse; }
td, th {
table.docutils { border-collapse: collapse; }
table.docutils > td, table.docutils > th {
border-style: solid;
border-color: silver;
padding: 0 1ex;
border-width: thin;
}
td > p:first-child, th > p:first-child { margin-top: 0; }
td > p, th > p { margin-bottom: 0; }
table.docutils > td > p:first-child, table.docutils > th > p:first-child { margin-top: 0; }
table.docutils > td > p, table.docutils > th > p { margin-bottom: 0; }

table > caption {
table.docutils > caption {
text-align: left;
margin-bottom: 0.25em
}

0 comments on commit 22e86f5

Please sign in to comment.
You can’t perform that action at this time.