Skip to content

Commit f1f32bc

Browse files
committed
refactor(supported): new DA for What you can host for free section
- Remove card backgrounds/borders, use transparent cards with dashed separators - Add vertical dashed separators between cards and between marquee tracks - Add horizontal dashed separator between two marquee rows - Add hover background fill effect via ::after pseudo-element - Remove section title and reduce section padding to 0
1 parent 96387a8 commit f1f32bc

2 files changed

Lines changed: 110 additions & 7 deletions

File tree

site/index.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,6 @@ <h1 class="hero-title">
316316
<!-- ===== SUPPORTED TECH ===== -->
317317
<section class="section supported" id="supported">
318318
<div class="container">
319-
<div class="section-header">
320-
<h2 class="section-title">What you can<br /><span class="gradient-text">host for free</span></h2>
321-
</div>
322319

323320
<div class="tech-marquee">
324321
<div class="tech-marquee__row tech-marquee__row--left">

site/style.css

Lines changed: 110 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ body {
7979
padding: 100px 0;
8080
}
8181

82+
section.supported {
83+
padding: 0;
84+
}
85+
8286
/* --- Noise texture overlay (full page) --- */
8387
body::after {
8488
content: '';
@@ -691,11 +695,24 @@ body::after {
691695
width: calc(100% + 96px);
692696
margin-left: -48px;
693697
overflow: hidden;
698+
position: relative;
699+
}
700+
701+
.tech-marquee::after {
702+
content: '';
703+
position: absolute;
704+
top: 50%;
705+
left: 0;
706+
right: 0;
707+
height: 0;
708+
border-top: 1px dashed rgba(238, 129, 50, 0.15);
709+
z-index: 1;
694710
}
695711

696712
.tech-marquee__row {
697713
display: flex;
698714
width: max-content;
715+
position: relative;
699716
}
700717

701718
.tech-marquee__row--left .tech-marquee__track {
@@ -714,6 +731,25 @@ body::after {
714731
display: flex;
715732
gap: 20px;
716733
padding: 0 10px;
734+
position: relative;
735+
}
736+
737+
.tech-marquee__track + .tech-marquee__track::before {
738+
content: '';
739+
position: absolute;
740+
left: 0;
741+
width: 0;
742+
border-left: 1px dashed rgba(238, 129, 50, 0.15);
743+
}
744+
745+
.tech-marquee__row--left .tech-marquee__track + .tech-marquee__track::before {
746+
top: 0;
747+
bottom: -10px;
748+
}
749+
750+
.tech-marquee__row--right .tech-marquee__track + .tech-marquee__track::before {
751+
top: -10px;
752+
bottom: 0;
717753
}
718754

719755
@keyframes marquee-left {
@@ -772,6 +808,76 @@ body::after {
772808
.tech-card:hover::before { opacity: 1; }
773809
.tech-card:hover::after { transform: scaleX(1); }
774810

811+
/* --- SUPPORTED SECTION OVERRIDE (no cards, dashed separators) --- */
812+
.supported .tech-card {
813+
background: transparent;
814+
border: none;
815+
border-radius: 0;
816+
padding: 22px 32px;
817+
min-width: 280px;
818+
max-width: 320px;
819+
position: relative;
820+
display: flex;
821+
flex-direction: column;
822+
align-items: flex-start;
823+
overflow: visible;
824+
backdrop-filter: none;
825+
-webkit-backdrop-filter: none;
826+
}
827+
828+
.supported .tech-card::before,
829+
.supported .tech-card::after {
830+
display: none;
831+
}
832+
833+
.supported .tech-card::after {
834+
content: '';
835+
position: absolute;
836+
z-index: -1;
837+
pointer-events: none;
838+
background: transparent;
839+
transition: background var(--transition);
840+
display: block;
841+
}
842+
843+
.supported .tech-marquee__row--left .tech-card::after {
844+
inset: 0 -20px -10px 0;
845+
}
846+
847+
.supported .tech-marquee__row--right .tech-card::after {
848+
inset: -10px -20px 0 0;
849+
}
850+
851+
.supported .tech-card:hover::after {
852+
background: rgba(41, 37, 36, 0.7);
853+
}
854+
855+
.supported .tech-card:hover {
856+
transform: none;
857+
}
858+
859+
.supported .tech-card + .tech-card::before {
860+
content: '';
861+
position: absolute;
862+
left: 0;
863+
width: 0;
864+
border-left: 1px dashed rgba(238, 129, 50, 0.15);
865+
display: block;
866+
background: none;
867+
opacity: 1;
868+
transform: none;
869+
}
870+
871+
.supported .tech-marquee__row--left .tech-card + .tech-card::before {
872+
top: 0;
873+
bottom: -10px;
874+
}
875+
876+
.supported .tech-marquee__row--right .tech-card + .tech-card::before {
877+
top: -10px;
878+
bottom: 0;
879+
}
880+
775881
.tech-icon {
776882
width: 56px;
777883
height: 56px;
@@ -783,7 +889,7 @@ body::after {
783889
transition: transform var(--transition);
784890
}
785891

786-
.tech-card:hover .tech-icon { transform: scale(1.1) rotate(-3deg); }
892+
.tech-card:hover .tech-icon { }
787893

788894
.tech-icon--green { background: rgba(60, 135, 58, 0.15); }
789895
.tech-icon--blue { background: rgba(53, 114, 165, 0.15); }
@@ -819,9 +925,9 @@ body::after {
819925
}
820926

821927
.tech-card--more {
822-
border-style: dashed;
823-
border-color: rgba(238, 129, 50, 0.2);
824-
background: rgba(28, 25, 23, 0.5);
928+
border: 1px dashed rgba(238, 129, 50, 0.2);
929+
border-radius: var(--radius-lg);
930+
background: rgba(28, 25, 23, 0.3);
825931
}
826932

827933
/* Mono-to-color on hover for supported tech */

0 commit comments

Comments
 (0)