-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyle.css
More file actions
127 lines (107 loc) · 1.69 KB
/
Copy pathstyle.css
File metadata and controls
127 lines (107 loc) · 1.69 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
@font-face {
font-family: DS-Digital-i;
src: url(/font/DS-DIGII.TTF);
}
@font-face {
font-family: Bistream Vera;
src: url(/font/VeraMono.ttf);
font-weight: normal;
}
@font-face {
font-family: Bistream Vera;
src: url(/font/VeraMoBd.ttf);
font-weight: bold;
}
body {
display: table;
position: absolute;
width: 100%;
height: 100%;
margin: 0;
background-color: #738a7b;
}
#table {
background-image: url("/img/light.png");
border: 5px solid black;
position: relative;
display: inline-block;
}
#board {
margin-left: 10px;
display: inline-block;
vertical-align: top;
width: 200px;
position: relative;
}
#snake {
/*position: absolute;*/
}
img.piece, #fruit {
position: absolute;
}
span.score {
font-family: DS-Digital-i;
display: block;
text-align: center;
font-size: 40px;
}
span.score#gameover {
color: #63796b;
margin-top: 30px;
}
button {
background-color: transparent;
border: 3px solid black;
font-family: DS-Digital-i;
font-size: 40px;
display: block;
width: 100%;
/*margin-top: 20px;*/
cursor: pointer;
box-sizing: border-box;
height: 52px;
margin-bottom: 30px;
}
button:hover {
border-width: 5px;
}
button:disabled {
color: #63796b;
border-color: #63796b;
pointer-events: none;
}
.center {
display: table-cell;
vertical-align: middle;
}
.cell {
display: table;
margin: auto;
}
.footer {
position: absolute;
left: 0;
right: 0;
bottom: 0;
text-align: center;
}
.footer .tools img {
height: 40px;
}
.footer .tools img:not(:first-child) {
margin-left: 15px;
}
.footer a {
font-family: "Bistream Vera";
font-size: 20px;
color: black;
}
.footer a:hover {
font-weight: bold;
cursor: pointer;
}
.footer a img {
height: 20px;
position: relative;
top: 3px;
}