-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update tests and routing. Add routing helpers.
- Loading branch information
Showing
6 changed files
with
144 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
$full-width: 710px; | ||
$background-color: #cff; | ||
$link-color: #069; | ||
$visited-link-color: #069; | ||
|
||
.container { | ||
width: $full-width; | ||
} | ||
|
||
body { | ||
background: $background-color; | ||
} | ||
|
||
header { | ||
padding-top: 20px; | ||
|
||
img { | ||
padding: 1em; | ||
background: white; | ||
} | ||
} | ||
|
||
section { | ||
margin-top: 1em; | ||
font-size: 120%; | ||
padding: 20px; | ||
background-color: white; | ||
|
||
h1 { | ||
font-size: 200%; | ||
} | ||
} | ||
|
||
/* Links */ | ||
|
||
a { | ||
color: $link-color; | ||
text-decoration: none; | ||
|
||
&:hover { | ||
color: $visited-link-color; | ||
text-decoration: underline; | ||
} | ||
|
||
&:visited { | ||
color: $visited-link-color; | ||
} | ||
} | ||
|
||
/* Navigation */ | ||
|
||
nav { | ||
float: right; | ||
background-color: white; | ||
padding: 0 0.7em; | ||
white-space: nowrap; | ||
|
||
ul { | ||
margin: 0; | ||
padding: 0; | ||
|
||
li { | ||
list-style-type: none; | ||
display: inline-block; | ||
padding: 0.2em 0; | ||
|
||
a { | ||
padding: 0 5px; | ||
font-weight: bold; | ||
|
||
&:visited { | ||
color: $link-color; | ||
} | ||
|
||
&:hover { | ||
text-decoration: underline; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
/* Sign up button */ | ||
|
||
a.signup_button { | ||
margin-left: auto; | ||
margin-right: auto; | ||
display: block; | ||
text-align: center; | ||
width: 190px; | ||
color: white; | ||
background: #006400; | ||
font-size: 150%; | ||
font-weight: bold; | ||
padding: 20px; | ||
} | ||
|
||
/* Round corners */ | ||
|
||
.round { | ||
-moz-border-radius: 10px; | ||
-webkit-border-radius: 10px; | ||
border-radius: 10px; | ||
} | ||
|
||
footer { | ||
text-align: center; | ||
margin-top: 10px; | ||
width: $full-width; | ||
margin-left: auto; | ||
margin-right: auto; | ||
|
||
nav { | ||
float: none; | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<% provide(:title, 'Contact') %> | ||
<h1>Contact</h1> | ||
<p> | ||
Contact Ruby on Rails Tutorial about the sample app at the | ||
<a href="http://railstutorial.org/contact">contact page</a>. | ||
</p> |
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