-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathboard.css
82 lines (72 loc) · 1.39 KB
/
board.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
body {
background-color: black;
}
.game-container {
margin: 0 auto;
width: 424px;
border: 2px solid #dadada;
/* margin-left: auto; */
/* margin-right: auto; */
}
input#message {
border: 2px solid #dadada;
border-radius: 7px;
}
input#message:focus {
outline: none;
border-color: #9ecaed;
box-shadow: 0 0 10px #9ecaed;
}
.encoding {
/* text-shadow: 0 0 10px rgba(255,255,255,1) , 0 0 20px rgba(255,255,255,1) , 0 -6px 30px rgba(255,255,255,1) , 0 0 40px #ff00de , 0 0 70px #ff00de , 0 0 80px #ff00de , 0 0 100px #ff00de ; */
border: 2px solid #73ad21;
padding: 2px;
}
.code-popup {
visibility: hidden;
display: inline-block;
width: 5em;
text-align: center;
background: black;
border:solid 2px #73ad21;
border-radius: 6px;
position: absolute;
bottom: -1em;
z-index: 1;
color: #b44f47;
padding: .2em;
}
.encoded-token:hover .code-popup {
visibility: visible;
}
.highlight-token {
color: #b44f47;
}
.encoded-token {
cursor: pointer;
position: relative;
}
#board {
height: 800px;
width: 416px;
background-color: black;
position: relative;
touch-action: manipulation;
}
.move-button {
touch-action: manipulation;
cursor: pointer;
}
@media (pointer:fine){
.hint-message.mobile {
display: none;
}
.move-button.mobile {
display: none;
}
}
@media (pointer:none), (pointer:coarse) {
.hint-message.desktop {
display: none;
}
}