-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
185 lines (159 loc) · 3.09 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
html{
background-color: #000000;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.heading{
color: #50E2D8;
margin: 2vw 0vw;
text-align: center;
font-size: 3vw;
}
.new_game{
background-color: #F77575;
border: none;
color: #EEE2DE;
padding: 0.75vw 0.5vw;
font-size: 1.5vw;
border-radius: 1.5vw;
cursor: pointer;
}
.details{
display: flex;
width: 30vw;
justify-content: space-between;
align-items: center;
margin: 2vw auto;
}
.timer_and_moves{
color: #FFAD4C;
display: flex;
width: 15vw;
justify-content: space-between;
}
.timer p , .moves p{
font-size: 1.5vw;
}
.timer h2 , .moves h2{
font-size: 2vw;
}
.buttons{
width: 30vw;
display: flex;
justify-content: space-between;
margin: auto;
}
.pause_timer , .resume_timer{
border: none;
font-size: 1.5vw;
font-weight: 600;
color: #fff;
border-radius: 1vw;
padding: 0.5vw;
width: 12vw;
cursor: pointer;
}
.pause_timer{
background-color: #F77575;
}
.resume_timer{
background-color: green;
}
/*Box*/
.box{
margin: 2vw auto;
border: 1.5vw solid #425154;
position: relative;
}
.number-tile{
position: absolute;
justify-content: center;
display: flex;
align-items: center;
color: white;
border-radius: 0.5vw;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
cursor: pointer;
font-size: 1.25vw;
z-index: 1;
transition: opacity 1s ease;
}
.gamebox{
width: 45vw;
margin: 0 auto;
position: relative;
}
/*Play button*/
.play{
position: absolute;
top: 0;
left: 7.5vw;
z-index: 2;
background: radial-gradient(rgb(255,255,255,0.5), rgba(255,255,255,0.25));
width: 30vw;
height: 30vw;
}
.play_button{
border: none;
margin: 11.5vw 0vw 0 12vw;
background-color: white;
padding: 1.55vw;
border-radius: 5vw;
cursor: pointer;
z-index: 4;
}
.bi-caret-right{
font-size: 3vw;
}
/*win section*/
.win_stats{
color: #50E2D8;
text-align: center;
width: 45vw;
margin: 6vw auto;
display: none;
}
.win_stats a{
text-decoration: none;
color: white;
}
.win_stats h1{
color: #B31312;
margin: 0 0 4vw 0;
font-size: 5vw;
}
.win_stats p{
font-size: 3vw;
margin: 2vw 0vw;
}
.new-game , .home{
border: none;
padding: 1vw 10vw;
margin: 1vw 0vw;
font-size: 2vw;
color: white;
border-radius: 1vw;
cursor: pointer;
}
.homenav{
display: flex;
flex-direction: column;
}
.new-game{
background-color: rgb(61, 199, 61);
}
.new-game:hover{
outline: 0.2vw solid rgb(61, 199, 61);
outline-offset: 0.4vw;
}
.home{
background-color: #B31312;
}
.home:hover{
outline: 0.2vw solid #B31312;
outline-offset: 0.4vw;
}