This repository has been archived by the owner on Feb 8, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rough draft of a new homepage; #1074
We've talked a lot about different ways to make the homepage dynamic. Here I'm taking the opposite approach: this homepage is designed to function primarily as a first impression of Gittip that answers the most basic questions, and then leads people in one of three further directions: signing up, browsing communities, or reading about Gittip. Let's make the community and profile pages the focus of dynamic activity on the site, not the homepage.
- Loading branch information
1 parent
4a9348c
commit 8931818
Showing
22 changed files
with
237 additions
and
231 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,7 @@ | |
// Page layout styles | ||
|
||
@import "layout"; | ||
@import "homepage"; | ||
|
||
|
||
// Styles specific to certain pages. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
#hero { | ||
.homepage { | ||
|
||
padding: 128px 0; | ||
|
||
h1 { | ||
font-size: 96px; | ||
line-height: 96px; | ||
margin: 0 0 24px; | ||
padding: 0; | ||
} | ||
|
||
font: normal 36px/48px $Ideal; | ||
text-shadow: 0.1em 0.1em 0.2em black; | ||
p { line-height: 48px; margin: 0; padding: 0; } | ||
|
||
span { | ||
white-space: nowrap; | ||
} | ||
} | ||
} | ||
|
||
.homepage-content { | ||
|
||
color: $white; | ||
font: normal 36px/48px $Ideal; | ||
text-shadow: 0.1em 0.1em 0.2em black; | ||
|
||
h1 { | ||
font: bold 96px/96px $Ideal; | ||
text-transform: none; | ||
margin: 0 0 24px; | ||
padding: 0; | ||
color: $white; | ||
} | ||
|
||
a { | ||
color: $gold; | ||
&:hover { | ||
color: $brown; | ||
} | ||
} | ||
|
||
span { | ||
white-space: nowrap; | ||
} | ||
|
||
.give-receive { | ||
display: table; | ||
width: 100%; | ||
|
||
.give,.receive { | ||
width: 50%; | ||
display: table-cell; | ||
padding: 96px 48px; | ||
} | ||
|
||
.give { | ||
background: url("pennies.brown.jpg"); | ||
} | ||
|
||
.receive { | ||
background: url("pennies.gold.jpg"); | ||
} | ||
|
||
} | ||
|
||
.why { | ||
text-align: center; | ||
padding: 96px 48px; | ||
background: url("pennies.jpg"); | ||
} | ||
|
||
.browse-about { | ||
display: table; | ||
width: 100%; | ||
|
||
.browse,.about { | ||
width: 50%; | ||
display: table-cell; | ||
} | ||
|
||
.browse { | ||
background: url("pennies.brown.jpg"); | ||
} | ||
|
||
.about { | ||
background: url("pennies.gold.jpg"); | ||
a { | ||
color: $brown; | ||
} | ||
} | ||
h1 { | ||
margin: 0; | ||
padding: 0; | ||
|
||
a { | ||
display: block; | ||
padding: 96px 48px; | ||
text-align: center; | ||
&:hover { | ||
color: $green; | ||
} | ||
} | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.