-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyling.css
More file actions
116 lines (100 loc) · 1.96 KB
/
styling.css
File metadata and controls
116 lines (100 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
114
115
116
body {
background-color: #ffffff;
background-image: url("Assets/crumpledPaper.jpg");
background-size: 1000px;
font-family: "Gaegu";
margin: 0;
padding: 0;
}
.piece {
position: relative;
left: 0.8vmin;
top: 0.5vmin;
width: 80%;
height: 80%;
transition: .2s;
z-index: 5;
}
td:hover .piece {
transform: scale(1.2)
}
#black {
filter: brightness(60%);
}
#titleText {
text-align: center;
margin: 0px;
font-size: 6vmin;
}
#selector {
position: absolute;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
z-index: -1;
}
#check {
color: red;
text-align: center;
margin: 0px;
font-size: 3.5vmin;
}
#turnIndicator {
color: black;
text-align: center;
margin: 0;
font-size: 3.5vmin;
}
#board {
position: relative;
background-color: #1f2227;
width: 70vmin;
height: 70vmin;
border-spacing: 0.5vmin;
table-layout: fixed;
margin-left: auto;
margin-right: auto;
margin-bottom: 0px;
font-size: 3vmin;
}
#board td {
position: relative;
height: 8.75vmin;
max-height: 8.75vmin;
width: 8.75vmin;
padding: 0;
margin: 0;
}
#board th {
padding: 0px;
text-align: center;
width: 4vmin;
height: 4vmin;
background-image: url("Assets/veryLightSquare.png");
background-size: cover;
}
#bottomCoord th {
height: 4vmin;
}
#board tr td div {
width: 100%;
height: 100%;
padding: 0px;
}
#board tr:nth-child(even) td:nth-child(even) {
background-image: url("Assets/lightSquare.png");
background-size: cover;
}
#board tr:nth-child(odd) td:nth-child(even) {
background-image: url("Assets/darkSquare.png");
background-size: cover;
}
#board tr:nth-child(odd) td:nth-child(odd) {
background-image: url("Assets/lightSquare.png");
background-size: cover;
}
#board tr:nth-child(even) td:nth-child(odd) {
background-image: url("Assets/darkSquare.png");
background-size: cover;
}