Skip to content

Commit 44d80a6

Browse files
committed
Style the footer
Goldenrod is hilarious.
1 parent 465af03 commit 44d80a6

File tree

2 files changed

+46
-10
lines changed

2 files changed

+46
-10
lines changed

site/css/screen.css

+29-9
Original file line numberDiff line numberDiff line change
@@ -67,66 +67,86 @@ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav,
6767
display: block;
6868
}
6969

70-
/* line 23, ../../stylesheets/screen.scss */
70+
/* line 35, ../../stylesheets/screen.scss */
7171
body {
7272
width: 960px;
7373
margin: 200px auto 0 auto;
7474
}
7575

76-
/* line 28, ../../stylesheets/screen.scss */
76+
/* line 40, ../../stylesheets/screen.scss */
7777
body * {
7878
font-family: "Heilvetica", "Helvetica Neue", "Arial";
7979
font-weight: lighter;
8080
line-height: 1.5em;
8181
}
8282

83-
/* line 34, ../../stylesheets/screen.scss */
83+
/* line 46, ../../stylesheets/screen.scss */
84+
header {
85+
overflow: hidden;
86+
*zoom: 1;
87+
}
88+
89+
/* line 48, ../../stylesheets/screen.scss */
8490
h1, .h1 {
8591
width: 300px;
8692
margin-left: 20px;
8793
float: left;
8894
clear: both;
95+
overflow: hidden;
96+
*zoom: 1;
8997
text-indent: -119988px;
9098
overflow: hidden;
9199
text-align: left;
92-
background-image: url('/images/ruby-australia-logo.png?1333264006');
100+
background-image: url('/images/ruby-australia-logo.png?1333264740');
93101
background-repeat: no-repeat;
94102
background-position: 50% 50%;
95103
width: 124px;
96104
height: 129px;
97105
}
98106

99-
/* line 41, ../../stylesheets/screen.scss */
107+
/* line 55, ../../stylesheets/screen.scss */
100108
h2, .h2 {
101109
width: 610px;
102110
margin-left: 10px;
103111
margin-right: 20px;
104112
float: right;
113+
overflow: hidden;
114+
*zoom: 1;
105115
font-size: 1em;
106116
}
107117

108-
/* line 46, ../../stylesheets/screen.scss */
118+
/* line 60, ../../stylesheets/screen.scss */
109119
nav {
110120
width: 300px;
111121
margin-left: 20px;
112122
float: left;
113123
clear: both;
124+
overflow: hidden;
125+
*zoom: 1;
114126
}
115127

116-
/* line 50, ../../stylesheets/screen.scss */
128+
/* line 64, ../../stylesheets/screen.scss */
117129
section {
118130
width: 610px;
119131
margin-left: 10px;
120132
margin-right: 20px;
121133
float: right;
134+
overflow: hidden;
135+
*zoom: 1;
122136
}
123137

124-
/* line 54, ../../stylesheets/screen.scss */
138+
/* line 68, ../../stylesheets/screen.scss */
125139
footer {
140+
width: 920px;
141+
margin-left: 10px;
142+
margin-right: 10px;
126143
clear: both;
144+
float: left;
145+
margin-top: 2em;
146+
background-color: palegoldenrod;
127147
}
128148

129-
/* line 58, ../../stylesheets/screen.scss */
149+
/* line 74, ../../stylesheets/screen.scss */
130150
nav * {
131151
display: block;
132152
}

stylesheets/screen.scss

+17-1
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,32 @@
44
* <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
55

66
@import "compass/reset";
7+
@import "compass/utilities";
8+
@import "compass/css3";
79
@import "compass/typography/text/replacement";
810

911
@mixin left-column {
1012
width: 300px;
1113
margin-left: 20px;
1214
float: left;
1315
clear: both;
16+
@include clearfix;
1417
}
1518

1619
@mixin right-column {
1720
width: 610px;
1821
margin-left: 10px;
1922
margin-right: 20px;
2023
float: right;
24+
@include clearfix;
25+
}
26+
27+
@mixin both-columns {
28+
width: 920px;
29+
margin-left: 10px;
30+
margin-right: 10px;
31+
clear: both;
32+
float: left;
2133
}
2234

2335
body {
@@ -31,6 +43,8 @@ body * {
3143
line-height: 1.5em;
3244
}
3345

46+
header { @include clearfix; }
47+
3448
h1, .h1 {
3549
@include left-column;
3650
@include replace-text("ruby-australia-logo.png");
@@ -52,7 +66,9 @@ section {
5266
}
5367

5468
footer {
55-
clear: both;
69+
@include both-columns;
70+
margin-top: 2em;
71+
background-color: palegoldenrod;
5672
}
5773

5874
nav * {

0 commit comments

Comments
 (0)