Skip to content

Commit a9740ce

Browse files
committed
remove font size and line height specifications for separate PR
1 parent 70a9e4a commit a9740ce

File tree

2 files changed

+23
-22
lines changed

2 files changed

+23
-22
lines changed

css/sintax.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
.highlight .w {
3232
color: #24292f;
3333
background-color: var(--code-bg);
34-
width: 100%;
3534
}
3635

3736
.highlight .k,

css/style.css

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
}
1818

1919
body {
20-
font: 400 1rem/1.7 "Open Sans", sans-serif;
20+
font: 400 14px/1.6 "Open Sans", sans-serif;
2121
background: #fff;
2222
margin: 0;
2323
padding: 0;
@@ -29,8 +29,8 @@ body.no-scroll {
2929
}
3030

3131
h1 {
32-
font-size: 2rem;
33-
line-height: 2.25rem;
32+
font-size: 30px;
33+
line-height: 36px;
3434
}
3535

3636
#intro h3,
@@ -47,7 +47,7 @@ h3 {
4747
}
4848

4949
.content h1 {
50-
margin: 20px;
50+
margin-bottom: 20px;
5151
}
5252

5353
p em {
@@ -57,7 +57,7 @@ p em {
5757

5858
p {
5959
margin: 10px 0;
60-
line-height: 1.35rem;
60+
line-height: 1.35em;
6161
}
6262

6363
strong,
@@ -100,6 +100,7 @@ main.home {
100100

101101
#homepage-rightpane {
102102
min-width: 500px;
103+
padding: 25px 30px 0px 0px;
103104
}
104105

105106
#homepage-rightpane iframe {
@@ -113,7 +114,7 @@ main.home {
113114
background: #fdfae6;
114115
border: 1px solid #ebdbb7;
115116
border-radius: 3px;
116-
font-size: 1rem;
117+
font-size: 0.9em;
117118
}
118119

119120
#announcements ul {
@@ -166,7 +167,7 @@ li code {
166167
}
167168

168169
#intro h3 {
169-
font-size: 1.5rem;
170+
font-size: 25px;
170171
margin-bottom: 10px;
171172
}
172173

@@ -178,30 +179,30 @@ li code {
178179
padding-top: 10px;
179180
padding-bottom: 5px;
180181
font-weight: bold;
181-
font-size: 1.5rem;
182+
font-size: 24px;
182183
color: #888;
183184
}
184185

185186
#api-doc h2 {
186187
font-weight: bold;
187-
font-size: 1.75rem;
188+
font-size: 29px;
188189
margin: 40px 0 20px;
189190
}
190191

191192
#api-doc section h3 {
192193
padding-top: 10px;
193194
padding-bottom: 5px;
194195
font-weight: bold;
195-
font-size: 1.2rem;
196+
font-size: 18px;
196197
}
197198

198199
#api-doc h4 {
199-
font-size: 1rem;
200+
font-size: 16px;
200201
font-weight: bold;
201202
}
202203

203204
#api-doc h5 {
204-
font-size: 1rem;
205+
font-size: 14px;
205206
font-weight: bold;
206207
color: #666;
207208
}
@@ -267,7 +268,7 @@ a {
267268

268269
#description .express {
269270
display: block;
270-
font: 4.5rem "Helvetica Neue", "Open Sans", sans-serif;
271+
font: 4.5em "Helvetica Neue", "Open Sans", sans-serif;
271272
font-weight: 100;
272273
margin-bottom: 0.25em;
273274
}
@@ -291,9 +292,9 @@ a {
291292
#description .description {
292293
position: relative;
293294
top: -5px;
294-
font: 100 3.1em "Helvetica Neue", "Open Sans", sans-serif;
295+
font: 100 4.1em "Helvetica Neue", "Open Sans", sans-serif;
295296
color: #7e7e7e;
296-
line-height: 1.2;
297+
line-height: 0.87;
297298
}
298299

299300
#description em {
@@ -344,10 +345,10 @@ header {
344345
code {
345346
background-color: var(--code-bg);
346347
margin-block: -0.125rem;
347-
font-size: 1rem;
348+
font-size: 13px;
349+
padding: 0.125rem 0.375rem;
348350
line-height: 28px;
349351
border-radius: 6px;
350-
padding: 0.125rem 0.375rem;
351352
}
352353

353354
pre {
@@ -357,9 +358,6 @@ pre {
357358
background-color: var(--code-bg);
358359
}
359360

360-
pre code {
361-
padding: 0;
362-
}
363361
/* top button */
364362

365363
.scroll #top {
@@ -878,13 +876,17 @@ h2 a {
878876
padding: 1rem;
879877
}
880878

881-
#menu-toggle {
879+
#menu-toggle.open {
882880
display: block;
883881
}
884882

885883
.content {
886884
margin: 73px 3% 7%;
887885
}
886+
887+
#menu li {
888+
border-bottom: 1px solid #cdcdcd;
889+
}
888890
}
889891

890892
@media all and (max-width: 1110px) {

0 commit comments

Comments
 (0)