-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
104 lines (91 loc) · 1.71 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
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
body {
background-color: #FAF5F0;
font-family: "Rubik", sans-serif;
color: #061C23;
text-align: center;
overflow: hidden;
}
.game-container {
width: 100vw;
height: 100vh;
position: absolute;
z-index: 1;
}
.header-text {
margin: 50px;
}
.game-board {
margin: auto;
background-color: #CAC2B5;
display: grid;
grid-template-columns: repeat(3, 1fr);
width: 360px;
height: 360px;
padding: 10px;
}
.game-tile {
width: 100px;
height: 100px;
margin: 10px;
background-color: #FAF5F0;
display: flex;
align-items: center;
justify-content: center;
}
.player-one, .player-two {
width: 90%;
height: 90%;
border-radius: 50%;
left: 0;
right: 0;
top: 0;
bottom: 0;
margin: auto;
}
.player-one {
background-color: #0B3948;
}
.player-two {
background-color: #612E4D;
clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%);
}
.score-board {
margin: auto;
padding-top: 20px;
width: 300px;
display: flex;
justify-content: space-evenly;
flex-direction: row;
}
.score-board h1 {
font-size: 1rem;
}
#win-container {
backdrop-filter: blur(5px);
width: 100vw;
height: 100vh;
position: absolute;
z-index: 2;
padding-top: 130px;
display: none;
}
.win-box {
margin: auto;
background-color: #CAC2B5;
width: 360px;
height: 360px;
padding: 10px;
}
.win-box h1 {
margin-top: 100px;
margin-bottom: 50px;
font-size: 1.5rem;
color: #061C23;
}
.win-box button {
background-color: #0B3948;
border: none;
padding: 20px;
color: #CAC2B5;
font-weight: bold;
}