-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgame.css
More file actions
113 lines (113 loc) · 1.96 KB
/
game.css
File metadata and controls
113 lines (113 loc) · 1.96 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
td {
min-width: 85.4px;
height: 48px;
text-align: center;
font-family: Times New Roman, 宋体, serif;
font-size: 12px;
border: 1px solid;
background-color: #fdfdfd;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
td:hover{
background-color: #fee
}
td:active{
background-color: #fcc
}
table {
table-layout: fixed;
border-collapse: collapse;
}
.cell{
background-color: #f0f0f0;
}
.vroad {
border-width: 0 1px 0 1px;
}
.hroad {
border-width: 1px 0 1px 0;
}
.lroad {
border-left: 0;
}
.rroad {
border-right: 0;
}
.troad {
border-top: 0;
}
.broad {
border-bottom: 0;
}
.croad {
border: none;
}
.empty {
border: none;
background-color: transparent;
}
.fakebutton {
cursor: default;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
border: 2px solid #bbb;
padding: 0 2px 0 2px;
background-color: #e4e4e4;
display: inline-block;
text-align: center;
}
.fakebutton:hover {
background-color: #f4f4f4;
}
.fakebutton:active {
background-color: #ddd;
position: relative;
left: 1px;
top: 1px;
}
.mono {
font-family: Lucida Console, monospace;
}
.player {
font-family: Lucida Console;
font-size: 16px;
padding: 2px 2px 2px 2px;
background-color: #ccc;
}
._active {
font-weight: bold;
color: red;
background-color: #ff0;
}
.red {
color: red;
}
.right {
display: block;
margin-left:auto;
margin-right:0;
clear:right;
float:right;
}
#tbdiv {
margin-top: 64px;
}
#hd {
font-family: sans-serif;
border: 2px solid #aaa;
border-width: 0 0 2px 0;
padding: 8px 0 2px 0;
width: 96vw;
position: fixed;
top: 0;
background-color: white;
}