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

View File

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

View File

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