Skip to content

Commit

Permalink
feat(code-block): minor refine code-block style
Browse files Browse the repository at this point in the history
  • Loading branch information
calfzhou authored and talha131 committed Oct 30, 2019
1 parent 0f41d85 commit 2ba2232
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
15 changes: 13 additions & 2 deletions static/css/admonition.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,19 @@ div.admonition p a {
color: inherit !important;
}

div.admonition pre {
margin: 0.4em 1em 0.4em 1em;
div.admonition div.highlight {
margin-left: 1em;
margin-right: 1em;
}

div.admonition table.highlighttable {
padding-left: 1em;
padding-right: 1em;
}

div.admonition table.highlighttable div.highlight {
margin-left: 0;
margin-right: 0;
}

div.admonition p.admonition-title {
Expand Down
9 changes: 9 additions & 0 deletions static/css/elegant.css
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,15 @@ td.code {
div.highlight {
margin-bottom: 20px;
}
table.highlighttable {
border: none;
}
table.highlighttable td {
border: none;
}
table.highlighttable tbody > tr:nth-child(odd) > td {
background-color: transparent;
}
/* Tags */
.list-of-tags {
font-family: "Helvetica Neue", Helvetica, Arial, Sans-Serif;
Expand Down

0 comments on commit 2ba2232

Please sign in to comment.