Skip to content

Commit

Permalink
Improve the appearance of codetables in bootstrap4
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed May 21, 2018
1 parent 2e8d56c commit 584229c
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
19 changes: 19 additions & 0 deletions nikola/data/themes/bootstrap4-jinja/assets/css/theme.css
Expand Up @@ -213,3 +213,22 @@ ul.pager li a {
border: 1px solid #ddd;
border-radius: .25rem;
}

.codetable td {
padding: 0;
margin: 0;
border-radius: 0;
}

.codetable td.linenos pre {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-right: none;
}

.codetable td.code pre.code {
margin-left: 0;
margin-right: 0;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
19 changes: 19 additions & 0 deletions nikola/data/themes/bootstrap4/assets/css/theme.css
Expand Up @@ -213,3 +213,22 @@ ul.pager li a {
border: 1px solid #ddd;
border-radius: .25rem;
}

.codetable td {
padding: 0;
margin: 0;
border-radius: 0;
}

.codetable td.linenos pre {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-right: none;
}

.codetable td.code pre.code {
margin-left: 0;
margin-right: 0;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}

0 comments on commit 584229c

Please sign in to comment.