Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Apr 7, 2017
1 parent 93f86e2 commit 3e1f41c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
9 changes: 5 additions & 4 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,11 @@ <h1><img src="http://i.imgur.com/QRlAg0b.png"><br>JSONPlaceholder </h1>
</a>
</div>

<a class="sponsor" href="https://patreon.com/typicode" onclick="trackOutboundLink('https://patreon.com/typicode')">
<b>Sponsor</b>
JSONPlaceholder and have your <b>company logo</b> on this page
</a>
<div class="center">
<a class="sponsor" href="https://patreon.com/typicode" onclick="trackOutboundLink('https://patreon.com/typicode')">
<b>Support</b> JSONPlaceholder and other projects on <b>Patreon</b>
</a>
</div>
</div>
<h2>Intro</h2>

Expand Down
9 changes: 8 additions & 1 deletion public/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,19 @@ h1 {
margin-bottom: 50px;
}

.center {
text-align: center;
}

a.sponsor {
display: block;
display: inline-block;
margin: 20px 0 50px 0;
color: #999;
background: #F9F9F9;
padding: 20px;
border-radius: 5px;
-webkit-transition: .2s; /* Safari */
transition: .2s;
}

/*a.sponsor:hover {
Expand All @@ -57,6 +63,7 @@ a.sponsor {
a.sponsor:hover {
color: white;
background: #E6461A;
text-decoration: none;
}

p {
Expand Down

0 comments on commit 3e1f41c

Please sign in to comment.