-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
58 lines (57 loc) · 2.11 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
.rocket {
width:128px;
height:128px;
position: absolute;
left: 45%;
bottom: 25px;
}
a.rocket-launch {
display: inline-block;
width: 110px;
height: 30px;
color: #fff;
text-align: center;
font: bold 10pt Arial, sans-serif;
text-decoration: none;
border-radius: 2px;
text-shadow:0px 1px 1px rgba(0,0,0,.5);
line-height: 30px;
margin: 0px 5px;
box-shadow: inset 0px 1px 0px rgba(250,250,250,.3), 0px 1px 1px rgba(0,0,0,.1) ;
border: 1px solid #8eac52;
background: #c8e183;
background: -moz-linear-gradient(top, #c8e183 0%, #a0cb58 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c8e183), color-stop(100%,#a0cb58));
background: -webkit-linear-gradient(top, #c8e183 0%,#a0cb58 100%);
background: -o-linear-gradient(top, #c8e183 0%,#a0cb58 100%);
background: -ms-linear-gradient(top, #c8e183 0%,#a0cb58 100%);
background: linear-gradient(top, #c8e183 0%,#a0cb58 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c8e183', endColorstr='#a0cb58',GradientType=0 );
}
a.rocket-launch:hover {
background: #c8e183;
background: -moz-linear-gradient(top, #a0cb58 0%, #c8e183 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a0cb58), color-stop(100%,#c8e183));
background: -webkit-linear-gradient(top, #a0cb58 0%, #c8e183 100%);
background: -o-linear-gradient(top, #a0cb58 0%, #c8e183 100%);
background: -ms-linear-gradient(top, #a0cb58 0%, #c8e183 100%);
background: linear-gradient(top, #a0cb58 0%, #c8e183 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a0cb58', endColorstr='#c8e183',GradientType=0 );
}
a.rocket-launch:hover + .rocket {
-webkit-transform: translateY(-700px);
-moz-transform: translateY(-700px);
-ms-transform: translateY(-700px);
-o-transform: translateY(-700px);
transform: translateY(-700px);
-webkit-transition: all 3s cubic-bezier(.98,0,1,.28);
-moz-transition: all 3s cubic-bezier(.98,0,1,.28);
-o-transition: all 3s cubic-bezier(.98,0,1,.28);
transition: all 3s cubic-bezier(.98,0,1,.28);
}
.rocket-code pre {
overflow: scroll;
width: 300px;
height: 300px;
border: 1px solid #ccc;
}