-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
162 lines (130 loc) · 2.6 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
/* coses */
/* bartok diu */
*{
box-sizing:border-box;
margin: 0;
padding: 0;
}
body{
font-family: helvetica;
background-color: #7f8c8d;
background-image: url("img/bg.jpg");
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
div#box{
width: 30%;
text-align: center;
position:absolute;
left:50%;
top:50%;
margin:-15% 0 0 -15%;
background-color: white;
}
img{
width: 25%;
position: absolute;
display: block;
float: left;
}
.focus{
opacity: 0;
webkit-transition: opacity .7s ease;
-moz-transition: opacity .7s ease;
-o-transition: opacity .7s ease;
-ms-transition: opacity .7s ease;
transition: opacity .7s ease;
}
div#timer{
position: absolute;
bottom:10px;
width: 30px;
height: 30px;
text-align: center;
margin: 0 auto;
left: 0;
right: 0;
border-radius: 30px;
box-shadow: 1px 1px 1px rgba(0,0,0, .29), inset 1px 1px 1px rgba(255,255,255, .44);
color: #7f8c8d;
background: #ecf0f1;
webkit-transition: background-color .5s ease;
-moz-transition: background-color .5s ease;
-o-transition: background-color .5s ease;
-ms-transition: background-color .5s ease;
transition: background-color .5s ease;
}
div#timer p{
text-align: center;
margin-top: 8px;
font: bold 12px Arial, sans-serif;
text-shadow: 1px 1px 1px rgba(255,255,255, .22);
}
#win{
position: absolute;
top: -30%;
z-index: 1;
width: 30%;
height: auto;
color: white;
background-color: rgba(39, 174, 96,.7);
padding: 20px;
margin:0 auto;
left: 0;
right: 0;
webkit-transition: top .5s ease;
-moz-transition: top .5s ease;
-o-transition: top .5s ease;
-ms-transition: top .5s ease;
transition: top .5s ease;
}
#win p{
text-align: center;
}
#options{
position: absolute;
left: 100%;
margin-left: 20px;
width: 20%;
height: auto;
}
#options img{
margin-bottom: 20px;
cursor: pointer;
position: relative;
display: block;
float: left;
width: 100%;
}
@keyframes rotate {
from {transform: rotate(0deg);}
to {transform: rotate(180deg);}
}
@-webkit-keyframes rotate {
from {transform: rotate(0deg);}
to {transform: rotate(180deg);}
}
button#reset{
position: absolute;
width: 25px;
height: 25px;
font-size: 12px;
text-shadow: 1px 1px 1px rgba(255,255,255, .22);
right: 15px;
top:15px;
outline: 0;
border-radius: 100%;
border: 1px solid rgba(255,255,255,0.3);
box-shadow:0 0 5px rgba(0,0,0,.9);
color:rgba(0,0,0,0.75);
text-align: center;
}
button#reset:hover i{
animation: rotate .3s 1 ease;
-webkit-animation: rotate .3s 1 ease;
}
button#reset:hover {
cursor: pointer;
}