Skip to content

Commit 4f24446

Browse files
committed
Changes Docs navigation
1 parent b004ed1 commit 4f24446

File tree

3 files changed

+51
-40
lines changed

3 files changed

+51
-40
lines changed

css/main.css

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

docs.html

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,17 @@
3030
</div>
3131
</div>
3232

33-
<div class="navigation">
33+
<div class="hero hero-docs">
3434
<div class="container container-narrow">
35-
<nav>
36-
<a href="./">Home</a>
37-
<a href="./docs.html" class="selected">Docs</a>
38-
<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>
39-
</nav>
40-
</div>
41-
</div>
35+
<div class="navigation">
36+
<nav>
37+
<a href="./">Home</a>
38+
<a href="./docs.html" class="selected">Docs</a>
39+
<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>
40+
</nav>
41+
</div>
4242

43-
<div class="hero">
44-
<div class="container border-bottom">
45-
<div class="container container-narrow">
43+
<div class="hero-content">
4644
<h1>Documentation &amp; Customization</h1>
4745

4846
<ul class="actions">

sass/main.sass

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ h1
2222
margin: 0
2323

2424
h2
25-
font-size: 32px
26-
font-weight: 700
27-
letter-spacing: -0.58px
25+
font-size: 40px
26+
font-weight: 400
27+
letter-spacing: -1.40px
2828
margin: 0
2929

3030
h3
@@ -99,9 +99,10 @@ pre
9999
max-width: 600px
100100

101101
.navigation
102+
margin: 60px 0 100px 0
103+
102104
nav
103105
width: 100%
104-
margin: 60px 0 80px 0
105106
display: flex
106107
align-items: center
107108

@@ -222,6 +223,10 @@ label
222223
.hero
223224
margin-top: 50px
224225

226+
.container
227+
display: flex
228+
flex-direction: column
229+
225230
h1
226231
max-width: 580px
227232

@@ -256,18 +261,20 @@ label
256261
background-size: cover
257262
margin-top: 40px
258263

259-
nav
260-
margin-bottom: 100px
261-
262264
.container
263-
display: flex
264-
flex-direction: column
265265
align-items: center
266266

267267
h1
268268
text-align: center
269269
margin-bottom: 60px
270270

271+
.hero-docs
272+
margin-bottom: 220px
273+
274+
.hero-content
275+
display: flex
276+
justify-content: space-between
277+
271278
.docs
272279
margin-top: 100px
273280
margin-bottom: 120px

0 commit comments

Comments
 (0)