forked from tristen/hoverintent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.css
100 lines (95 loc) · 1.88 KB
/
site.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
body {
background:#1BBAEC;
font:bold 18px/24px 'Helvetica Neue', Helvetica, Arial, sans-serif;
color:#fff;
margin:0; padding:0;
overflow-x:hidden;
-webkit-font-smoothing:antialiased;
}
ul { margin:0; padding:0; list-style:none; }
a {
color:#8cdcf5;
text-decoration:none;
text-shadow:none;
-webkit-transition:color 100ms linear;
-moz-transition:color 100ms linear;
-o-transition:color 100ms linear;
transition:color 100ms linear;
}
a:hover {
color:#fff;
}
.fixed-700 {
display:block;
width:700px;
margin:80px auto;
}
.intro {
display:block;
padding:0 10px;
margin:0 0 80px;
font-size:27px;
line-height:38px;
color:#0e6681;
text-shadow:0 1px 0 rgba(255,255,255,0.20);
}
.examples li {
background:#10A1CF;
text-align:center;
display:inline-block;
width:209px;
height:20px;
padding:30px 0 40px;
margin:0 10px;
position:relative;
cursor:pointer;
border-radius:10px;
}
.popup {
display:none;
border:1px solid #ccc;
background:#000;
z-index:1000;
position:absolute;
left:50%;
bottom:90px;
width:170px;
margin-left:-105px;
border:none;
padding:20px;
font-size:22px;
animation-duration:500ms;
animation-fill-mode:both;
box-shadow:0 4px 8px rgba(0,0,0,0.25);
border-radius:4px;
}
.popup:after {
top:100%;
border:solid transparent;
content:'';
height:0;
width:0;
left:50%;
position:absolute;
pointer-events:none;
border-top-color:#000;
border-width:14px;
margin-left:-14px;
}
.on .popup {
display:block;
animation-name:fadeInUp;
}
.off .popup {
display:block;
animation-name:fadeInUpOut;
}
@keyframes fadeInUp {
0% { opacity:0; transform:translateY(20px); }
100% { opacity:1; transform:translateY(0); }
}
@keyframes fadeInUpOut {
0% { opacity:1; }
50% { opacity:0.75; }
100% { opacity:0; }
}