-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
114 lines (99 loc) · 1.88 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
105
106
107
108
109
110
111
112
113
114
/* @tailwind base;
@tailwind components;
@tailwind utilities; */
body{
margin: 0;
padding: 0;
font-family: "Poppins", sans-serif;
background-color: #416cea;
}
.wrapper{
width: 33.75em;
background-color: #ffffff;
position: absolute;
padding: 2em;
transform: translateX(-50%);
left: 50%;
top: 1.25em;
border-radius: 0.5em;
}
.container{
margin: 1.25em auto;
width: 33.75em;
border-radius: 0.6em;
overflow: hidden;
background-color: #416cea;
}
#information{
display: grid;
width: 100%;
grid-template-columns: 1fr 1fr;
}
.player-wrappers{
display: flex;
align-items: center;
flex-direction: column;
}
.player1:before{
content: "";
display: inline-block;
width: 3.12em;
height: 3.12em;
border-radius: 50%;
background: radial-gradient(#fff04e 1.12em, #ffc400 1.25em);
}
.player2:before{
content: "";
display: inline-block;
width: 3.12em;
height: 3.12em;
border-radius: 50%;
background: radial-gradient(#ff4747 1.12em, #c00303 1.25em);
}
#playerTurn{
margin: 1em 0;
text-align: right;
}
#playerTurn span{
font-weight: 600;
}
.startScreen{
position: absolute;
top: 0;
height: 100vh;
width: 100vw;
background-color: #416cea;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.startScreen button{
background-color: #ffffff;
font-size: 1.4em;
padding: 1em 2em;
border: none;
outline: none;
border-radius: 2em;
cursor: pointer;
}
.grid-row{
margin: 0 auto;
display: flex;
}
.grid-box{
width: 5em;
height: 5em;
display: grid;
place-items: center;
background: radial-gradient(white 1.37em, #416cea 1.43em);
cursor: pointer;
}
.hide{
display: none;
}
#message {
margin-bottom: 1em;
color: #ffffff;
font-size: 1.2em;
}