-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
98 lines (80 loc) · 1.65 KB
/
style.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
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Ubuntu:wght@300;400;500&display=swap');
body {
font-family: 'Ubuntu', sans-serif;
background-color: antiquewhite;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: stretch;
}
section {
background-image: url('images/reduce-chess-board.jpg');
}
footer {
background-color: antiquewhite !important;
padding: 1rem 1.5rem 1rem !important;
}
p {
margin-top: 1rem;
font-weight: 400;
}
#gameboard {
margin-top: 4rem;
width: 576px;
height: 576px;
display: flex;
flex-wrap: wrap;
background-color: black;
}
.square {
height: 72px;
width: 72px;
position: relative;
}
.square svg {
height: 62px;
width: 62px;
margin: 5px;
position: relative;
z-index: -9;
}
path {
position: relative;
z-index: -10;
}
.piece {
position: relative;
z-index: 9;
}
.beige {
/*background-color: rgb(110, 110, 98);*/
background-image: url("images/reduce-white-concrete-wall.jpg");
}
.brown {
/*background-color: rgb(169, 43, 43);*/
background-image: url("images/reduce-gray-textured-wall.jpg");
}
.black {
fill: #3bc9db;
}
.white {
fill: #ffd43b;
}
@media (max-width: 700px)
{
#gameboard {
margin-top: 2rem;
width: 320px;
height: 320px;
}
.square {
height: 40px;
width: 40px;
}
.square svg {
height: 30px;
width: 30px;
margin: 5px;
}
}