-
Notifications
You must be signed in to change notification settings - Fork 77
/
style.css
88 lines (72 loc) · 1.99 KB
/
style.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
@import url(//fonts.googleapis.com/css?family=Lato:400,700);
body {
font: 14px 'Lato', sans-serif;
}
a {color: #336699; text-decoration: none;}
a:hover {color: #336699; text-decoration: underline;}
#end {margin: 100px 0; text-align: center;}
#question {
margin: 100px 0; padding: 0 50px;
color: #333;
font-size: 64px; font-weight: bold;
text-align: center;
line-height: 84px;
}
#timer {
width: 120px;
margin: 0 auto 50px auto; padding: 4px 0;
color: #666;
border: 2px #999 solid;
border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px;
font-size: 24px;
text-align: center;
}
.warning {background: #ffcc66;}
.fail {background: #ff9999;}
.tip {text-align: center;}
.tip strong {margin-right: 5px;}
.controls {
width: 320px; height: 70px;
margin: 50px auto; padding: 5px 15px;
background: #f1f1f1;
border: 1px #ccc solid;
border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
text-shadow: #fff 0 1px 0;
}
.controls h1 {margin-bottom: 15px; font-size: 14px; font-weight: bold;}
.controls .key {
float: left;
margin-right: 5px; padding: 3px 6px;
color: #fff;
background: #333;
font: 12px Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace; font-weight: bold;
border-radius: 2px; -moz-border-radius: 2px; -webkit-border-radius: 2px;
text-shadow: #000 0 1px 0;
}
.controls .act {
float: left;
margin: 3px 20px 0 0;
color: #777;
font-size: 12px;
}
.controls .act:last-child {margin-right: 0;}
.pg {margin-bottom: 50px; text-align: center;}
.hide {display: none;}
.footer {
margin-bottom: 50px;
color: #999;
font-size: 12px;
text-align: center;
}
.footer a {color: #333; text-decoration: none;}
.footer a:hover {color: #333; text-decoration: underline;}
.egg {
position: fixed;
width: 420px; height: 315px;
margin: -158px 0 0 -210px; padding: 25px;
top: 50%; left: 50%;
background: #fff;
border: 2px #ccc solid;
border-radius: 15px; -moz-border-radius: 15px; -webkit-border-radius: 15px;
box-shadow: #ccc 0 0 20px;
}