1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-27 12:22:21 +00:00

Merge pull request #205 from xcatliu/fix-code-css

Fix code css
This commit is contained in:
Ruan YiFeng 2016-05-19 17:57:06 -05:00
commit 492d2e7182

View File

@ -2,14 +2,14 @@
/* Small screens (default) */ /* Small screens (default) */
html { font-size: 100%; } html { font-size: 100%; }
/* Medium screens (640px) */ /* Medium screens (640px) */
@media (min-width: 40rem) { @media (min-width: 40rem) {
html { font-size: 112%; } html { font-size: 112%; }
} }
/* Large screens (1024px) */ /* Large screens (1024px) */
@media (min-width: 64rem) { @media (min-width: 64rem) {
html { font-size: 120%; } html { font-size: 120%; }
} }
@ -139,7 +139,7 @@ input.searchButton {
/* border: 1px solid black; */ /* border: 1px solid black; */
counter-reset: section; counter-reset: section;
} }
@media (min-width: 40rem) { @media (min-width: 40rem) {
@ -166,9 +166,6 @@ input.searchButton {
} }
#content code { #content code {
padding-left: 3px;
padding-right: 3px;
color: #a6e22e; color: #a6e22e;
font-size: 0.7rem; font-size: 0.7rem;
font-weight: normal; font-weight: normal;
@ -178,10 +175,12 @@ input.searchButton {
border-radius: 2px; border-radius: 2px;
} }
#content p>code, #content p code,
#content li>code, #content li>code,
#content h2>code, #content h2>code,
#content h3>code{ #content h3>code{
padding-left: 3px;
padding-right: 3px;
color: #c7254e; color: #c7254e;
background: #f9f2f4; background: #f9f2f4;
} }
@ -361,7 +360,7 @@ input.searchButton {
margin-left: 560px; margin-left: 560px;
font-size: 14px; font-size: 14px;
} }
} }
#flip{ #flip{