Skip to content

Commit c7f94b8

Browse files
committed
Change main font and some other styles
1 parent 6987621 commit c7f94b8

File tree

4 files changed

+43
-31
lines changed

4 files changed

+43
-31
lines changed

css/main.css

Lines changed: 19 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="author" content="Igor Escobar" />
66
<title>jQuery Mask Plugin - A jQuery Plugin to make masks on form fields and html elements.</title>
77

8-
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet">
8+
<link href="https://fonts.googleapis.com/css?family=Chivo:400,700" rel="stylesheet">
99
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono:400,500,700" rel="stylesheet">
1010

1111

@@ -29,7 +29,7 @@
2929
</ul>
3030
</div>
3131
</div>
32-
32+
3333
<div class="hero">
3434
<div class="container">
3535
<nav>
@@ -38,7 +38,6 @@
3838
<a class="github-button" href="https://github.com/igorescobar/jQuery-Mask-Plugin" data-style="mega" data-count-href="/igorescobar/jQuery-Mask-Plugin/stargazers" data-count-api="/repos/igorescobar/jQuery-Mask-Plugin#stargazers_count" data-count-aria-label="# stargazers on GitHub" aria-label="Star igorescobar/jQuery-Mask-Plugin on GitHub">Star</a>
3939
</nav>
4040

41-
<h2>jQuery Mask</h2>
4241
<h1>Documentation &amp; Customization</h1>
4342

4443
<a href="#" class="button-large">Download Now</a>

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="author" content="Igor Escobar" />
66
<title>jQuery Mask Plugin - A jQuery Plugin to make masks on form fields and html elements.</title>
77

8-
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet">
8+
<link href="https://fonts.googleapis.com/css?family=Chivo:400,700" rel="stylesheet">
99
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono:400,500,700" rel="stylesheet">
1010

1111

@@ -29,8 +29,8 @@
2929
</ul>
3030
</div>
3131
</div>
32-
33-
<div class="hero">
32+
33+
<div class="hero home">
3434
<div class="container">
3535
<nav>
3636
<a href="./" class="selected">Home</a>

sass/main.sass

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
$color-main: #167FFF
2-
$color-dark: #2E2E2E
2+
$color-dark: #232E3C
3+
$color-light: #6B737C
34
$color-borders: #EFF3F7
45

56
*
@@ -9,26 +10,26 @@ body
910
margin: 0
1011
padding: 0
1112
-webkit-box-sizing: border-box
12-
font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif
13+
font-family: Chivo, "Helvetica Neue", Helvetica, Arial, sans-serif
1314
color: $color-dark
1415
-webkit-font-smoothing: antialiased
1516

1617
h1
1718
font-size: 42px
18-
font-weight: 100
19-
letter-spacing: 2.2px
19+
font-weight: 700
20+
letter-spacing: 0.1px
2021
margin: 0
2122

2223
h2
2324
font-size: 28px
24-
font-weight: 500
25-
letter-spacing: 0.6px
25+
font-weight: 700
26+
letter-spacing: -0.2px
2627
margin: 0
2728

2829
h3
2930
font-size: 20px
30-
font-weight: 500
31-
letter-spacing: 0.2px
31+
font-weight: 700
32+
letter-spacing: -0.14px
3233
margin: 0
3334

3435
p
@@ -45,12 +46,12 @@ a
4546

4647
&.button-large
4748
padding: 15px 36px 17px
48-
background: $color-main
49+
background: $color-dark
4950
color: #FFF
5051
border-radius: 6px
5152

5253
&:hover
53-
box-shadow: 0px 0px 0px 2px white, 0px 0px 0px 4px $color-main
54+
background: lighten($color-dark, 6%)
5455

5556
&.link-small
5657
font-size: 14px
@@ -226,6 +227,9 @@ label
226227
height: 20px
227228
background-color: #DDDDDD
228229

230+
&.home
231+
color: $color-main
232+
229233
.docs
230234
margin-top: 100px
231235
margin-bottom: 120px
@@ -244,10 +248,14 @@ label
244248
&:not(:last-child)
245249
border-bottom: 2px solid $color-borders
246250

251+
h4
252+
margin-bottom: 14px
253+
247254
p
248255
font-size: 14px
249256
line-height: 20px
250-
color: #8C8C8C
257+
letter-spacing: 0.1px
258+
color: $color-light
251259
margin-bottom: 20px
252260

253261
div:not(:last-child)

0 commit comments

Comments
 (0)