Skip to content

Commit 78424ab

Browse files
committed
updates header styling
1 parent e32d3bc commit 78424ab

File tree

4 files changed

+17
-13
lines changed

4 files changed

+17
-13
lines changed

_assets/stylesheets/_layout.scss

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,18 @@
22
* Site header
33
*/
44
.site-header {
5-
@extend .jumbotron;
65
padding: 25px 100px;
76
background-color: $primary-color-dark;
7+
border-top: 5px solid $secondary-color-2;
8+
border-bottom: 5px solid $secondary-color-2-light;
89
}
910
.site-title {
1011
font-family: 'Share Tech Mono',;
11-
font-size: 52px;
12+
font-size: 38px;
1213
text-shadow: 3px 3px 3px #000;
13-
line-height: 52px;
14-
margin-bottom: 20px;
14+
line-height: 48px;
1515
float: left;
16-
width: 350px;
17-
padding: 10px 15px;
16+
width: 250px;
1817
&,
1918
&:visited {
2019
color: $secondary-color-2;
@@ -34,20 +33,23 @@
3433
.page-link {
3534
color: $grey-color-light;
3635
line-height: $base-line-height;
36+
font-weight: bold;
37+
3738
// Gaps between nav items, but not on the first one
3839
&:not(:first-child) {
39-
margin-left: 20px;
40+
margin-left: 2px;
4041
}
4142

4243
background-color: $secondary-color;
43-
padding: 10px 20px;
44+
padding: 10px 12px;
4445
@include border-radius(5px);
4546

4647
&:hover {
4748
box-shadow: 2px 2px 2px #000;
4849
text-decoration: none;
4950
}
5051
}
52+
5153
@include media-query($on-palm) {
5254
position: absolute;
5355
top: 9px;
@@ -86,6 +88,7 @@
8688
background-color: #fff;
8789
}
8890
}
91+
8992
}
9093
/**
9194
* Site footer

_assets/stylesheets/main.scss

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ $grey-color: #828282;
1717
$grey-color-light: lighten($grey-color, 40%);
1818
$grey-color-dark: darken($grey-color, 25%);
1919

20-
$primary-color: #B52626;
21-
$primary-color-dark: darken($primary-color, 20%);
22-
$secondary-color: #2B7E7E;
23-
$secondary-color-2: #99C542;
20+
$primary-color: #B52626;
21+
$primary-color-dark: darken($primary-color, 20%);
22+
$secondary-color: #2B7E7E;
23+
$secondary-color-2: #99C542;
24+
$secondary-color-2-light: lighten($secondary-color-2, 30%);
2425

2526
// Width of the content area
2627
$content-width: 800px;

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ exclude: ['README.md', 'Gemfile', 'Gemfile.lock', 'Rakefile']
1414
assets:
1515
js_compressor: uglifier
1616
css_compressor: sass
17+
debug: true

index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
---
44

55
<div class="home">
6-
76
<ul class="post-list">
87
{% for post in site.posts %}
98
<li>

0 commit comments

Comments
 (0)