-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
145 lines (114 loc) · 2.8 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
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
/* RGBA -> Red Green Blue Alpha
Alpha channel = value of 0% is fully transparent, a value of 100% is fully opaque
rgba(0,0,0,1); -> black
rgba(123,123,123,1); -> grey
rgba(203,203,203,1); -> light grey
rgba(255,255,255,1); -> white
rgba(255,0,0,1); -> red
rgba(0,255,0,1); -> green
rgba(0,0,255,1); -> blue
*/
/* http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
/* apply a natural box layout model to all elements */
*, *:before, *:after {
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
/* mobile first */
@media screen and (max-width : 768px) {
body {
background-color:black;
}
#container {
margin: 0 auto;
width: 100%;
min-height:320px;
max-height:480px;
}
.picture {
width: 100%;
min-height:320px;
max-height:480px;
padding:1em 1em 0;
}
}
@media screen and (min-width : 769px) {
body {
background-color:black;
}
#container {
margin: 0 auto;
width: 600px;
height:480px;
}
.picture {
width: 600px;
height:480px;
padding:1em 1em 0;
}
}
body {
font:400 12px/18px arial, sans-serif;
color:rgb(0,0,0);
}
#container {
background: #23538a; /* Old browsers */
background: -moz-linear-gradient(top, #23538a 0%, #a7cfdf 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#23538a), color-stop(100%,#a7cfdf)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #23538a 0%,#a7cfdf 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #23538a 0%,#a7cfdf 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #23538a 0%,#a7cfdf 100%); /* IE10+ */
background: linear-gradient(to bottom, #23538a 0%,#a7cfdf 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#23538a', endColorstr='#a7cfdf',GradientType=0 ); /* IE6-9 */
text-align: center;
overflow:hidden;
}
.picture {
background-size:cover;
background-position:50% 50%;
background-repeat:no-repeat;
position:relative;
cursor:url(mallet.png), auto;
}
.index .picture {
background-image:url(scene.jpg);
}
div.mole {
display:none;
/*display:block;*/
height:214px;
width:186px;
background-size:cover;
background-position:50% 50%;
background-repeat:no-repeat;
position:absolute;
}
div.mole.explode {
background-image:url(explode.png) !important;
}
div#moleOne {
background-image:url(camilla.png);
top:167px;
left:18px;
}
div#moleTwo {
background-image:url(prince.png);
top:223px;
left:138px;
}
div#moleThree {
background-image:url(queen.png);
top:157px;
left:272px;
}
div#moleFour {
background-image:url(king.png);
top:104px;
left:399px;
}
.score {
width:100px;
position:relative;
left:20;
top:20;
color:white;
}