From b856dce066bdaeb630c210df760cd906c17d74c6 Mon Sep 17 00:00:00 2001 From: tistopandita Date: Fri, 5 Jun 2026 13:09:29 +0700 Subject: [PATCH] feat: add animation --- groups/HarusSelesaiKP/index.html | 57 ++++++++++++------ groups/HarusSelesaiKP/style.css | 99 +++++++++++++++++++++----------- 2 files changed, 103 insertions(+), 53 deletions(-) diff --git a/groups/HarusSelesaiKP/index.html b/groups/HarusSelesaiKP/index.html index 59b290a..fca9456 100644 --- a/groups/HarusSelesaiKP/index.html +++ b/groups/HarusSelesaiKP/index.html @@ -1277,13 +1277,12 @@
-

+

Study at Universitas Tanjungpura Pontianak

-

-

+

Kuliah di kampus unggulan Kalimantan Barat dengan fasilitas lengkap, lingkungan nyaman dan kehidupan mahasiswa yang terjangkau

@@ -1291,12 +1290,12 @@
-
- +
-
+
Tentang Untan

@@ -1337,7 +1336,7 @@
Fasilitas Kampus -

+

Fasilitas Kampus untuk Pengalaman Belajar yang Nyaman

@@ -1348,10 +1347,10 @@
Kehidupan Kampus -

+

Aktivitas Mahasiswa & Organisasi Kampus

-

+

Mahasiswa UNTAN memiliki berbagai kesempatan untuk berkembang melalui organisasi, UKM, komunitas, dan kegiatan ekstrakurikuler.

@@ -1367,8 +1366,8 @@
-
- Kota Pontianak +
Kota Pontianak

Live In Pontianak

@@ -1387,7 +1386,7 @@
Wisata & Destinasi -

+

Tempat Menarik di Pontianak

@@ -1400,7 +1399,7 @@
Cafe & Kuliner -

+

Kuliner dan Coffee Shop Favorit Mahasiswa


@@ -1417,7 +1416,7 @@
-
+
Biaya Hidup Mahasiswa

@@ -1715,7 +1714,7 @@ typeof skpT === "function" ? skpT(item.descKey) : item.descKey; cardsHtmlHTML += ` -
+
${displayTitle}
@@ -1855,7 +1854,7 @@ typeof skpT === "function" ? skpT(dir.descKey) : dir.descKey; return ` -
+
${displayTitle}
@@ -1991,7 +1990,7 @@ typeof skpT === "function" ? skpT(dest.descKey) : dest.descKey; return ` -
+

${displayName}

@@ -2144,7 +2143,7 @@ typeof skpT === "function" ? skpT(item.descKey) : item.descKey; return ` -
+
${item.name}

${item.name}

@@ -2209,7 +2208,7 @@ typeof skpT === "function" ? skpT("skp_cost_period") : "per bulan"; return ` -
+
${detail.iconSvg}

${displayType}

Rp ${detail.price}

@@ -2226,6 +2225,26 @@ renderLivingCostCards(); }); + \ No newline at end of file diff --git a/groups/HarusSelesaiKP/style.css b/groups/HarusSelesaiKP/style.css index b197fba..ee1a8d7 100644 --- a/groups/HarusSelesaiKP/style.css +++ b/groups/HarusSelesaiKP/style.css @@ -119,7 +119,7 @@ body { display: block; } -.article-body > * + * { +.article-body>*+* { margin-top: 1.1em; } @@ -300,12 +300,10 @@ body { position: absolute; inset: 0; z-index: 1; - background: linear-gradient( - 270deg, - rgba(0, 0, 0, 0) 21.76%, - rgba(0, 0, 0, 0.4) 63.31%, - rgba(0, 49, 80, 0.72) 78.24% - ); + background: linear-gradient(270deg, + rgba(0, 0, 0, 0) 21.76%, + rgba(0, 0, 0, 0.4) 63.31%, + rgba(0, 49, 80, 0.72) 78.24%); } /* Judul Hero */ @@ -427,7 +425,7 @@ body { font-size: 8px; font-weight: 500; - p + p { + p+p { margin-top: 8px; } } @@ -984,12 +982,10 @@ body { .pontianak-overlay { position: absolute; inset: 0; - background: linear-gradient( - 0deg, - rgba(0, 0, 0, 0.9) -14.48%, - rgba(0, 0, 0, 0.4) 42.76%, - rgba(0, 0, 0, 0) 100% - ); + background: linear-gradient(0deg, + rgba(0, 0, 0, 0.9) -14.48%, + rgba(0, 0, 0, 0.4) 42.76%, + rgba(0, 0, 0, 0) 100%); z-index: 1; } @@ -1132,12 +1128,10 @@ body { .card-overlay { position: absolute; inset: 0; - background: linear-gradient( - 0deg, - rgba(0, 0, 0, 0.8) 0%, - rgba(0, 0, 0, 0.2) 50%, - rgba(0, 0, 0, 0) 100% - ); + background: linear-gradient(0deg, + rgba(0, 0, 0, 0.8) 0%, + rgba(0, 0, 0, 0.2) 50%, + rgba(0, 0, 0, 0) 100%); z-index: 1; } @@ -1406,12 +1400,10 @@ body { .cost-banner-overlay { position: absolute; inset: 0; - background: linear-gradient( - 0deg, - #012338 0%, - rgba(1, 35, 56, 0.4) 55%, - rgba(1, 35, 56, 0) 100% - ); + background: linear-gradient(0deg, + #012338 0%, + rgba(1, 35, 56, 0.4) 55%, + rgba(1, 35, 56, 0) 100%); } } @@ -1534,12 +1526,10 @@ body { /* Perubahan Arah Gradasi: Mengabur ke arah kiri panel Navy */ .cost-banner-overlay { - background: linear-gradient( - 270deg, - #012338 0%, - rgba(0, 0, 0, 0.4) 65%, - rgba(0, 0, 0, 0) 78% - ); + background: linear-gradient(270deg, + #012338 0%, + rgba(0, 0, 0, 0.4) 65%, + rgba(0, 0, 0, 0) 78%); } } @@ -1634,13 +1624,13 @@ body.lang-pending { will-change: box-shadow; } -#nav-wrapper > div:first-child { +#nav-wrapper>div:first-child { transform: translateZ(0); -webkit-transform: translateZ(0); } @media (max-width: 1023px) { - #nav-wrapper > div:first-child { + #nav-wrapper>div:first-child { min-height: 0 !important; max-height: none; } @@ -1658,6 +1648,7 @@ body.lang-pending { } @media (prefers-reduced-motion: reduce) { + *, *::before, *::after { @@ -1832,6 +1823,7 @@ body.lang-pending { } @keyframes lucoPulse { + 0%, 100% { transform: scale(1); @@ -1878,6 +1870,7 @@ body.lang-pending { } @keyframes bounce { + 0%, 80%, 100% { @@ -1901,3 +1894,41 @@ body.lang-pending { border-right: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; } + +/* ===== PAGE LOAD ANIMATIONS ===== */ +@keyframes fadeInUplarge { + from { + opacity: 0; + transform: translateY(30px); + } + + to { + opacity: 1; + transform: translateY(0); + } +} + +@keyframes fadeIn { + from { + opacity: 0; + } + + to { + opacity: 1; + } +} + +/* Hero */ + +.reveal { + opacity: 0; + transform: translateY(50px); + transition: + opacity 0.8s ease, + transform 0.8s ease; +} + +.reveal.active { + opacity: 1; + transform: translateY(0); +} \ No newline at end of file -- 2.52.0