-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
243 lines (210 loc) · 4.6 KB
/
styles.css
File metadata and controls
243 lines (210 loc) · 4.6 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
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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
/* 🌿 Base Typography + Layout */
body {
margin: 50px;
padding: 0;
font-family: 'Inter', sans-serif;
background: #e8f5e9;
color: #1f1f1f;
font-size: 16px;
line-height: 1.6;
letter-spacing: -0.01rem;
transition: background 0.4s ease, color 0.4s ease;
}
.logo-img {
width: 150px; /* Set to your desired width */
height: auto; /* Maintains the aspect ratio */
transition: width 0.4s ease; /* Smooth transition */
}
.logo-img:hover {
transform: scale(1.1); /* Slightly increases size on hover */
}
/* 🌒 Dark Theme */
body.dark {
background: #0f1e16;
color: #e6f2e7;
}
body.dark .info-box {
background: #1c2d24cc;
color: #d2f1d7;
border: 1px solid #2e5d39;
}
body.dark .class-box {
background: #1e4031;
border-color: #81a1ff;
}
body.dark button {
background-color: #93c47d;
color: #12291d;
}
body.dark button:hover {
background-color: #7fb86b;
}
/* 🌌 Fireflies / Dragonflies */
.firefly, .dragonfly {
position: absolute;
width: 8px;
height: 8px;
border-radius: 50%;
pointer-events: none;
animation: floaty 4s infinite ease-in-out;
z-index: 1;
}
.firefly {
background: #ffe066;
box-shadow: 0 0 6px 2px #ffe066;
}
.dragonfly {
background: #ffe066;
box-shadow: 0 0 6px 2px #ffe066;
}
@keyframes floaty {
0% { transform: translateY(0px) translateX(0); opacity: 0.8; }
50% { transform: translateY(-15px) translateX(10px); opacity: 1; }
100% { transform: translateY(0px) translateX(0); opacity: 0.6; }
}
/* 🌲 Navbar */
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 24px 48px;
background: transparent;
}
.navbar h1 {
font-weight: 700;
font-size: 1.75rem;
color: #2c4d2c;
display: flex;
align-items: center;
gap: 0.5rem;
}
/* 🧭 Tabs */
.tabs button {
background: none;
border: none;
font-size: 1rem;
font-weight: 600;
padding: 10px 16px;
cursor: pointer;
color: #2c4d2c;
border-radius: 6px;
transition: background 0.2s ease;
}
.tabs button:hover {
background: rgba(74, 124, 89, 0.1);
}
.tabs button.active {
background: #4a7c59;
color: white;
}
/* 📦 Section Wrapper (Centers Everything) */
.section-wrapper {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 40px 20px;
max-width: 900px;
margin: 0 auto;
}
/* 📝 Info Box */
.info-box {
background: white;
padding: 24px 32px;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0,0,0,0.05);
margin-bottom: 40px;
text-align: left;
}
.info-box h2 {
margin: 0 0 10px;
font-size: 1.5rem;
font-weight: 700;
}
.info-box ul {
padding-left: 20px;
margin-top: 10px;
}
/* 🧾 Class Box */
.class-box {
background: #f8fbf9;
border: 1px solid #d9e4dc;
border-left: 5px solid #4a7c59;
padding: 24px 28px;
margin-top: 32px;
border-radius: 12px;
width: 100%;
}
/* 🧮 Inputs + Buttons */
input[type="text"],
input[type="number"] {
padding: 12px 16px;
font-size: 1rem;
border-radius: 8px;
border: 1px solid #cfd8dc;
outline: none;
transition: border-color 0.2s ease;
}
input[type="text"]:focus,
input[type="number"]:focus {
border-color: #4a7c59;
}
button {
padding: 12px 20px;
background-color: #4a7c59;
color: white;
border: none;
font-weight: 600;
border-radius: 9999px;
cursor: pointer;
transition: background-color 0.2s ease;
}
button:hover {
background-color: #3d684a;
}
/* 📐 Input Row Layout */
.input-row {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
margin: 20px 0;
flex-wrap: wrap;
width: 100%;
}
.input-row input[type="text"] {
flex: 1;
max-width: 280px;
}
.input-row button {
min-width: 130px;
}
/* 📱 Responsive Styles */
@media (max-width: 768px) {
body {
font-size: 15px;
}
.navbar {
flex-direction: column;
align-items: flex-start;
}
.tabs {
display: flex;
gap: 10px;
margin-top: 10px;
}
.container {
padding: 24px;
}
input, button {
width: 100%;
margin: 10px 0;
}
}
/* 🌐 Tab Sections */
.tab-content {
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: flex-start;
}