diff --git a/src/components/Family/Family.astro b/src/components/Family/Family.astro index 84d1474..ba5c4b7 100644 --- a/src/components/Family/Family.astro +++ b/src/components/Family/Family.astro @@ -8,6 +8,7 @@ import family3 from '../../assets/images/family/family_3.png';

UP IECEP Family

+
@@ -18,9 +19,13 @@ import family3 from '../../assets/images/family/family_3.png';
+
-

Executive Committee →

+
+

Executive Committee

+ View roster +

Executive Committee

@@ -28,6 +33,7 @@ import family3 from '../../assets/images/family/family_3.png';
+
@@ -38,9 +44,13 @@ import family3 from '../../assets/images/family/family_3.png';
+
-

Current Members →

+
+

Current Members

+ View list +

Current Members

@@ -48,6 +58,7 @@ import family3 from '../../assets/images/family/family_3.png';
+
@@ -58,9 +69,13 @@ import family3 from '../../assets/images/family/family_3.png';
+
-

Notable Members →

+
+

Notable Members

+ View profiles +

Notable Members

diff --git a/src/components/Family/family.scss b/src/components/Family/family.scss index 1c2534a..ce991d8 100644 --- a/src/components/Family/family.scss +++ b/src/components/Family/family.scss @@ -29,9 +29,9 @@ position: relative; img { width: 100%; - height: 100%; + height: 100%; object-fit: cover; - display: block; + display: block; } .image-panel-popup { @@ -73,8 +73,15 @@ z-index: 2; cursor: pointer; transition: all 0.3s ease-in-out; + + .title-group { + width: 100%; + text-align: center; + } + h3 { width: calc(3 / 4 * 100%); + margin: 0 auto; /* Added to keep it centered inside title-group */ text-align: center; color: $text-light; text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5); @@ -83,6 +90,21 @@ letter-spacing: 0.0525rem; } + .action-hint { + display: block; + font-size: 0.85rem; + font-weight: 600; + text-transform: uppercase; + letter-spacing: 0.1rem; + margin-top: 0.5rem; + opacity: 0.9; + color: $text-light; + border-bottom: 1px solid rgba(255, 255, 255, 0.4); + padding-bottom: 2px; + margin-inline: auto; + width: max-content; + } + &:hover { opacity: 0; } @@ -130,6 +152,9 @@ h3 { font-size: 1.75rem; } + .action-hint { + font-size: 0.75rem; /* Slightly smaller hint on tablets */ + } } .under { width: 90%; @@ -153,6 +178,9 @@ h3 { font-size: 1rem; } + .action-hint { + font-size: 0.6rem; + } } .under { width: 90%; @@ -245,4 +273,4 @@ } } } -} +} \ No newline at end of file