Skip to content
Permalink
Browse files

feat(code-block): minor refine code-block style

  • Loading branch information
calfzhou authored and talha131 committed Oct 6, 2019
1 parent 0f41d85 commit 2ba22321b35961ebc18dbb2c25f1db535fad64ed
Showing with 22 additions and 2 deletions.
  1. +13 −2 static/css/admonition.css
  2. +9 −0 static/css/elegant.css
@@ -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 {
@@ -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;

0 comments on commit 2ba2232

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