Skip to content

Commit bdff954

Browse files
committed
Fix code css
1 parent 307932e commit bdff954

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

css/app.css

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
/* Small screens (default) */
44
html { font-size: 100%; }
5-
5+
66
/* Medium screens (640px) */
7-
@media (min-width: 40rem) {
7+
@media (min-width: 40rem) {
88
html { font-size: 112%; }
99
}
10-
10+
1111
/* Large screens (1024px) */
12-
@media (min-width: 64rem) {
12+
@media (min-width: 64rem) {
1313
html { font-size: 120%; }
1414
}
1515

@@ -139,7 +139,7 @@ input.searchButton {
139139

140140
/* border: 1px solid black; */
141141

142-
counter-reset: section;
142+
counter-reset: section;
143143
}
144144

145145
@media (min-width: 40rem) {
@@ -166,9 +166,6 @@ input.searchButton {
166166
}
167167

168168
#content code {
169-
padding-left: 3px;
170-
padding-right: 3px;
171-
172169
color: #a6e22e;
173170
font-size: 0.7rem;
174171
font-weight: normal;
@@ -178,10 +175,12 @@ input.searchButton {
178175
border-radius: 2px;
179176
}
180177

181-
#content p>code,
178+
#content p code,
182179
#content li>code,
183180
#content h2>code,
184181
#content h3>code{
182+
padding-left: 3px;
183+
padding-right: 3px;
185184
color: #c7254e;
186185
background: #f9f2f4;
187186
}
@@ -361,7 +360,7 @@ input.searchButton {
361360
margin-left: 560px;
362361

363362
font-size: 14px;
364-
}
363+
}
365364
}
366365

367366
#flip{

0 commit comments

Comments
 (0)