Skip to content

Commit

Permalink
refactor for better hover behaviour on home link
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Jewell committed Dec 28, 2014
1 parent dd0824a commit e483bb5
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 22 deletions.
13 changes: 3 additions & 10 deletions guide/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,39 +65,32 @@ li {
color: #0087ff;
}

.site-header .gitit {
.site-header {
border-bottom-width: 3px;
}

.filledblock {
margin: 0 auto;
text-align: center;
display: inline-block;
padding: 4px 10px;
font-family: Source Sans Pro;
font-weight: 900;
}

.filledblock:hover {
background: #4BABFF;
}

.filledblock:hover a{
color: #fff;
text-shadow: rgb(255, 255, 255) 0px 0px 5px;
text-shadow: #fff 0px 0px 5px;
}

.all-caps {
font-size: 12px;
text-transform: uppercase;
font-family: Source Sans Pro;
}

.site-header h2 {
margin-top: 12px;
}

h1, h2, h3, h4, .gitit, .toc {
h1, h2, h3, h4, .toc {
font-family: "Source Sans Pro";
}

Expand Down
2 changes: 1 addition & 1 deletion guide/challenges/branches_arent_just_for_birds.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<a href="forks_and_clones.html"
<span class="u-floatLeft hand"></span>
</a>
<span class="filledblock"><a href="../index.html">Git-it</a></span>
<a class="filledblock" href="../index.html">Git-it</a>
<a href="its_a_small_world.html"
<span class="u-floatRight hand"></span>
</a>
Expand Down
2 changes: 1 addition & 1 deletion guide/challenges/commit_to_it.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<a href="repository.html"
<span class="u-floatLeft hand"></span>
</a>
<span class="filledblock"><a href="../index.html">Git-it</a></span>
<a class="filledblock" href="../index.html">Git-it</a>
<a href="githubbin.html"
<span class="u-floatRight hand"></span>
</a>
Expand Down
2 changes: 1 addition & 1 deletion guide/challenges/forks_and_clones.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<a href="remote_control.html"
<span class="u-floatLeft hand"></span>
</a>
<span class="filledblock"><a href="../index.html">Git-it</a></span>
<a class="filledblock" href="../index.html">Git-it</a>
<a href="branches_arent_just_for_birds.html"
<span class="u-floatRight hand"></span>
</a>
Expand Down
2 changes: 1 addition & 1 deletion guide/challenges/get_git.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<a href="../index.html"
<span class="u-floatLeft hand"></span>
</a>
<span class="filledblock"><a href="../index.html">Git-it</a></span>
<a class="filledblock" href="../index.html">Git-it</a>
<a href="repository.html"
<span class="u-floatRight hand"></span>
</a>
Expand Down
2 changes: 1 addition & 1 deletion guide/challenges/githubbin.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<a href="commit_to_it.html"
<span class="u-floatLeft hand"></span>
</a>
<span class="filledblock"><a href="../index.html">Git-it</a></span>
<a class="filledblock" href="../index.html">Git-it</a>
<a href="remote_control.html"
<span class="u-floatRight hand"></span>
</a>
Expand Down
2 changes: 1 addition & 1 deletion guide/challenges/its_a_small_world.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<a href="branches_arent_just_for_birds.html"
<span class="u-floatLeft hand"></span>
</a>
<span class="filledblock"><a href="../index.html">Git-it</a></span>
<a class="filledblock" href="../index.html">Git-it</a>
<a href="pull_never_out_of_date.html"
<span class="u-floatRight hand"></span>
</a>
Expand Down
2 changes: 1 addition & 1 deletion guide/challenges/merge_tada.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<a href="requesting_you_pull_please.html"
<span class="u-floatLeft hand"></span>
</a>
<span class="filledblock"><a href="../index.html">Git-it</a></span>
<a class="filledblock" href="../index.html">Git-it</a>
<a href="../index.html"
<span class="u-floatRight hand"></span>
</a>
Expand Down
2 changes: 1 addition & 1 deletion guide/challenges/pull_never_out_of_date.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<a href="its_a_small_world.html"
<span class="u-floatLeft hand"></span>
</a>
<span class="filledblock"><a href="../index.html">Git-it</a></span>
<a class="filledblock" href="../index.html">Git-it</a>
<a href="requesting_you_pull_please.html"
<span class="u-floatRight hand"></span>
</a>
Expand Down
2 changes: 1 addition & 1 deletion guide/challenges/remote_control.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<a href="githubbin.html"
<span class="u-floatLeft hand"></span>
</a>
<span class="filledblock"><a href="../index.html">Git-it</a></span>
<a class="filledblock" href="../index.html">Git-it</a>
<a href="forks_and_clones.html"
<span class="u-floatRight hand"></span>
</a>
Expand Down
2 changes: 1 addition & 1 deletion guide/challenges/repository.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<a href="get_git.html"
<span class="u-floatLeft hand"></span>
</a>
<span class="filledblock"><a href="../index.html">Git-it</a></span>
<a class="filledblock" href="../index.html">Git-it</a>
<a href="commit_to_it.html"
<span class="u-floatRight hand"></span>
</a>
Expand Down
2 changes: 1 addition & 1 deletion guide/challenges/requesting_you_pull_please.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<a href="pull_never_out_of_date.html"
<span class="u-floatLeft hand"></span>
</a>
<span class="filledblock"><a href="../index.html">Git-it</a></span>
<a class="filledblock" href="../index.html">Git-it</a>
<a href="merge_tada.html"
<span class="u-floatRight hand"></span>
</a>
Expand Down
2 changes: 1 addition & 1 deletion guide/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<a href="{{preurl}}"
<span class="u-floatLeft hand"></span>
</a>
<span class="filledblock"><a href="../index{{lang}}.html">Git-it</a></span>
<a class="filledblock" href="../index{{lang}}.html">Git-it</a>
<a href="{{nexturl}}"
<span class="u-floatRight hand"></span>
</a>
Expand Down

0 comments on commit e483bb5

Please sign in to comment.