Repository navigation
Expand file tree
/
Copy pathmatchgame.css
More file actions
130 lines (111 loc) · 3.3 KB
/
Copy pathmatchgame.css
File metadata and controls
130 lines (111 loc) · 3.3 KB
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
body{
}
#game_container {
width: 1100px;
margin: auto;
padding: 0;
margin-bottom: 20px;
}
#matchgame{
align-content: center;
}
#game_container #draggable_container, #game_container #droppable_container, #game_container #score_container {
border: 1px solid rgb(17, 0, 0);
width: 1100px;
margin-bottom: 20px;
}
#game_container #draggable_container {
height: 600px;
}
#game_container #droppable_container {
height: 242px;
}
#game_container #score_container {
/* height: 80px;*/
}
#game_container .dragthis, #game_container .dropped, #game_container .correct, #game_container .incorrect {
text-align: center;
cursor: move;
background-color: rgb(134, 134, 189);
width: 200px;
height: 250px;
border: 1px solid rgb(46, 46, 65);
padding: 5px;
float: left;
margin: 5px 0 0 5px;
color: #333;
-webkit-border-radius: 5px; /* Safari 3-4, iOS 1-3.2, Android =1.6 */
border-radius: 5px; /* Opera 10.5, IE9+, Safari 5, Chrome, Firefox 4+, iOS 4, Android 2.1+ */
/* useful if you don't want a bg color from leaking outside the border: */
-moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;
}
#game_container .dropped, #game_container .correct, #game_container .incorrect {
width: 188px;
margin: 5px 0 0 0;
font-weight: normal;
text-align: center;
}
#game_container #draggable_container div.ui-sortable-helper {
-webkit-box-shadow: 3px 3px 5px 0px rgb(219, 133, 133); /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
box-shadow: 3px 3px 5px 0px rgb(134, 115, 115); /* Opera 10.5, IE9+, Firefox 4+, Chrome 6+, iOS 5 */
-moz-box-shadow: 3px 3px 5px 0px rgb(192, 178, 178);
}
#game_container #droppable_container div.subcontainer {
text-align: center;
width: 200px;
height: 220px;
border: 1px solid rgb(148, 148, 83);
color: rgb(173, 48, 48);
background-color: rgb(216, 216, 184);
padding: 5px;
margin: 5px 0 0 5px;
float: left;
-webkit-border-radius: 5px; /* Safari 3-4, iOS 1-3.2, Android =1.6 */
border-radius: 5px; /* Opera 10.5, IE9+, Safari 5, Chrome, Firefox 4+, iOS 4, Android 2.1+ */
/* useful if you don't want a bg color from leaking outside the border: */
-moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;
}
#game_container #button_container {
text-align: center;
width: 656px;
}
#game_container .correct {
border: 1px solid rgb(127, 170, 127);
background-color: rgb(168, 194, 168);
}
#game_container .incorrect {
border: 1px solid #933;
background-color: #FAA;
}
#game_container #score_container, #game_container #message {
background: #ebb3b3;
text-align: center;
color: rgb(165, 63, 63);
font-size: 1.8em;
line-height: 1em;
}
#game_container #score_container #score_text {
padding: 20px;
}
#game_container #message {
padding: 20px;
position: absolute;
height: 0;
width: 0;
border: 1px solid rgb(172, 158, 158);
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
-webkit-box-shadow: 3px 3px 5px 0px #333; /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
box-shadow: 3px 3px 5px 0px rgb(88, 74, 74); /* Opera 10.5, IE9+, Firefox 4+, Chrome 6+, iOS 5 */
-moz-box-shadow: 3px 3px 5px 0px rgb(194, 158, 158);
}
#game_container #message #text {
padding-bottom: 10px;
}
#game_container #score_container .score {
font-weight: bold;
}
#button_container button{
background: yellow;
}