-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
120 lines (104 loc) · 1.89 KB
/
style.css
File metadata and controls
120 lines (104 loc) · 1.89 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
body{
margin: 0;
padding: 0;
font-family: Arial, Helvetica, sans-serif;
background: linear-gradient(135deg, #d6ca98, #b8a96d);
text-align: center;
min-height: 100vh;
transition: background-color 0.3s ease;
}
/* Title */
h1{
margin-top: 20px;
font-size: 40px;
letter-spacing: 2px;
color: #333;
}
/* Credit */
.credit{
font-size: 14px;
margin-top: -10px;
margin-bottom: 20px;
color: #444;
font-style: italic;
}
/* Level Text */
h2{
font-weight: 500;
color: #222;
}
/* Button container */
.btn-container{
width: 100%;
display: flex;
justify-content: center;
margin-top: 20px;
}
/* Game buttons */
.btn{
height: 200px;
width: 200px;
border: none;
border-radius: 30px;
margin: 1rem;
cursor: pointer;
transition: all 0.2s ease-in-out;
box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
}
/* Hover effect */
.btn:hover{
transform: scale(1.05);
box-shadow: 6px 6px 18px rgba(0,0,0,0.5);
}
/* Start Button */
#btn_el{
display: block;
background-color: white;
width: 120px;
height: 40px;
margin-bottom: 30px;
font-size: 15px;
font-weight: 600;
border-radius: 8px;
border: none;
cursor: pointer;
box-shadow: 2px 2px 10px rgba(0,0,0,0.4);
transition: 0.3s;
}
#btn_el:hover{
transform: scale(1.05);
box-shadow: 4px 4px 15px rgba(0,0,0,0.6);
}
/* Responsive */
@media(max-width: 450px){
.btn{
height: 130px;
width: 130px;
border-radius: 20px;
}
#btn_el{
display: block;
width: 90px;
height: 35px;
}
}
/* Colors */
.red{
background-color:#FF6B6B;
}
.yellow{
background-color:#FFD93D;
}
.green{
background-color:#6BCB77;
}
.purple{
background-color:#845EC2;
}
/* Flash Effects */
.flash{
background-color: white !important;
}
.userflash{
background-color: black !important;
}