Skip to content

Commit 584229c

Browse files
committedMay 21, 2018
Improve the appearance of codetables in bootstrap4
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
1 parent 2e8d56c commit 584229c

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed
 

‎nikola/data/themes/bootstrap4-jinja/assets/css/theme.css

+19
Original file line numberDiff line numberDiff line change
@@ -213,3 +213,22 @@ ul.pager li a {
213213
border: 1px solid #ddd;
214214
border-radius: .25rem;
215215
}
216+
217+
.codetable td {
218+
padding: 0;
219+
margin: 0;
220+
border-radius: 0;
221+
}
222+
223+
.codetable td.linenos pre {
224+
border-top-right-radius: 0;
225+
border-bottom-right-radius: 0;
226+
border-right: none;
227+
}
228+
229+
.codetable td.code pre.code {
230+
margin-left: 0;
231+
margin-right: 0;
232+
border-top-left-radius: 0;
233+
border-bottom-left-radius: 0;
234+
}

‎nikola/data/themes/bootstrap4/assets/css/theme.css

+19
Original file line numberDiff line numberDiff line change
@@ -213,3 +213,22 @@ ul.pager li a {
213213
border: 1px solid #ddd;
214214
border-radius: .25rem;
215215
}
216+
217+
.codetable td {
218+
padding: 0;
219+
margin: 0;
220+
border-radius: 0;
221+
}
222+
223+
.codetable td.linenos pre {
224+
border-top-right-radius: 0;
225+
border-bottom-right-radius: 0;
226+
border-right: none;
227+
}
228+
229+
.codetable td.code pre.code {
230+
margin-left: 0;
231+
margin-right: 0;
232+
border-top-left-radius: 0;
233+
border-bottom-left-radius: 0;
234+
}

0 commit comments

Comments
 (0)
Please sign in to comment.