Skip to content

Commit d625932

Browse files
author
TechStack Global
committed
style: elevate read review link to a clear premium button and fix card height to prevent cutoff
1 parent 198b59f commit d625932

1 file changed

Lines changed: 34 additions & 11 deletions

File tree

index.html

Lines changed: 34 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ <h1>Make Smarter <br /><span class="gradient-text">Tech Decisions.</span>
123123
.swiper-card-effect {
124124
width: 100%;
125125
max-width: 340px;
126-
height: 480px;
126+
height: 520px;
127+
/* Increased to comfortably fit the read review button */
127128
padding: 30px 0;
128129
overflow: visible;
129130
}
@@ -172,6 +173,28 @@ <h1>Make Smarter <br /><span class="gradient-text">Tech Decisions.</span>
172173
margin-bottom: auto;
173174
}
174175

176+
/* New Distinct Button Style */
177+
.hero-read-btn {
178+
display: flex;
179+
align-items: center;
180+
justify-content: space-between;
181+
margin-top: 1.25rem;
182+
padding: 0.85rem 1.25rem;
183+
background: rgba(255, 255, 255, 0.05);
184+
border: 1px solid var(--border-glass, rgba(255, 255, 255, 0.1));
185+
border-radius: 8px;
186+
color: var(--accent, #38bdf8);
187+
font-weight: 600;
188+
text-decoration: none;
189+
transition: 0.2s;
190+
}
191+
192+
.hero-read-btn:hover {
193+
background: rgba(255, 255, 255, 0.1);
194+
color: #fff;
195+
border-color: rgba(255, 255, 255, 0.2);
196+
}
197+
175198
/* Custom Navigation Styles floating outside the slides */
176199
.swiper-btn-next,
177200
.swiper-btn-prev {
@@ -238,7 +261,7 @@ <h1>Make Smarter <br /><span class="gradient-text">Tech Decisions.</span>
238261
/* Mobile Responsiveness */
239262
@media (max-width: 767px) {
240263
.swiper-card-effect {
241-
height: 380px;
264+
height: 420px;
242265
max-width: 280px;
243266
padding: 20px 0;
244267
}
@@ -284,9 +307,9 @@ <h1>Make Smarter <br /><span class="gradient-text">Tech Decisions.</span>
284307
<img src="posts/images/sony-wh-1000xm5-front.jpg" alt="Sony WH-1000XM5" loading="lazy">
285308
<h3>Sony WH-1000XM5</h3>
286309
<p>Top-tier active noise cancellation and supreme all-day comfort for deep focus sessions.</p>
287-
<a class="read-more" href="posts/sony-wh-1000xm5-review.html"
288-
style="font-weight: 700; display:inline-block; margin-top: 1rem;">Read Review <i
289-
class="fa-solid fa-arrow-right" style="margin-left: 5px;"></i></a>
310+
<a class="hero-read-btn" href="posts/sony-wh-1000xm5-review.html">
311+
Read Review <i class="fa-solid fa-arrow-right"></i>
312+
</a>
290313
</div>
291314

292315
<!-- Card 1: Shure -->
@@ -298,9 +321,9 @@ <h3>Sony WH-1000XM5</h3>
298321
<img src="posts/images/shure-sm7db-primary.jpg" alt="Shure SM7dB Microphone" loading="lazy">
299322
<h3>Shure SM7dB</h3>
300323
<p>The industry standard podcast microphone, now powered with a built-in clean preamp.</p>
301-
<a class="read-more" href="posts/shure-sm7db-review.html"
302-
style="font-weight: 700; display:inline-block; margin-top: 1rem;">Read Review <i
303-
class="fa-solid fa-arrow-right" style="margin-left: 5px;"></i></a>
324+
<a class="hero-read-btn" href="posts/shure-sm7db-review.html">
325+
Read Review <i class="fa-solid fa-arrow-right"></i>
326+
</a>
304327
</div>
305328

306329
<!-- Card 2: Alienware -->
@@ -312,9 +335,9 @@ <h3>Shure SM7dB</h3>
312335
<img src="posts/images/alienware-aw3423dwf-front.jpg" alt="Alienware AW3423DWF" loading="lazy">
313336
<h3>Alienware AW3423DWF</h3>
314337
<p>Stunning QD-OLED ultrawide performance delivering flawless visual immersion.</p>
315-
<a class="read-more" href="posts/alienware-aw3423dwf-review.html"
316-
style="font-weight: 700; display:inline-block; margin-top: 1rem;">Read Review <i
317-
class="fa-solid fa-arrow-right" style="margin-left: 5px;"></i></a>
338+
<a class="hero-read-btn" href="posts/alienware-aw3423dwf-review.html">
339+
Read Review <i class="fa-solid fa-arrow-right"></i>
340+
</a>
318341
</div>
319342
</div>
320343
<!-- Clean Pagination Dots -->

0 commit comments

Comments
 (0)