Skip to content

Commit f51812d

Browse files
committed
Improve download button styles and add fun transforms for the kids
1 parent 68d70ed commit f51812d

File tree

1 file changed

+27
-5
lines changed

1 file changed

+27
-5
lines changed

themes/jquery.com/style.css

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ a,
4141
}
4242
.cross-browser .feature-box-image{
4343
background: url('i/feature-sprites.png') -278px 0px no-repeat;
44+
-webkit-transition: all 0.4s;
45+
transition: all 0.4s;
46+
}
47+
.cross-browser .feature-box-image:hover {
48+
-webkit-transition: all 0.7s linear;
49+
-webkit-transform: rotate(6.28rad);
50+
transition: all 0.7s;
51+
transform: rorate(6.28rad);
4452
}
4553

4654
#banner-secondary .downloads-box span.download {
@@ -57,11 +65,25 @@ a,
5765
margin: 15px 0 5px;
5866
}
5967

60-
#banner-secondary .download-main {
61-
height: 107px;
62-
width: 90%;
63-
margin-left:5%;
64-
margin-bottom:1em;
68+
#banner-secondary .download-options,
69+
#banner-secondary .download-help {
70+
margin-top: 1em;
71+
}
72+
#banner-secondary .download-options a {
73+
display:block;
74+
}
75+
#banner-secondary .download-main .button {
76+
float: none;
77+
box-shadow: 0px 0px 20px rgba(209, 143, 79, 0.6);
78+
-webkit-box-shadow: 0px 0px 20px rgba(209, 143, 79, 0.6);
79+
border-radius: 0;
80+
border: none;
81+
-webkit-transition: -webkit-box-shadow 1s linear;
82+
transition: box-shadow 1s;
83+
}
84+
#banner-secondary .download-main .button:hover {
85+
box-shadow: 0px 0px 25px rgba(209, 143, 79, 0.9);
86+
-webkit-box-shadow: 0px 0px 25px rgba(209, 143, 79, 0.9);
6587
}
6688

6789
#content #banner-secondary .download-main > a {

0 commit comments

Comments
 (0)