-
Notifications
You must be signed in to change notification settings - Fork 0
/
risk.css
243 lines (230 loc) · 7.98 KB
/
risk.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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
body {
font-family: 'pictos';
}
h1,
h2,
h3,
h4 {
font-family: helvetica;
font-weight: bold;
background-color: #333;
/*background-clip*/
-webkit-background-clip: text;
-moz-background-clip: text;
background-clip: text;
color: rgba(0,0,0,0.3);
text-shadow: rgba(255,255,255,0.3) 1px 1px 1px;
}
.pane {
display: block;
width: 520px;
text-align: center;
height: 260px;
padding: 10px;
margin: 20px auto;
position: relative;
/*box-shadow*/
-webkit-box-shadow: 0px 0px 1px 0px rgba(0,0,0,1), 0px 3px 15px 2px rgba(0,0,0,1);
-moz-box-shadow: 0px 0px 1px 0px rgba(0,0,0,1), 0px 3px 15px 2px rgba(0,0,0,1)
box-shadow: 0px 0px 1px 0px rgba(0,0,0,1), 0px 3px 15px 2px rgba(0,0,0,1);
border: 1px solid #5c5c5c;
border-top: 1px solid #999;
/*border-radius*/
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
background: rgba(0,0,0,0.8);
background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.05) 25%, transparent 25%, transparent 50%);
background-image: -webkit-repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.05) 25%, transparent 25%, transparent 50%);
background-image: -moz-repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.05) 25%, transparent 25%, transparent 50%);
background-image: -ms-repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.05) 25%, transparent 25%, transparent 50%);
background-image: -o-repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.05) 25%, transparent 25%, transparent 50%);
/*background-size*/
-webkit-background-size: 5px 5px;
-moz-background-size: 5px 5px;
-o-background-size: 5px 5px;
background-size: 5px 5px;
}
span { margin: 20px }
p,
.button {
/*transition*/
-webkit-transition: all .2s ease;
-moz-transition: all .2s ease;
-o-transition: all .2s ease;
transition: all .2s ease;
cursor: pointer;
}
/*span:hover>p {
color: #00aeff;
text-shadow: -1px -2px 1px #000;
}*/
.button {
display: block;
float: left;
font-size: 28px;
background-color: #434343;
background-image: -webkit-linear-gradient(100% 100% 90deg, #515151, #7A7A7A);
background-image: -moz-linear-gradient(100% 100% 90deg, #515151, #7A7A7A);
background-image: -o-linear-gradient(100% 100% 90deg, #515151, #7A7A7A);
background-image: -ms-linear-gradient(100% 100% 90deg, #515151, #7A7A7A);
background-image: linear-gradient(100% 100% 90deg, #515151, #7A7A7A);
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#7A7A7A), to(#515151));
border: none;
border-top: 3px solid #c2c2c2;
/*border-radius*/
-webkit-border-radius: 40px;
-moz-border-radius: 40px;
border-radius: 40px;
/*box-shadow*/
-webkit-box-shadow: inset 0 1px 2px rgba(255,255,255,0.2), 0 1px 0 #2D2D2D, 0 2px 0 #2D2D2D, 0 3px 0 #2C2C2C, 0 4px 0 #2A2A2A, 0 0 0 6px black, 0 4px 0 6px black, 0 0 0 7px #222, 0 4px 0 7px #222;
-moz-box-shadow: inset 0 1px 2px rgba(255,255,255,0.2), 0 1px 0 #2D2D2D, 0 2px 0 #2D2D2D, 0 3px 0 #2C2C2C, 0 4px 0 #2A2A2A, 0 0 0 6px black, 0 4px 0 6px black, 0 0 0 7px #222, 0 4px 0 7px #222;
box-shadow: inset 0 1px 2px rgba(255,255,255,0.2), 0 1px 0 #2D2D2D, 0 2px 0 #2D2D2D, 0 3px 0 #2C2C2C, 0 4px 0 #2A2A2A, 0 0 0 6px black, 0 4px 0 6px black, 0 0 0 7px #222, 0 4px 0 7px #222;
padding: 10px;
text-shadow: 0 1px 0 rgba(255,255,255,0.2);
margin-right: 10px;
text-decoration: none;
color: #242424;
background-image: -webkit-radial-gradient( 50% 0%, 8% 50%, hsla(0,0%,100%,.5) 0%, hsla(0,0%,100%,0) 100%), -webkit-radial-gradient( 50% 100%, 12% 50%, hsla(0,0%,100%,.6) 0%, hsla(0,0%,100%,0) 100%), -webkit-radial-gradient( 0% 50%, 50% 7%, hsla(0,0%,100%,.5) 0%, hsla(0,0%,100%,0) 100%), -webkit-radial-gradient( 100% 50%, 50% 5%, hsla(0,0%,100%,.5) 0%, hsla(0,0%,100%,0) 100%), -webkit-repeating-radial-gradient( 50% 50%, 100% 100%, hsla(0,0%, 0%,0) 0%, hsla(0,0%, 0%,0) 3%, hsla(0,0%, 0%,.1) 3.5%), -webkit-repeating-radial-gradient( 50% 50%, 100% 100%, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,0) 6%, hsla(0,0%,100%,.1) 7.5%), -webkit-repeating-radial-gradient( 50% 50%, 100% 100%, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,0) 1.2%, hsla(0,0%,100%,.2) 2.2%), -webkit-radial-gradient( 50% 50%, 200% 50%, hsla(0,0%,90%,1) 5%, hsla(0,0%,85%,1) 30%, hsla(0,0%,60%,1) 100%);
}
.button:before,
.button:after {
content: "";
top: 0;
left: 0;
position: absolute;
width: inherit;
height: inherit;
/*border-radius*/
-webkit-border-radius: inherit;
-moz-border-radius: inherit;
border-radius: inherit;
/* fake conical gradients */
background-image: -webkit-radial-gradient( 50% 0%, 10% 50%, hsla(0,0%,0%,.1) 0%, hsla(0,0%,0%,0) 100%), -webkit-radial-gradient( 50% 100%, 10% 50%, hsla(0,0%,0%,.1) 0%, hsla(0,0%,0%,0) 100%), -webkit-radial-gradient( 0% 50%, 50% 10%, hsla(0,0%,0%,.1) 0%, hsla(0,0%,0%,0) 100%), -webkit-radial-gradient( 100% 50%, 50% 06%, hsla(0,0%,0%,.1) 0%, hsla(0,0%,0%,0) 100%);
}
.button:before {
/*transform*/
-webkit-transform: rotate( 65deg);
-moz-transform: rotate( 65deg);
-ms-transform: rotate( 65deg);
-o-transform: rotate( 65deg);
transform: rotate( 65deg);
}
.button:after {
/*transform*/
-webkit-transform: rotate(-65deg);
-moz-transform: rotate(-65deg);
-ms-transform: rotate(-65deg);
-o-transform: rotate(-65deg);
transform: rotate(-65deg);
}
.button:active {
border-top: 0px solid #dde1e7;
/*box-shadow*/
-webkit-box-shadow: inset 0 1px 2px rgba(255,255,255,0.2), 0 1px 0 #2D2D2D, 0 2px 0 #2D2D2D, 0 3px 0 #2C2C2C, 0 4px 0 #2A2A2A, 0 0 0 6px black, 0 4px 0 6px black, 0 0 0 7px #222, 0 4px 0 7px #222,0px 0px 5px #00aeff,0px 0px 50px #00aeff,0px 0px 50px #93d9fa;
-moz-box-shadow: inset 0 1px 2px rgba(255,255,255,0.2), 0 1px 0 #2D2D2D, 0 2px 0 #2D2D2D, 0 3px 0 #2C2C2C, 0 4px 0 #2A2A2A, 0 0 0 6px black, 0 4px 0 6px black, 0 0 0 7px #222, 0 4px 0 7px #222,0px 0px 5px #00aeff,0px 0px 50px #00aeff,0px 0px 50px #93d9fa;
box-shadow: inset 0 1px 2px rgba(255,255,255,0.2), 0 1px 0 #2D2D2D, 0 2px 0 #2D2D2D, 0 3px 0 #2C2C2C, 0 4px 0 #2A2A2A, 0 0 0 6px black, 0 4px 0 6px black, 0 0 0 7px #222, 0 4px 0 7px #222,0px 0px 5px #00aeff,0px 0px 50px #00aeff,0px 0px 50px #93d9fa;
/*transform*/
-webkit-transform: translateY(4px);
-moz-transform: translateY(4px);
-ms-transform: translateY(4px);
-o-transform: translateY(4px);
transform: translateY(4px);
}
#boardCanvas{
border:solid black 5px;
border-radius: 3px;
}
#buttonBanner{
margin-top: 20px;
text-align: right;
}
#statButton{
display:none;
}
.message{
font-weight: bold;
position: absolute;
left: 40%;
display: none;
}
.player{
position: absolute;
display: none;
}
#player1{
left: 2.3%;
top: 70%;
}
#player2{
left: 2.3%;
top: 75%;
}
.icon{
font-size: 4.5rem;
position: absolute;
display: none;
}
.pText{
font-size: 2rem;
position: absolute;
display: none;
}
#p1Text{
<<<<<<< Updated upstream
top: 57%;
left: 3%;
}
#p2Text{
top: 60%;
=======
top: 45%;
>>>>>>> Stashed changes
left: 3%;
}
#p1Text2{
top: 49%;
left: 3%;
}
#p2Text{
top: 54%;
left: 3%;
}
#p2Text2{
top: 58%;
left: 3%;
}
#p1TotalTroops{
top: 45%;
left: 14%;
}
#p1TroopsLeft {
top:49%;
left:21%;
}
#p2TotalTroops{
top: 54%;
left:14%;
}
#p2TroopsLeft {
top:58%;
left:21%;
}
.countryMsg{
font-size: 2rem;
}
#country2{
margin-bottom: 2rem;
}
#roundInfo{
font-size: 2rem;
}
#gameInterface{
display: none;
}
.red{
color: red;
}
.blue{
color: blue;
}