-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
114 lines (94 loc) · 2.01 KB
/
index.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
#table{
background: rgb(209, 139, 71);
border: 1px solid black;
width: 500px;
height: 500px;
float: left;
margin: 10px;
}
div#app{
perspective: 1555px;
}
.rotated {
transform: rotateX(180deg);
}
.menu-icon {
position: absolute;
top: 0;
right: 0;
margin: 3px;
font-size: 22px;
cursor: pointer;
}
div#app > div {
/* transition: transform 1s;
transform: rotateX(15deg) rotateY(-15deg) rotateX(3deg);
transform-origin: 15px 525px 15px; */
display: inline-block;
}
div#app > div:hover{
transform: none;
}
#table tr:nth-child(odd) td:nth-child(odd){
background: rgb(255, 206, 158);
}
#table tr:nth-child(even) td:nth-child(even){
background: rgb(255, 206, 158);
}
#table tr:nth-child(even) td:nth-child(odd) {
background: rgb(209, 139, 71);
}
#table tr:nth-child(odd) td:nth-child(even) {
background: rgb(209, 139, 71);
}
#table td{
cursor: pointer;
border: 1px solid gray;
width: 12.5%;
height: 12.5%;
font-size: 40px;
text-align: center;
}
#app #table .selected {
background: brown;
color: lightblue;
}
#app #table .validMoves {
background: red;
}
#app #table td {
-webkit-transition: background-color 355ms linear, color 360ms ease-in;
-moz-transition: background-color 355ms linear, color 360ms ease-in;
-o-transition: background-color 355ms linear, color 360ms ease-in;
-ms-transition: background-color 355ms linear, color 360ms ease-in;
transition: background-color 355ms linear, color 360ms ease-in;
}
#down{
position: relative;
left: 10px;
top: -17px;
width: 500px;
}
.down {
width: 12.5%;
font-size: 25px;
text-align: center;
}
#right {
position: relative;
left: 10px;
top: 10px;
height: 500px;
}
.right {
height: 12.5%;
font-size: 25px;
}
table, .no-selection{
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}