Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Changed download button from image to CSS
  • Loading branch information
zoffixznet committed Apr 3, 2015
1 parent 7da7a96 commit 6e8c242
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 13 deletions.
Binary file removed source/download-button.png
Binary file not shown.
2 changes: 1 addition & 1 deletion source/index.html
Expand Up @@ -30,7 +30,7 @@ <h4><a href="/community/">Community</a></h4>

<section id="download">
<a href="http://rakudo.org/how-to-get-rakudo">
<img src="download-button.png" alt="download"/>
Download Rakudo Perl&nbsp;6
</a>
</section>

Expand Down
39 changes: 27 additions & 12 deletions source/style.css
Expand Up @@ -137,25 +137,40 @@ section ul {
background: #f5ef7b;
border-color: #f2c100;
}
#download {
border: 2px solid white;
-moz-box-shadow: 5px 5px 10px white;
-webkit-box-shadow: 5px 5px 10px white;
box-shadow: 5px 5px 10px white;
}

#nav-home {
background: #80b5ff;
}

#download {
border: 0;
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}

#download a {
background: #2065F7;
background: -webkit-linear-gradient(top, #9CBAFB 0, #5B8EF9 4.5%, #2065F7 100%);
background: linear-gradient(to bottom, #9CBAFB 0, #5B8EF9 4.5%, #2065F7 100%);
border: 1px solid #2168FF;
border-radius: 1em;
color: #fff;
text-shadow: 1px 1px 3px #666;
box-shadow: 5px 5px 10px #888;
display: inline-block;
font-size: 130%;
text-align: center;
margin: 2.4em 0 0;
padding: 0.5em 1.5em 0.5em;
}

#download a:hover {
background-color: #5B8EF9;
background: -webkit-linear-gradient(top, #9CBAFB 0, #5B8EF9 6%, #5B8EF9 100%);
background: linear-gradient(to bottom, #9CBAFB 0, #5B8EF9 6%, #5B8EF9 100%);
color: #fff;
text-decoration: none;
border: 0px;
font-size: 100%;
color: #ffffff;
margin: 2em auto;
display: block;
width: 206px;
}

ul {
Expand Down

0 comments on commit 6e8c242

Please sign in to comment.