mirror of
https://github.com/jashkenas/backbone.git
synced 2026-01-22 21:38:00 -05:00
adding pretty download link/buttons
This commit is contained in:
45
index.html
45
index.html
@@ -92,6 +92,47 @@
|
||||
a:active, a:hover {
|
||||
color: #000;
|
||||
}
|
||||
a.punch {
|
||||
display: inline-block;
|
||||
background: #4162a8;
|
||||
border-top: 1px solid #38538c;
|
||||
border-right: 1px solid #1f2d4d;
|
||||
border-bottom: 1px solid #151e33;
|
||||
border-left: 1px solid #1f2d4d;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
-ms-border-radius: 4px;
|
||||
-o-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
-webkit-box-shadow: inset 0 1px 10px 1px #5c8bee, 0px 1px 0 #1d2c4d, 0 6px 0px #1f3053, 0 8px 4px 1px #111111;
|
||||
-moz-box-shadow: inset 0 1px 10px 1px #5c8bee, 0px 1px 0 #1d2c4d, 0 6px 0px #1f3053, 0 8px 4px 1px #111111;
|
||||
-ms-box-shadow: inset 0 1px 10px 1px #5c8bee, 0px 1px 0 #1d2c4d, 0 6px 0px #1f3053, 0 8px 4px 1px #111111;
|
||||
-o-box-shadow: inset 0 1px 10px 1px #5c8bee, 0px 1px 0 #1d2c4d, 0 6px 0px #1f3053, 0 8px 4px 1px #111111;
|
||||
box-shadow: inset 0 1px 10px 1px #5c8bee, 0px 1px 0 #1d2c4d, 0 6px 0px #1f3053, 0 8px 4px 1px #111111;
|
||||
color: #fff;
|
||||
font: bold 14px "helvetica neue", helvetica, arial, sans-serif;
|
||||
line-height: 1;
|
||||
margin-bottom: 15px;
|
||||
padding: 8px 0 10px 0;
|
||||
text-align: center;
|
||||
text-shadow: 0px -1px 1px #1e2d4d;
|
||||
text-decoration: none;
|
||||
width: 225px;
|
||||
-webkit-background-clip: padding-box; }
|
||||
a.punch:hover {
|
||||
-webkit-box-shadow: inset 0 0px 20px 1px #87adff, 0px 1px 0 #1d2c4d, 0 6px 0px #1f3053, 0 8px 4px 1px #111111;
|
||||
-moz-box-shadow: inset 0 0px 20px 1px #87adff, 0px 1px 0 #1d2c4d, 0 6px 0px #1f3053, 0 8px 4px 1px #111111;
|
||||
-ms-box-shadow: inset 0 0px 20px 1px #87adff, 0px 1px 0 #1d2c4d, 0 6px 0px #1f3053, 0 8px 4px 1px #111111;
|
||||
-o-box-shadow: inset 0 0px 20px 1px #87adff, 0px 1px 0 #1d2c4d, 0 6px 0px #1f3053, 0 8px 4px 1px #111111;
|
||||
box-shadow: inset 0 0px 20px 1px #87adff, 0px 1px 0 #1d2c4d, 0 6px 0px #1f3053, 0 8px 4px 1px #111111;
|
||||
cursor: pointer; }
|
||||
a.punch:active {
|
||||
-webkit-box-shadow: inset 0 1px 10px 1px #5c8bee, 0 1px 0 #1d2c4d, 0 2px 0 #1f3053, 0 4px 3px 0 #111111;
|
||||
-moz-box-shadow: inset 0 1px 10px 1px #5c8bee, 0 1px 0 #1d2c4d, 0 2px 0 #1f3053, 0 4px 3px 0 #111111;
|
||||
-ms-box-shadow: inset 0 1px 10px 1px #5c8bee, 0 1px 0 #1d2c4d, 0 2px 0 #1f3053, 0 4px 3px 0 #111111;
|
||||
-o-box-shadow: inset 0 1px 10px 1px #5c8bee, 0 1px 0 #1d2c4d, 0 2px 0 #1f3053, 0 4px 3px 0 #111111;
|
||||
box-shadow: inset 0 1px 10px 1px #5c8bee, 0 1px 0 #1d2c4d, 0 2px 0 #1f3053, 0 4px 3px 0 #111111;
|
||||
margin-top: 5px; margin-bottom: 10px }
|
||||
a img {
|
||||
border: 0;
|
||||
}
|
||||
@@ -377,11 +418,11 @@
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td><a href="backbone.js">Development Version (0.5.3)</a></td>
|
||||
<td><a class="punch" href="backbone.js">Development Version (0.5.3)</a></td>
|
||||
<td><i>41kb, Full Source with Comments</i></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="backbone-min.js">Production Version (0.5.3)</a></td>
|
||||
<td><a class="punch" href="backbone-min.js">Production Version (0.5.3)</a></td>
|
||||
<td><i>4.6kb, Packed and Gzipped</i></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user