Skip to content

Commit e7409c6

Browse files
committed
Decrease demo page font size and adjust Twitter button position
1 parent fdac872 commit e7409c6

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

css/screen.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sass/screen.sass

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,30 +46,29 @@ $radius: 6px
4646
*----------------------------------------------- */
4747

4848
html
49-
font: 100% / 1.5 $body-font-family, sans-serif
49+
font: 87% / 1.5 $body-font-family, sans-serif
5050
font-weight: 400
5151

5252
@media (min-width: 40rem)
5353
html
54-
font-size: 106%
54+
font-size: 100%
5555

5656
@media (min-width: 64rem)
5757
html
58-
font-size: 112%
58+
font-size: 106%
5959

6060
body
6161
color: $color
6262
background-color: $bg-color
6363

64-
6564
h1, h2, h3, h4, h5
6665
color: $heading-color
6766
line-height: 1.2em
6867
font-family: $heading-font-family
6968
font-weight: 700
7069

7170
h1
72-
font-size: 3.5rem
71+
font-size: 4rem
7372
margin: 0 0 0.2em 0
7473

7574
@media (min-width: 40rem)
@@ -168,13 +167,13 @@ body
168167
section
169168
border-top: 2px solid $border-color
170169
text-align: center
171-
padding: 2rem 0
170+
padding: 1.5rem 0
172171
&:first-of-type
173172
border-top: none
174173

175174
@media (min-width: 40rem)
176175
section
177-
padding: 4rem 0
176+
padding: 2rem 0
178177

179178
.container
180179
margin: 0 auto
@@ -188,12 +187,17 @@ section
188187
/* -- Header -- */
189188

190189
header
191-
padding: 2rem 0
190+
padding: 4rem 0 2rem 0
192191
background-color: $header-bg-color
193192
text-align: center
194193
p
195194
text-align: center
196195

196+
@media (min-width: 40rem)
197+
header
198+
padding: 2rem 0
199+
200+
197201
/* -- Examples -- */
198202

199203
.example-image-link
@@ -273,7 +277,7 @@ pre
273277
padding: 0 0.5rem 0.1rem 0.5rem
274278
code
275279
padding: 0
276-
font-size: 0.7rem
280+
font-size: 0.8rem
277281
border: none
278282

279283

@@ -326,7 +330,7 @@ ul
326330
border: none
327331
color: #fff
328332
background-color: $link-color
329-
font-size: 1.2rem
333+
font-size: 1.1rem
330334
font-weight: bold
331335
text-transform: uppercase
332336
+border-radius($radius)

0 commit comments

Comments
 (0)