Skip to content

Commit 6c3669a

Browse files
author
jordanmccullough
committed
Add octicon background to hero
1 parent dcba1cb commit 6c3669a

File tree

4 files changed

+17
-5
lines changed

4 files changed

+17
-5
lines changed

_stylesheets/home.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ section {
77
section .container {
88
padding: 50px 0 50px 0; }
99
section .hero {
10-
height: 485px;
10+
height: 445px;
1111
padding: 20px 0 0 0; }
1212
section .hero hgroup {
1313
margin-top: 60px; }
@@ -16,7 +16,12 @@ section {
1616
color: #0d3f6b;
1717
margin-bottom: 30px; }
1818
section .hero .octicon {
19-
font-size: 300px; }
19+
font-size: 200px;
20+
margin-top: 52px; }
21+
22+
.figures {
23+
background: url(../images/hero-home.png) no-repeat bottom center #1875c6;
24+
background-size: 1350px; }
2025

2126
.screen-shot {
2227
background: url(../images/screen-shot-slide.png) no-repeat bottom center;

_stylesheets/home.scss

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ section{
1111

1212
/* Layout */
1313
.hero{
14-
height: 485px;
14+
height: 445px;
1515
padding: 20px 0 0 0;
1616

17+
1718
hgroup{
1819
margin-top: 60px;
1920
}
@@ -25,11 +26,17 @@ section{
2526
}
2627

2728
.octicon{
28-
font-size: 300px;
29+
font-size: 200px;
30+
margin-top: 52px;
2931
}
3032
}
3133
}
3234

35+
.figures{
36+
background: url(../images/hero-home.png) no-repeat bottom center $color-dark;
37+
background-size: 1350px;
38+
}
39+
3340
.screen-shot{
3441
background: url(../images/screen-shot-slide.png) no-repeat bottom center;
3542
background-size: 800px;

images/hero-home.png

64.2 KB
Loading

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</nav>
1919
</section>
2020

21-
<section class="colorful">
21+
<section class="colorful figures">
2222
<div class="container center hero">
2323
<span class="mega-octicon octicon-logo-github"></span>
2424
<span class="logo-training"></span>

0 commit comments

Comments
 (0)