-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
98 lines (93 loc) · 1.73 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
@font-face {
font-family: 'samurai';
src: url('SamuraiBlast-8MnyD.otf') format('opentype');/
}
*{
color: white;
font-family: "samurai";
transition: 0.2s ease-out;
user-select: none;
}
.align{
display: flex;
justify-content: center;
align-items: center;
}
body{
background-color: #252a34;
margin: 0;
padding: 0;
width: 100vw;
text-align: center;
padding-top: 5vh;
}
.turn-container{
width: 170px;
height: 90px;
margin: auto;
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr;
position: relative;
}
h3{
font-size: 32px;
}
.turn-container h3{
margin: 0;
grid-column-start: 1;
grid-column-end: 3;
}
.turn-container .users{
border: 3px solid black;
font-size: 1.6rem;
font-weight: 700;
}
.turn-container .users:nth-child(even){
border-right: none;
}
.bg{
position: absolute;
bottom: 0;
left: 0;
width: 85px;
height: 45px;
background-color: #ff2e63;
z-index: -1;
}
.main-grid{
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr;
width: 250px;
height:250px;
margin: 30px auto;
border: 2px solid #000;
}
.box{
cursor: pointer;
font-size: 2rem;
font-weight: 700;
border: 2px solid #000;
display: flex;
justify-content: center;
align-items: center;
}
.box:hover{
background-color: #ff2e63;
}
#play-again{
background-color: #ff2e63;
padding: 10px 25px;
border: none;
font-family: "permanent marker", cursive;
border-radius: 5px;
font-size: 1.2 rem;
cursor: pointer;
display: none;
}
#play-again:hover{
padding: 10px 40px;
background-color: #08d9d6;
color: #000;
}