-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
148 lines (140 loc) · 4.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
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
.wrapper {
width:250px;
height:600px;
margin:0 auto;
}
.menu {
height:50px;
margin:0;
padding:0;
list-style:none
}
.menu li {
float:left;
height:20px;
margin-left:14px;
padding:14px;
text-align:center;
border:1px solid #c6c1c1;
cursor: pointer;
box-shadow:0 0 2px 2px;
}
.point_menu {
height:30px;
}
.point_menu span {
display:inline-block;
height:30px;
line-height: 30px;
float:right;
}
.game_field {
border:solid 1px black;
border-collapse:separate;
}
.game_field td {
height:25px;
width:25px;
}
.game_field tbody tr td {
height:25px;
width:25px;
}
.red {
background: red;
background: -moz-linear-gradient(top, red 0%, #fdd1d1 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,red), color-stop(100%,#fdd1d1));
background: -webkit-linear-gradient(top, red 0%,#fdd1d1 100%);
background: -o-linear-gradient(top, red 0%,#fdd1d1 100%);
background: -ms-linear-gradient(top, red 0%,#fdd1d1 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=red, endColorstr=#fdd1d1, GradientType=0 );
-ms-filter: 'progid:DXImageTransform.Microsoft.gradient(startColorstr='+red+', endColorstr='+#fdd1d1+')' ;
background: linear-gradient(top, red 0%,#fdd1d1 100%) // W3C
}
.green {
background: green;
background: -moz-linear-gradient(top, green 0%, #dafdd1 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,green), color-stop(100%,#dafdd1));
background: -webkit-linear-gradient(top, green 0%,#dafdd1 100%);
background: -o-linear-gradient(top, green 0%,#dafdd1 100%);
background: -ms-linear-gradient(top, green 0%,#dafdd1 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=green, endColorstr=#dafdd1, GradientType=0 );
-ms-filter: 'progid:DXImageTransform.Microsoft.gradient(startColorstr='+green+', endColorstr='+#dafdd1+')' ;
background: linear-gradient(top, green 0%,#dafdd1 100%) // W3C
}
.blue {
background: blue;
background: -moz-linear-gradient(top, blue 0%, #d6d1fd 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,blue), color-stop(100%,#d6d1fd));
background: -webkit-linear-gradient(top, blue 0%,#d6d1fd 100%);
background: -o-linear-gradient(top, blue 0%,#d6d1fd 100%);
background: -ms-linear-gradient(top, blue 0%,#d6d1fd 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=blue, endColorstr=#d6d1fd, GradientType=0 );
-ms-filter: 'progid:DXImageTransform.Microsoft.gradient(startColorstr='+blue+', endColorstr='+#d6d1fd+')' ;
background: linear-gradient(top, blue 0%,#d6d1fd 100%) // W3C
}
.yellow {
background: yellow;
background: -moz-linear-gradient(top, yellow 0%, #fdf2d1 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,yellow), color-stop(100%,#fdf2d1));
background: -webkit-linear-gradient(top, yellow 0%,#fdf2d1 100%);
background: -o-linear-gradient(top, yellow 0%,#fdf2d1 100%);
background: -ms-linear-gradient(top, yellow 0%,#fdf2d1 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=yellow, endColorstr=#fdf2d1, GradientType=0 );
-ms-filter: 'progid:DXImageTransform.Microsoft.gradient(startColorstr='+yellow+', endColorstr='+#fdf2d1+')' ;
background: linear-gradient(top, yellow 0%,#fdf2d1 100%) // W3C
}
/* CSS сообщения о конце игры */
#box {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 999;
}
/* в нём находится полупрозрачный экран, на 20px меньше */
#box-inner {
position: absolute;
left: 20px;
right: 20px;
top: 20px;
bottom: 20px;
background: blue;
opacity: 0.3;
filter: alpha(opacity=30);
}
/* форма находится не в экране, а рядом с ним, чтобы не быть полупрозрачной */
#box-message {
position: absolute;
top: 0; bottom: 0; right: 0; left: 0; /* центрирование */
margin: auto; /* центрирование */
height: 120px;
width: 300px;
border: 1px solid white;
background-color:white;
}
#box-message #top {
height:68px;
text-align:center;
background-color:red;
font:16px Arial;
/*color:#0074cc;*/
color:yellow;
padding:10px 0px 0px 0px;
}
#box-message #top span {
font:bold 20px Arial;
}
#box-message #bottom {
height:42px;
text-align:center;
background-color: #e356c0;
}
#box-message #bottom span {
padding:10px 15px;
border-radius:25px;
border:solid 1px white;
background-color:yellow;
cursor: pointer;
}