Dashboard Temp Share Shortlinks Frames API

HTMLify

style.css
Views: 65 | Author: vinay5ain
  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
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
:root {
  --primary: #296ad2;     /* Soft Sky Blue */
  --secondary: #3076d1;   /* Icy Blue */
  --accent: #ff7eb3;      /* Pale Rose */
  --light: #ffffff;
  --dark: #1f2c3a;
}

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: var(--dark);
  transition: background 0.5s, color 0.5s;
  padding-bottom: 80px;
}

/* ๐ŸŒ™ Dark Mode with Teal Green Background */
.dark-mode {
  background: linear-gradient(to right, #014d4d, #001f1f);
  color: var(--accent);
}

/* ๐Ÿงญ Navbar */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.2);
  padding: 12px 10px;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  gap: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.navbar a,
.navbar button {
  color: var(--dark);
  font-size: 16px;
  background: none;
  border: none;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.navbar a:hover,
.navbar button:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--accent);
}

/* ๐Ÿ“ฆ Section */
section {
  max-width: 500px;
  margin: 20px auto;
  padding: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

/* ๐Ÿ•’ Clock Display */
.display-box {
  font-size: 2em;
  padding: 20px;
  margin: 20px auto;
  background-color: rgba(255, 255, 255, 0.2);
  width: fit-content;
  border-radius: 10px;
  text-align: center;
}

/* ๐Ÿ•ฐ Analog Clock */
.clock {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 30px auto;
  border: 10px solid var(--light);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.05);
}

.hand {
  position: absolute;
  width: 50%;
  height: 2px;
  background: var(--accent);
  top: 50%;
  left: 50%;
  transform-origin: left;
  transform: rotate(90deg);
  transition: transform 0.5s ease-in-out;
}

.center-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ๐Ÿ”˜ Buttons */
button {
  padding: 10px 18px;
  margin: 5px;
  font-size: 16px;
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, color 0.3s;
}

button:hover {
  background: var(--accent);
  color: black;
  transform: scale(1.08);
  border-color: var(--accent);
}

/* ๐Ÿงพ Inputs */
input {
  padding: 8px;
  margin: 5px;
  border: none;
  border-radius: 6px;
  width: 80px;
  text-align: center;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.3);
  color: var(--dark);
}

input::placeholder {
  color: #444;
}

/* ๐Ÿ“Œ Footer */
footer {
  text-align: center;
  padding: 15px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 30px;
  position: relative;
  bottom: 0;
  width: 100%;
}

/* ๐Ÿ’ก Flash Effect */
.flash-effect {
  animation: flashGlow 1s ease-in-out infinite alternate;
  box-shadow: 0 0 25px var(--accent), 0 0 60px var(--accent);
  background-color: rgba(255, 126, 179, 0.15) !important;
  color: var(--accent) !important;
}

@keyframes flashGlow {
  0% {
    box-shadow: 0 0 10px var(--accent), 0 0 30px var(--accent);
    transform: scale(1);
  }
  100% {
    box-shadow: 0 0 30px var(--accent), 0 0 70px var(--accent);
    transform: scale(1.02);
  }
}

/* ๐Ÿ’ซ Pulse */
.pulse {
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ๐Ÿ•’ Live Clock Card */
.live-clock-card {
  max-width: 400px;
  margin: 40px auto;
  padding: 30px 20px;
  background: linear-gradient(145deg, var(--primary), var(--secondary));
  border-radius: 20px;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2),
              -10px -10px 20px rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--dark);
  font-family: 'Segoe UI', sans-serif;
}

.live-clock-card h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.live-time {
  font-size: 32px;
  font-weight: 600;
  color: var(--accent);
  text-shadow: 0 0 10px rgba(255, 126, 179, 0.6);
  transition: all 0.5s ease-in-out;
}

/* ๐ŸŒ— Toggle Switch */
.toggle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
}

.toggle-checkbox {
  display: none;
}

.toggle-switch {
  position: relative;
  width: 60px;
  height: 30px;
  background: var(--primary);
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.4s ease-in-out;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.1),
              0 0 8px var(--accent);
}

.toggle-switch::before {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  top: 2px;
  left: 2px;
  background: var(--light);
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.toggle-checkbox:checked + .toggle-switch {
  background: var(--accent);
}

.toggle-checkbox:checked + .toggle-switch::before {
  transform: translateX(30px);
  background: var(--dark);
}

.dark-mode .toggle-switch {
  background: var(--dark);
}

.dark-mode .toggle-switch::before {
  background: var(--accent);
}

/* ๐ŸŒ World Time Grid */

.live-clock {
  font-size: 3rem;
  margin-top: 1rem;
  font-weight: bold;
}

.world-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.world-time {
  background: var(--light);
  color: var(--dark);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.world-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.world-time {
  background-color: var(--secondary);
  color: #000;
  padding: 1rem;
  border-radius: 12px;
  min-width: 150px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-family: 'Orbitron', sans-serif;
  transition: all 0.3s ease;
}

.dark-mode .world-time {
  background-color: var(--dark);
  color: var(--light);
  border: 1px solid var(--accent);
}