Skip to content

Commit dcba1cb

Browse files
author
jordanmccullough
committed
Cleanup dup hero styling
1 parent 9bd2f1c commit dcba1cb

File tree

6 files changed

+66
-20
lines changed

6 files changed

+66
-20
lines changed

_stylesheets/core.scss

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,17 @@ section{
3333
float: left;
3434

3535
& .container{
36-
padding: 50px 0 50px 0;
36+
padding: 30px 0 30px 0;
3737
}
3838

3939
/* Layout */
4040
.hero{
41-
height: 485px;
42-
padding: 40px 0 0 0;
41+
// height: 485px;
42+
43+
& .container{
44+
padding: 0;
45+
margin: 0 0 0 0;
46+
}
4347

4448
hgroup{
4549
margin-top: 60px;

_stylesheets/home.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
/* Imports */
22
/* Color Definitions */
3+
section {
4+
width: 100%;
5+
float: left;
6+
/* Layout */ }
7+
section .container {
8+
padding: 50px 0 50px 0; }
9+
section .hero {
10+
height: 485px;
11+
padding: 20px 0 0 0; }
12+
section .hero hgroup {
13+
margin-top: 60px; }
14+
section .hero p {
15+
font-size: 112.5%;
16+
color: #0d3f6b;
17+
margin-bottom: 30px; }
18+
section .hero .octicon {
19+
font-size: 300px; }
20+
321
.screen-shot {
422
background: url(../images/screen-shot-slide.png) no-repeat bottom center;
523
background-size: 800px;

_stylesheets/home.scss

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,35 @@
11
/* Imports */
22
@import "variables.scss";
33

4+
section{
5+
width: 100%;
6+
float: left;
7+
8+
& .container{
9+
padding: 50px 0 50px 0;
10+
}
11+
12+
/* Layout */
13+
.hero{
14+
height: 485px;
15+
padding: 20px 0 0 0;
16+
17+
hgroup{
18+
margin-top: 60px;
19+
}
20+
21+
p{
22+
font-size: 112.5%;
23+
color: darken($color-dark, 20%);
24+
margin-bottom: 30px;
25+
}
26+
27+
.octicon{
28+
font-size: 300px;
29+
}
30+
}
31+
}
32+
433
.screen-shot{
534
background: url(../images/screen-shot-slide.png) no-repeat bottom center;
635
background-size: 800px;

_stylesheets/page.css

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,18 @@ section {
6767
float: left;
6868
/* Layout */ }
6969
section .container {
70-
padding: 50px 0 50px 0; }
71-
section .hero {
72-
height: 485px;
73-
padding: 40px 0 0 0; }
74-
section .hero hgroup {
75-
margin-top: 60px; }
76-
section .hero p {
77-
font-size: 112.5%;
78-
color: #0d3f6b;
79-
margin-bottom: 30px; }
80-
section .hero .octicon {
81-
font-size: 300px; }
70+
padding: 30px 0 30px 0; }
71+
section .hero .container {
72+
padding: 0;
73+
margin: 0 0 0 0; }
74+
section .hero hgroup {
75+
margin-top: 60px; }
76+
section .hero p {
77+
font-size: 112.5%;
78+
color: #0d3f6b;
79+
margin-bottom: 30px; }
80+
section .hero .octicon {
81+
font-size: 300px; }
8282

8383
code {
8484
font-family: "Courier New", Courier, monospace;

_stylesheets/workbook.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
.hero {
1818
background: #1875c6;
1919
color: #fff; }
20-
.hero .container {
21-
margin: 40px auto 28px auto; }
2220
.hero .octicon {
2321
color: #fff;
2422
background: rgba(0, 0, 0, 0.15);

_stylesheets/workbook.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@
4949
background: $color-dark;
5050
color: #fff;
5151

52-
.container{
53-
margin: 40px auto 28px auto;
54-
}
5552
.octicon{
5653
color: #fff;
5754
background: rgba(0,0,0,.15);

0 commit comments

Comments
 (0)