-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
109 lines (93 loc) · 1.55 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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
background-color: rgb(28, 130, 137);
}
h2{
font-size: 2rem;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
gap: 2rem;
padding-top: 2rem;
}
.game {
display: grid;
grid-template-columns: repeat(3, 80px);
grid-template-rows: repeat(3, 80px);
gap: 0.5rem;
}
.box {
background-color: white;
border-radius: 1rem;
border: none;
box-shadow: 1px 1px 6px rgb(72, 72, 72);
}
.num {
font-size: 2.2rem;
font-weight: 600;
color: brown;
}
#btn button {
padding: 0.8rem;
border-radius: 0.5rem;
background-color: rgb(30, 28, 28);
color: #ffffff;
margin-bottom: 2rem;
border:none;
}
#newbtn button {
padding: 0.8rem;
border-radius: 0.5rem;
background-color: rgb(30, 28, 28);
color: #ffffff;
border:none;
}
#btn button:hover {
transform: scale(1.01);
background-color: rgb(56, 54, 54);
}
#newbtn button:hover {
transform: scale(1.01);
background-color: rgb(48, 46, 46);
}
.msg-container {
font-size: 1.3rem;
color: black;
text-align: center;
height: 90vh;
display: flex;
justify-content: center;
align-items: center;
}
.hide {
display: none;
}
@media screen and (min-width: 560px) {
.container{
gap:1.2rem;
}
.game {
grid-template-columns: repeat(3, 135px);
grid-template-rows: repeat(3, 135px);
gap: 0.7rem;
}
.num {
font-size: 4rem;
}
h2 {
font-size: 3rem;
}
button {
padding: 0.8rem;
border-radius: 1rem;
}
.msg-container {
font-size: 5rem;
}
}