Skip to content

Commit 54c3043

Browse files
committed
tune typography
1 parent 6ceee7c commit 54c3043

File tree

3 files changed

+15
-14
lines changed

3 files changed

+15
-14
lines changed

_sass/_base.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ li {
8686
* Headings
8787
*/
8888
h1, h2, h3, h4, h5, h6 {
89-
font-weight: $header-font-weight;
89+
font-weight: $bold-font-weight;
9090
text-transform: uppercase;
9191
}
9292

@@ -232,5 +232,5 @@ pre {
232232
color: $brand-color;
233233
vertical-align: super;
234234
font-size: 0.5em;
235-
font-weight: 400;
235+
font-weight: $base-font-weight;
236236
}

_sass/_home.scss

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ h1.square {
2929
.fancy-link {
3030
font-size: 11pt;
3131
text-transform: uppercase;
32-
font-weight: $header-font-weight;
32+
font-weight: $bold-font-weight;
3333
transition: border-bottom-color 0.1s;
3434
border-bottom: 3px solid transparent;
3535

@@ -49,22 +49,24 @@ h1.square {
4949

5050
font-size: 1.75em;
5151
text-align: center;
52-
color: transparentize(#000, 0.08);
52+
color: #141414;
5353

5454
h1 {
5555
font-family: $title-font-family;
5656
font-weight: $title-font-weight;
5757
text-transform: none;
5858
font-size: 2.5em;
59-
line-height: 0.5;
59+
line-height: 1.0;
6060
}
6161

6262
.desc {
6363
margin: 0;
64+
line-height: 0.9;
6465
}
6566

6667
.preview-note {
67-
font-size: 0.45em;
68+
margin: 0;
69+
font-size: 0.5em;
6870
color: transparentize(#000, 0.25);
6971
}
7072

@@ -76,7 +78,7 @@ h1.square {
7678
}
7779

7880
#download {
79-
margin-top: $spacing-unit * 1.5;
81+
margin-top: $spacing-unit;
8082
}
8183

8284
#download-stable, #download-gh {
@@ -96,17 +98,17 @@ h1.square {
9698
height: $height;
9799

98100
font-size: 11pt;
99-
font-weight: $header-font-weight;
100-
background: transparentize(#000, 0.5);
101+
font-weight: $bold-font-weight;
102+
background: transparentize(#000, 0.3);
101103
padding: 0 $spacing-unit;
102104
border-radius: $height/2;
103105

104106
&, &:visited {
105-
color: transparentize($background-color, 0.1);
107+
color: $background-color;
106108
}
107109

108110
&:hover {
109-
background-color: transparentize($grey-color-darker, 0.5);
111+
background-color: transparentize($grey-color-darker, 0.3);
110112
}
111113
}
112114

@@ -223,7 +225,7 @@ h1.square {
223225
right: 10px;
224226

225227
font-size: 1.3em;
226-
font-weight: 700;
228+
font-weight: $bold-font-weight;
227229
line-height: 1;
228230

229231
&, &:visited {

assets/main.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,14 @@
1010
$base-font-family: 'Open Sans', Helvetica, Arial, sans-serif;
1111
$base-font-size: 16px;
1212
$base-font-weight: 400;
13+
$bold-font-weight: 800;
1314
$small-font-size: $base-font-size * 0.875;
1415
$base-line-height: 1.5;
1516

1617
$title-font-family: 'Ruda', Helvetica, Arial, sans-serif;
1718
$title-font-weight: 900;
1819
$title-color: lighten(#000, 15%);
1920

20-
$header-font-weight: 800;
21-
2221
$spacing-unit: 30px;
2322

2423
$text-color: #161616;

0 commit comments

Comments
 (0)