refine styles

This commit is contained in:
Le Tan 2018-01-08 19:58:19 +08:00
parent b9e8bc0eb4
commit 9dad67739a
3 changed files with 28 additions and 18 deletions

View File

@ -85,8 +85,7 @@ pre {
code {
font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New;
line-height: 1.5;
font-size: 14px;
font-size: 16px;
color: #98C379;
}
@ -96,17 +95,21 @@ pre code {
padding: 0.5em;
color: #98C379;
background-color: #2C313A;
line-height: 1.5;
}
code.mathjax-code {
display: inherit;
display: block;
overflow-x: inherit;
padding: inherit;
margin: 0;
padding: 0;
color: inherit;
background: inherit;
font-size: 100%;
font-style: normal;
font-weight: normal;
font-size: 16px;
font-family: inherit;
line-height: inherit;
line-height: 24px;
}
aside {

View File

@ -85,8 +85,7 @@ pre {
code {
font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New;
line-height: 1.5;
font-size: 14px;
font-size: 16px;
color: #8E24AA;
}
@ -96,17 +95,22 @@ pre code {
padding: 0.5em;
color: #363636;
background-color: #E0E0E0;
line-height: 1.5;
}
/* Should reference the style of P. */
code.mathjax-code {
display: inherit;
display: block;
overflow-x: inherit;
padding: inherit;
margin: 0;
padding: 0;
color: inherit;
background: inherit;
font-size: 100%;
font-style: normal;
font-weight: normal;
font-size: 16px;
font-family: inherit;
line-height: inherit;
line-height: 24px;
}
aside {

View File

@ -84,8 +84,7 @@ pre {
code {
font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New;
line-height: 1.5;
font-size: 14px;
font-size: 16px;
color: #8E24AA;
}
@ -95,17 +94,21 @@ pre code {
padding: 0.5em;
color: #363636;
background-color: #E0E0E0;
line-height: 1.5;
}
code.mathjax-code {
display: inherit;
display: block;
overflow-x: inherit;
padding: inherit;
margin: 0;
padding: 0;
color: inherit;
background: inherit;
font-size: 100%;
font-style: normal;
font-weight: normal;
font-size: 16px;
font-family: inherit;
line-height: inherit;
line-height: 24px;
}
aside {