Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[#15] Github fork link

  • Loading branch information...
commit 3419cf4bb2c133a0e5446e30dae96fa38fc8f65a 1 parent ffb73f2
@harlow harlow authored
View
BIN  app/assets/images/github.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
14 app/assets/stylesheets/friends.scss
@@ -31,6 +31,7 @@ header {
margin: 30px auto 50px;
padding: 0 40px;
width: 1040px;
+ position: relative;
div.header-wrap {
border-bottom: 1px solid $color-2;
@@ -45,6 +46,19 @@ header {
}
}
+ a.fork_me {
+ background: url(github.png) no-repeat;
+ padding-left: 25px;
+ position: absolute;
+ top: 0px;
+ right: 50px;
+ color: #000;
+
+ &:hover {
+ color: #AD141E;
+ }
+ }
+
hr {
background: url(shadowing.png) no-repeat top center;
width: 100%;
View
1  app/views/layouts/application.html.erb
@@ -10,6 +10,7 @@
<header>
<div class="header-wrap">
<h1><%= link_to 'Paperclip Demo', root_path %></h1>
+ <%= link_to 'Fork me on Github', 'https://github.com/thoughtbot/paperclip_demo', target: 'blank', class: 'fork_me' %>
</div>
<hr />
</header>
View
BIN  public/favicon.ico
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.