Skip to content
This repository was archived by the owner on Mar 25, 2019. It is now read-only.

Commit d053d54

Browse files
committed
Adds social links to header
1 parent d9c53b7 commit d053d54

File tree

9 files changed

+8204
-63
lines changed

9 files changed

+8204
-63
lines changed

docs/css/_icons.scss

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,26 @@
11
@font-face {
22
font-family: 'icomoon';
3-
src:url('../icons/icomoon.eot?ry75vt');
4-
src:url('../icons/icomoon.eot?#iefixry75vt') format('embedded-opentype'),
5-
url('../icons/icomoon.woff?ry75vt') format('woff'),
6-
url('../icons/icomoon.ttf?ry75vt') format('truetype'),
7-
url('../icons/icomoon.svg?ry75vt#icomoon') format('svg');
3+
src:url('../icons/icomoon.eot?hvn9tv');
4+
src:url('../icons/icomoon.eot?#iefixhvn9tv') format('embedded-opentype'),
5+
url('../icons/icomoon.woff?hvn9tv') format('woff'),
6+
url('../icons/icomoon.ttf?hvn9tv') format('truetype'),
7+
url('../icons/icomoon.svg?hvn9tv#icomoon') format('svg');
88
font-weight: normal;
99
font-style: normal;
1010
}
1111

12+
.icon-arrow-down:before {
13+
content: "\e608";
14+
}
15+
.icon-twitter:before {
16+
content: "\e606";
17+
}
18+
.icon-github:before {
19+
content: "\e607";
20+
}
21+
.icon-file-css:before {
22+
content: "\e609";
23+
}
1224
.icon-settings:before {
1325
content: "\e600";
1426
}

docs/css/docs.css

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1594,11 +1594,23 @@ input[type="file"]::-webkit-file-upload-button {
15941594

15951595
@font-face {
15961596
font-family: 'icomoon';
1597-
src: url('../icons/icomoon.eot?ry75vt');
1598-
src: url('../icons/icomoon.eot?#iefixry75vt') format('embedded-opentype'), url('../icons/icomoon.woff?ry75vt') format('woff'), url('../icons/icomoon.ttf?ry75vt') format('truetype'), url('../icons/icomoon.svg?ry75vt#icomoon') format('svg');
1597+
src: url('../icons/icomoon.eot?hvn9tv');
1598+
src: url('../icons/icomoon.eot?#iefixhvn9tv') format('embedded-opentype'), url('../icons/icomoon.woff?hvn9tv') format('woff'), url('../icons/icomoon.ttf?hvn9tv') format('truetype'), url('../icons/icomoon.svg?hvn9tv#icomoon') format('svg');
15991599
font-weight: normal;
16001600
font-style: normal; }
16011601

1602+
.icon-arrow-down:before {
1603+
content: "\e608"; }
1604+
1605+
.icon-twitter:before {
1606+
content: "\e606"; }
1607+
1608+
.icon-github:before {
1609+
content: "\e607"; }
1610+
1611+
.icon-file-css:before {
1612+
content: "\e609"; }
1613+
16021614
.icon-settings:before {
16031615
content: "\e600"; }
16041616

@@ -1653,6 +1665,12 @@ input[type="file"]::-webkit-file-upload-button {
16531665
.hero .outline-button {
16541666
display: block; } }
16551667

1668+
.header-social {
1669+
margin: 0 auto -2.5em; }
1670+
.header-social a {
1671+
display: inline-block;
1672+
padding: 0 0.5em; }
1673+
16561674
.title-container {
16571675
position: relative;
16581676
z-index: 2; }
@@ -1805,6 +1823,14 @@ footer {
18051823
footer .social-share {
18061824
text-align: right; }
18071825

1826+
.footer-social {
1827+
margin-right: 1em; }
1828+
.footer-social a {
1829+
padding: 0 0.25em;
1830+
text-transform: uppercase; }
1831+
.footer-social a:before {
1832+
margin-right: 0.25em; }
1833+
18081834
.hideshare-wrap {
18091835
position: relative;
18101836
display: inline-block;
@@ -1835,7 +1861,10 @@ footer {
18351861
.hideshare-list li {
18361862
display: inline-block;
18371863
zoom: 1;
1838-
*display: inline; }
1864+
*display: inline;
1865+
padding: 0; }
1866+
.hideshare-list li:before {
1867+
display: none; }
18391868
.hideshare-list li a {
18401869
display: block;
18411870
padding: 0.25em 0.5em;

docs/css/docs.scss

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,15 @@ $features-bg-color: #001053;
8181
}
8282
}
8383

84+
.header-social {
85+
margin: 0 auto -2.5em;
86+
87+
a {
88+
display: inline-block;
89+
padding: 0 .5em;
90+
}
91+
}
92+
8493
.title-container {
8594
position: relative;
8695
z-index: 2;
@@ -275,6 +284,18 @@ footer {
275284
.social-share { text-align: right; }
276285
}
277286

287+
.footer-social {
288+
margin-right: 1em;
289+
290+
a {
291+
padding: 0 .25em;
292+
text-transform: uppercase;
293+
294+
&:before {
295+
margin-right: .25em;
296+
}
297+
}
298+
}
278299

279300
.hideshare-wrap {
280301
position: relative;
@@ -311,6 +332,9 @@ footer {
311332
display: inline-block;
312333
zoom: 1;
313334
*display: inline;
335+
padding: 0;
336+
337+
&:before { display: none; }
314338

315339
a {
316340
display: block;

0 commit comments

Comments
 (0)