Skip to content

Commit 0a94787

Browse files
author
jordanmccullough
committed
Tweak hero styling
1 parent a0f0c00 commit 0a94787

File tree

2 files changed

+35
-24
lines changed

2 files changed

+35
-24
lines changed

_stylesheets/core.scss

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

3535
& .container{
36-
padding: 40px 0 40px 0;
36+
padding: 50px 0 50px 0;
37+
}
38+
39+
/* Layout */
40+
.hero{
41+
height: 485px;
42+
padding: 40px 0 0 0;
43+
44+
hgroup{
45+
margin-top: 60px;
46+
}
47+
48+
p{
49+
font-size: 112.5%;
50+
color: darken($color-dark, 20%);
51+
margin-bottom: 30px;
52+
}
53+
54+
.octicon{
55+
font-size: 300px;
56+
}
3757
}
3858
}
3959

@@ -298,19 +318,7 @@ nav{
298318
clear:right;
299319
}
300320

301-
/* Layout */
302-
.hero{
303-
height: 445px;
304-
305-
hgroup{
306-
margin-top: 60px;
307-
}
308321

309-
p{
310-
font-size: 112.5%;
311-
color: darken($color-dark, 20%);
312-
}
313-
}
314322

315323
.segment-content{
316324
width: $width-desktop*.66;

_stylesheets/page.css

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,21 @@ a {
6464

6565
section {
6666
width: 100%;
67-
float: left; }
67+
float: left;
68+
/* Layout */ }
6869
section .container {
69-
padding: 40px 0 40px 0; }
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; }
7082

7183
code {
7284
font-family: "Courier New", Courier, monospace;
@@ -246,15 +258,6 @@ nav {
246258
float: right;
247259
clear: right; }
248260

249-
/* Layout */
250-
.hero {
251-
height: 445px; }
252-
.hero hgroup {
253-
margin-top: 60px; }
254-
.hero p {
255-
font-size: 112.5%;
256-
color: #0d3f6b; }
257-
258261
.segment-content {
259262
width: 613.8px;
260263
display: inline-block; }

0 commit comments

Comments
 (0)