Skip to content

Commit

Permalink
Don’t style non-reST tables the reST way
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Sep 19, 2017
1 parent 6042ccb commit 22e86f5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions nikola/data/themes/base/assets/css/rst_base.css
Expand Up @@ -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
}
Expand Down

0 comments on commit 22e86f5

Please sign in to comment.