Merge pull request #155 from todoubaba/fix-code-style

Code 使用与英文相同的等宽字体,与code-example保持一致
This commit is contained in:
Rex 2016-11-30 11:29:20 +00:00 committed by GitHub
commit fcb4cba416
1 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ td, th {
font-style: normal; font-style: normal;
font-weight: bold; font-weight: bold;
} }
code, [lang=english] { [lang=english] {
margin-left: 0.2em; margin-left: 0.2em;
margin-right: 0.2em; margin-right: 0.2em;
} }
@ -108,7 +108,7 @@ td, th {
} }
} }
body, .main-nav .main-nav-button, .translated-cn code { body, .main-nav .main-nav-button, .translated-cn {
font-family: "Helvetica Neue", Arial, STHeiti, "Microsoft YaHei", sans-serif, Helvetica, "DroidSansFallback", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3" !important; font-family: "Helvetica Neue", Arial, STHeiti, "Microsoft YaHei", sans-serif, Helvetica, "DroidSansFallback", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3" !important;
} }