-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
98 lines (95 loc) · 1.75 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
*{
margin: 0px;
padding: 0px;
}
body{
background-color: #548687;
text-align: center;
}
.container{
height: 70vh;
display: flex;
justify-content: center;
justify-content: space-evenly;
}
.game{
height: 60vmin;
width: 60vmin;
display: flex;
flex-wrap: wrap;
gap: 1.5vmin;
}
.box{
height: 18vmin;
width: 18vmin;
border-radius: 1rem;
border: none;
box-shadow: 0 0 1rem rgba(0, 0, 0, 1);
font-size: 8vmin;
color: #b0413e;
background-color: #ffffc7;
}
#reset-btn{
padding: 1rem;
font-size: 1.25rem;
background-color: #191913;
color: white;
border-radius: 1rem;
border: none;
}
.turn-msg{
height: 100px;
width: 250px;
border-radius: 1rem;
border: none;
background-color: white;
font-size: 2rem;
display: flex;
justify-content: center;
align-items: center;
font-family: Arial, Helvetica, sans-serif;
}
.player-name{
color: #b0413e;
font-weight: 700;
}
#new-btn{
padding: 1rem;
font-size: 1.25rem;
background-color: #191913;
color: white;
border-radius: 1rem;
border: none;
margin-top: 20px;
margin-bottom: 20px;
}
h1{
margin-bottom: 10px;
}
@media screen and (max-width: 576px) {
.container{
flex-direction: column;
margin: 0px auto;
align-items: center;
}
.turn-msg{
height: 50px;
width: 150px;
font-size: 20px;
}
}
@media screen and (min-width: 577px) and (max-width: 992px) {
.container{
flex-direction: column;
margin: 0px auto;
align-items: center;
}
.turn-msg{
height: 100px;
width: 200px;
font-size: 30px;
}
#msg-O, .game, #msg-X{
margin-bottom: 20px;
}
}