-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
106 lines (98 loc) · 2.28 KB
/
Copy pathstyle.css
File metadata and controls
106 lines (98 loc) · 2.28 KB
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
*{
padding: 0;
margin: 0;
/* box-sizing: border-box; */
}
h1{
font-size: 3rem;
color: #004643;
margin: 2rem 0 0.5rem 0; /* Added 0.5rem bottom margin */
text-transform: uppercase;
letter-spacing: 3px;
}
body{
text-align: center;
background-color: #FAF8F1;
}
.msg-container {
font-size: 2rem;
color: #004643;
}
.container{
padding-top: 1rem; /* Consolidated padding rules */
display: flex;
justify-content: center;
align-items: center;
}
.game{
height: 60vmin;
width: 60vmin;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 1.5vmin;
}
.box{
height:18vmin ;
width: 18vmin;
display: flex;
align-items: center;
justify-content: center;
font-size: 10vmin;
border-radius: 20px;
border: none;
background-color:#88b8ae;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
cursor: pointer;
transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
}
.box:hover {
background-color: #7aa89f;
transform: scale(1.05);
}
#new-game {
padding: 0.4rem 1rem;
border-radius: 10px;
border: 2px solid #292f33;
background-color: transparent;
color: #292f33;
font-size: 1.20rem;
font-weight: 600;
cursor: pointer;
transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
#new-game:hover {
background-color: #292f33;
color: white;
transform: translateY(-3px);
}
#reset-btn {
margin-top: 3rem;
padding: 0.4rem 1rem;
border-radius: 10px;
border: 2px solid #292f33;
background-color: transparent;
color: #292f33;
font-size: 1.20rem;
font-weight: 600;
cursor: pointer;
transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
#reset-btn:hover {
background-color: #292f33;
color: white;
transform: translateY(-3px);
}
.end-game-container {
/* height: 20vmin; */ /* Removed fixed height for flexibility */
padding: 1.5rem 0; /* Consolidated padding rules */
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 1rem;
}
.hide {
display: none;
}