forked from dolfin/checkers
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
164 lines (161 loc) · 3.08 KB
/
style.css
File metadata and controls
164 lines (161 loc) · 3.08 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
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
@font-face{
font-family: 'LeagueGothicRegular';
src: url('font/LeagueGothicRegular.ttf');
}
html, body
{
height : 100%;
width : 100%;
margin : 0;
padding: 0;
overflow:hidden;
}
body
{
background-image: url('img/bg.jpg');
background-size : cover;
}
#main
{
margin: 0 450px 0 auto;
display: block;
width: 700px;
text-align: center;
}
aside {
position: absolute;
bottom: 0;
top: 0;
border-left: 5px solid #333;
padding: 0 20px;
right: 0;
width: 250px;
background: #ECECEC;
text-align: center;
box-shadow: 0 0 40px #000;
}
label
{
color:#000;
display:block;
font-size:60px;
position:relative;
text-decoration:none;
text-shadow:0 0 6px #fff;
width:75px;
height:75px;
}
input[type="radio"]
{
display:none;
}
input[type="radio"][name="white"]:checked + label
{
box-shadow: inset 0 0 60px #0253BB;
}
input[type="radio"][name="empty"]:checked + label
{
box-shadow: inset 0 0 60px #ACAC00;
}
input[type="radio"][name="empty"].invalid:checked + label
{
box-shadow: inset 0 0 60px #FF5151;
}
#chess_board
{
border: 5px solid #333;
margin: 65px auto 0 auto;
background: #333;
-webkit-transform: perspective(2800px) rotateX(20deg) translateZ(180px);
-webkit-backface-visibility: hidden;
box-shadow: 0 0 40px #000;
}
#chess_board td
{
background-image: url('img/wood-black.jpg');
box-shadow: inset 0 0 0 1px #D6D6D6;
text-align: center;
vertical-align: middle;
-webkit-backface-visibility: hidden;
}
#chess_board tr:nth-child(even) td:nth-child(even),
#chess_board tr:nth-child(odd) td:nth-child(odd)
{
background-image: url('img/wood-white.jpg');
box-shadow: inset 0 0 10px #FFF;
}
#confirm
{
box-shadow:inset 0px 1px 0px 0px #54a3f7;
background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #007dc1), color-stop(1, #0061a7));
border-radius:1px;
border:1px solid #124d77;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-family:arial;
font-size:15px;
font-weight:bold;
padding:10px 30px;
text-decoration:none;
text-shadow:0px 1px 0px #154682;
text-transform:uppercase;
text-decoration:none;
}
#confirm:hover
{
background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #0061a7), color-stop(1, #007dc1));
}
#confirm:active
{
position:relative;
top:1px;
}
#decline
{
background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #EE2900), color-stop(1, #EF4423));
border-radius:1px;
border:1px solid #790300;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-family:arial;
font-size:11px;
font-weight:bold;
padding:5px 20px;
text-transform:uppercase;
text-decoration:none;
}
#decline:hover
{
background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #EF4423), color-stop(1, #EE2900));
}
#decline:active
{
position:relative;
top:1px;
}
aside h1
{
text-shadow: 0px 1px 1px #4D4D4D;
color: #222;
margin: 5px 0;
font: 40px 'LeagueGothicRegular';
}
aside h2
{
font-variant: small-caps;
font-family: arial;
}
aside p
{
font-family: arial;
font-size: 14px;
font-weight:bold;
color: #333;
}
aside p b
{
font: 30px 'LeagueGothicRegular';
text-decoration:underline;
}