-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
118 lines (104 loc) · 2.04 KB
/
style.css
File metadata and controls
118 lines (104 loc) · 2.04 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
/* General Body and container */
body {
margin: 0;
background-color: #fff9db; /* light pastel yellow */
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.container {
background-color: white;
border-radius: 20px;
width: 360px;
padding: 2rem 2.5rem;
box-shadow: 0 8px 24px rgba(0,0,0,0.15);
text-align: center;
}
/* Heading */
h1 {
font-weight: 700;
color: black;
margin-bottom: 0.5rem;
}
/* Subtitle on index */
.subtitle {
font-size: 0.65rem;
color: #555;
margin-bottom: 1.5rem;
}
/* Index grid for eggs */
.egg-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-auto-rows: 100px;
gap: 1rem;
}
.egg-option {
text-decoration: none;
color: black;
font-weight: 600;
font-size: 1rem;
display: flex;
flex-direction: column;
align-items: center;
transition: transform 0.15s ease-in-out;
}
.egg-option img {
width: 50px;
height: 50px;
border-radius: 12px;
object-fit: cover;
margin-bottom: 0.4rem;
box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}
.egg-option:hover {
transform: scale(1.05);
cursor: pointer;
}
/* Timer page styles */
.timer-container {
width: 400px;
padding: 2rem 3rem;
}
.timer-main {
display: flex;
align-items: center;
justify-content: center;
gap: 1.5rem;
margin: 1rem 0 2rem;
}
.timer-display {
font-size: 3rem;
font-weight: 700;
min-width: 130px;
user-select: none;
}
.timer-egg-image {
width: 80px;
height: 80px;
border-radius: 15px;
object-fit: cover;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
/* Timer buttons */
.timer-controls {
display: flex;
justify-content: center;
gap: 1.25rem;
}
.timer-controls button {
background-color: #fdd835; /* bright yellow */
border: none;
padding: 0.8rem 1.5rem;
border-radius: 12px;
font-weight: 700;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.25s ease-in-out;
box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}
.timer-controls button:hover {
background-color: #fbc02d;
}