-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
69 lines (63 loc) · 1.21 KB
/
styles.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
body {
margin-top: 70px;
width: calc(100vw/2);
height: calc(100vw/2);
border: solid 5px #222;
position: center;
vertical-align: center;
background-color: black;
text-align: center;
font-family: 'Readex Pro', sans-serif;
max-width: 640px;
max-height: 640px;
}
div {
display: flex;
justify-content: center;
align-items: center;
color: #666666;
box-sizing: border-box;
float: left;
width: calc(100vw/16);
height: calc((100vw)/16);
padding: 0;
max-width: 80px;
max-height: 80px;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
html {
margin: auto;
display: table;
color: white;
background-color: black;
}
.chessboard {
font-size: min(calc(100vw/6), 10px);
color: black;
}
#result {
font-family: 'Times', serif;
margin: 0;
position: absolute;
top: 10px;
left: 50%;
transform: translate(-50%);
}
#reset {
position: absolute;
left: calc(100vw/2 - 25px);
top: calc(100vw/2 + 95px);
top: min(calc(100vw/2 + 105px), 745px);
}
img {
width: calc(100vw/16);
user-drag: none;
user-select: none;
-webkit-user-drag: none;
-webkit-user-select: none;
-ms-user-select: none;
}