Skip to content

Commit f05a699

Browse files
committed
width
1 parent b1acfef commit f05a699

File tree

1 file changed

+25
-27
lines changed

1 file changed

+25
-27
lines changed

LongevityWorldCup.Website/wwwroot/index.html

+25-27
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@
144144
.section-container input[type="email"] {
145145
padding: 0.6rem 1rem;
146146
width: 250px;
147+
max-width: 350px;
147148
border-radius: 25px;
148149
border: 1px solid var(--primary-color);
149150
margin-right: 1rem;
@@ -160,6 +161,7 @@
160161
border-radius: 25px;
161162
cursor: pointer;
162163
transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
164+
max-width: 350px;
163165
}
164166

165167
.section-container button:hover {
@@ -196,26 +198,6 @@
196198
align-items: center;
197199
}
198200

199-
/* Adjust spacing for mobile */
200-
@media (max-width: 768px) {
201-
.section-container {
202-
padding: 1.5rem;
203-
}
204-
205-
.section-container input[type="email"] {
206-
width: 100%;
207-
margin: 0 0 1rem 0;
208-
}
209-
210-
#newsletter-form {
211-
flex-direction: column;
212-
}
213-
214-
.section-container button {
215-
width: 100%;
216-
}
217-
}
218-
219201
/* Styles for the copy button */
220202
.copy-btn {
221203
background: none;
@@ -376,6 +358,29 @@
376358
font-size: 1.2rem;
377359
margin: 0;
378360
}
361+
362+
#countdown {
363+
font-size: 1.5rem;
364+
}
365+
366+
.section-container {
367+
padding: 1.5rem;
368+
}
369+
370+
.section-container input[type="email"] {
371+
width: 100%;
372+
margin: 0 0 1rem 0;
373+
}
374+
375+
.section-container button {
376+
flex-direction: column;
377+
width: 100%;
378+
}
379+
380+
#newsletter-form {
381+
flex-direction: column;
382+
width: 100%; /* Ensure the container doesn't cause layout issues */
383+
}
379384
}
380385

381386
/* Countdown Section Styles */
@@ -408,13 +413,6 @@
408413
color: var(--dark-text-color);
409414
line-height: 1.6;
410415
}
411-
412-
/* Responsive adjustments for countdown */
413-
@media (max-width: 768px) {
414-
#countdown {
415-
font-size: 1.5rem;
416-
}
417-
}
418416
</style>
419417
</head>
420418
<body>

0 commit comments

Comments
 (0)