Browse Source

update site code style

pull/783/head
afc163 9 years ago
parent
commit
88a22815b8
  1. 12
      site/static/style.css
  2. 7
      site/static/tomorrow.css

12
site/static/style.css

@ -556,13 +556,6 @@ footer ul li > a {
margin: 20px 0;
}
.markdown code,
.markdown kbd,
.markdown pre,
.markdown samp {
font-family: Consolas, monospace;
}
.markdown p,
.markdown pre {
margin: 1.2em 0;
@ -590,14 +583,13 @@ footer ul li > a {
}
.markdown pre {
background: #F7F7F7;
border-radius: 6px;
}
.markdown pre code {
background: #F7F7F7;
border: none;
padding: 12px 20px;
padding: 1em 2em;
background: #f9f9f9;
margin: 0;
}

7
site/static/tomorrow.css

@ -35,11 +35,11 @@
}
code {
background: #f6f6f6;
background: #f7f7f7;
padding: 1px 6px;
border-radius: 3px;
color: #888;
font-size: 90%;
font-size: 0.8rem;
border: 1px solid #e9e9e9;
white-space: nowrap;
}
@ -48,11 +48,10 @@ pre code {
display: block;
background: white;
color: #666;
font-family: Consolas, monospace;
line-height: 1.5;
border: 1px solid #e9e9e9;
padding: 10px 15px;
border-radius: 6px;
font-size: 14px;
font-size: 0.9rem;
white-space: pre;
}

Loading…
Cancel
Save