-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
132 lines (116 loc) · 2.37 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
body{
background-image: url(https://wallpapers.com/images/featured/chess-rxs9nof9n7okzx4c.jpg);
background-size: cover;
background-repeat: no-repeat;
background-position: center;
overflow-y: hidden;
}
#gameboard{
margin-top: 8%;
margin-left: 30%;
width: 640px;
height: 640px;
display: flex;
flex-wrap: wrap;
}
.square svg {
height: 60px;
width: 60px;
margin: 10px;
position: relative;
z-index: -10;
}
path {
position: relative;
z-index: -12;
}
.peice{
position: relative;
z-index: 10;
}
.square{
height: 80px;
width: 80px;
position: relative;
}
.black {
background-color: rgb(110,110,98);
}
.white {
background-color: rgb(243, 196, 68);
}
.blackF{
fill: black;
}
.whiteF{
fill: white;
}
p{
height: 100px;
width: 300px;
border-radius: 40px 20px;
background-color: yellow;
padding: 20px;
margin: 10px;
margin-bottom: 70px;
margin-left: 30px;
font-size: 2.5rem;
transform: translateY(-400px);
box-shadow: inset 5px 3px cadetblue;
}
span{
color: rgb(23, 148, 106);
font-weight: bolder;
}
.show{
display: none;
}
@media only screen and (max-width: 600px) {
body{
background-image: url(https://wallpapers.com/images/featured/chess-rxs9nof9n7okzx4c.jpg);
background-size: cover;
background-repeat: no-repeat;
background-position: center;
overflow-y: hidden;
height: 100vh;
display: flex;
width: 100vw;
align-items: center;
}
/* #page1{
background-image: url(https://wallpapers.com/images/featured/chess-rxs9nof9n7okzx4c.jpg);
background-size: cover;
background-repeat: no-repeat;
background-position: center;
overflow-y: hidden;
} */
#gameboard {
margin-top: 5%;
margin-left: 5%;
height: 320px;
width: 320px;
display: flex;
flex-wrap: wrap;
}
.square svg {
height: 30px;
width: 30px;
margin: 5px;
position: relative;
z-index: -10;
}
.square {
height: 40px;
width: 40px;
position: relative;
}
p {
width: 70%;
height: 5%;
margin: 10px;
margin-bottom: 30px;
margin-left: 5%;
font-size: 1rem;
transform: translateY(10px);
}
}