mengubah gambar museum,qubu-resort,hero,taman-digulis,mujahidin menjadi format webp

This commit is contained in:
tistopandita
2026-06-04 20:13:56 +07:00
parent 4853d1f7dd
commit 066f47dd48
7 changed files with 2001 additions and 2669 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 548 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 347 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 919 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 844 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 523 KiB

File diff suppressed because it is too large Load Diff
+84 -36
View File
@@ -10,17 +10,20 @@
* {
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
}
body {
font-family: "Roboto", Arial, sans-serif;
color: var(--text-main);
background: #fff;
line-height: 1.6;
}
.container {
width: min(1100px, 92%);
margin-inline: auto;
@@ -32,6 +35,7 @@ body {
border-bottom: 4px solid var(--brand-yellow);
padding: 14px 0;
}
.brand {
font-size: 1.1rem;
font-weight: 700;
@@ -46,6 +50,7 @@ body {
align-items: flex-end;
overflow: hidden;
}
.hero-bg {
position: absolute;
inset: 0;
@@ -54,11 +59,13 @@ body {
object-fit: cover;
filter: brightness(0.45);
}
.hero-inner {
position: relative;
z-index: 1;
padding: 36px 0;
}
.badge {
display: inline-block;
background: var(--brand-yellow);
@@ -70,6 +77,7 @@ body {
padding: 0.2rem 0.45rem;
margin-bottom: 12px;
}
.hero h1 {
margin: 0;
font-size: clamp(1.6rem, 3.2vw, 2.8rem);
@@ -82,6 +90,7 @@ body {
gap: 2rem;
padding: 2rem 0 4rem;
}
@media (min-width: 1024px) {
.layout {
grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
@@ -97,48 +106,58 @@ body {
gap: 0.75rem 1rem;
margin-bottom: 1rem;
}
.cover {
background: var(--bg-soft);
border: 1px solid var(--line);
margin-bottom: 1.5rem;
}
.cover img {
width: 100%;
height: auto;
display: block;
}
.article-body > * + * {
.article-body>*+* {
margin-top: 1.1em;
}
.article-body h2 {
font-size: 1.35rem;
margin: 1.6em 0 0.5em;
}
.article-body h3 {
font-size: 1.1rem;
margin: 1.4em 0 0.4em;
}
.article-body p {
margin: 0 0 1em;
}
.article-body ul,
.article-body ol {
padding-left: 1.4rem;
}
.article-body blockquote {
border-left: 4px solid #005eb8;
background: #eef6ff;
padding: 0.8rem 1rem;
color: #334155;
}
.article-body a {
color: #005eb8;
}
.article-body img {
max-width: 100%;
border-radius: 8px;
}
.article-body code {
background: #f1f5f9;
padding: 0.1em 0.35em;
@@ -151,6 +170,7 @@ body {
background: var(--bg-soft);
padding: 1rem;
}
.note h3 {
margin: 0 0 0.5rem;
font-size: 0.76rem;
@@ -165,6 +185,7 @@ body {
color: #fff;
border-top: 4px solid var(--brand-yellow);
}
.footer-inner {
display: flex;
align-items: center;
@@ -172,10 +193,12 @@ body {
gap: 0.75rem;
padding: 1rem 0;
}
.footer-logo {
height: 28px;
width: auto;
}
.footer-ornament {
width: 100%;
display: block;
@@ -264,7 +287,7 @@ body {
justify-content: center;
gap: 8px;
height: 40dvh;
background-image: url("images/hero.png");
background-image: url("images/hero.webp");
background-size: cover;
background-position: center;
padding-left: 16px;
@@ -276,12 +299,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 */
@@ -403,7 +424,7 @@ body {
font-size: 0.75rem;
font-weight: 500;
p + p {
p+p {
margin-top: 8px;
}
}
@@ -469,10 +490,12 @@ body {
.about-title {
font-size: 2.25rem;
}
.about-description {
font-size: 0.875rem;
line-height: 24px;
}
.about-link {
gap: 4px;
font-size: 0.875rem;
@@ -494,6 +517,7 @@ body {
.about-title {
font-size: 3rem;
}
.about-description {
font-size: 1.125rem;
line-height: 32px;
@@ -534,7 +558,8 @@ body {
0 10px 15px -3px rgba(0, 0, 0, 0.1),
0 4px 6px -2px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
overflow: hidden; /* Mengunci gambar agar ujung atasnya ikut melengkung */
overflow: hidden;
/* Mengunci gambar agar ujung atasnya ikut melengkung */
&:hover {
transform: scale(1.02);
@@ -593,10 +618,13 @@ body {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 24px;
}
.facility-card .card-body {
padding: 20px 16px;
.card-icon-badge {
padding: 8px;
.card-icon {
width: 20px;
height: 20px;
@@ -611,6 +639,7 @@ body {
.facilities-title {
font-size: 1.25rem;
}
.facilities-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 32px;
@@ -634,8 +663,10 @@ body {
.facility-card {
.card-body {
padding: 24px 20px;
.card-icon-badge {
padding: 12px;
.card-icon {
width: 24px;
height: 24px;
@@ -819,6 +850,7 @@ body {
.campus-title {
font-size: 1.875rem;
}
.campus-subtitle {
line-height: 24px;
}
@@ -826,6 +858,7 @@ body {
.campus-layout {
gap: 48px;
}
.category-list-container {
width: 30%;
}
@@ -833,6 +866,7 @@ body {
.category-list-container .category-btn {
padding: 16px;
font-size: 1rem;
.btn-icon {
width: 20px;
height: 20px;
@@ -841,9 +875,11 @@ body {
.directory-list-container .directory-card {
gap: 16px;
.card-info h4 {
font-size: 1.125rem;
}
.directory-card .card-info p {
font-size: 0.875rem;
}
@@ -857,6 +893,7 @@ body {
.campus-title {
font-size: 2.25rem;
}
.campus-subtitle {
font-size: 0.875rem;
line-height: 24px;
@@ -866,14 +903,18 @@ body {
width: 28px;
height: 28px;
}
.directory-list-container {
.directory-card {
padding: 16px;
.card-info {
gap: 8px;
h4 {
font-size: 1.25rem;
}
p {
font-size: 1rem;
}
@@ -886,6 +927,7 @@ body {
.campus-title {
font-size: 3rem;
}
.campus-subtitle {
font-size: 1.125rem;
line-height: 32px;
@@ -900,7 +942,7 @@ body {
justify-content: center;
gap: 8px;
height: 40dvh;
background-image: url("images/taman-digulis.png");
background-image: url("images/taman-digulis.webp");
background-size: cover;
background-position: center;
padding-left: 16px;
@@ -911,12 +953,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;
}
@@ -955,6 +995,7 @@ body {
.pontianak-content {
left: 48px;
right: 48px;
.pontianak-desc {
font-size: 0.875rem;
}
@@ -970,10 +1011,12 @@ body {
.pontianak-content {
left: 64px;
right: 64px;
.pontianak-title {
font-size: 2.25rem;
line-height: 2.5rem;
}
.pontianak-desc {
font-size: 1rem;
line-height: 1.5rem;
@@ -1051,12 +1094,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;
}
@@ -1093,6 +1134,7 @@ body {
.destination-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.destination-card .card-content .card-desc {
font-size: 0.875rem;
}
@@ -1108,6 +1150,7 @@ body {
.destination-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.destination-card .card-content .card-name {
font-size: 1.25rem;
}
@@ -1200,7 +1243,8 @@ body {
.culinary-card {
display: flex;
flex-direction: column;
gap: 8px; /* gap-2 */
gap: 8px;
/* gap-2 */
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
border-radius: 12px;
background-color: #ffffff;
@@ -1248,6 +1292,7 @@ body {
.culinary-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.culinary-card .card-body p {
font-size: 0.875rem;
}
@@ -1259,6 +1304,7 @@ body {
.culinary-title {
font-size: 1.875rem;
}
.culinary-card .card-body h3 {
font-size: 1.25rem;
}
@@ -1271,6 +1317,7 @@ body {
.culinary-title {
font-size: 2.25rem;
}
.culinary-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
@@ -1304,12 +1351,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%);
}
}
@@ -1399,9 +1444,11 @@ body {
.cost-type {
font-size: 0.875rem;
}
.cost-price {
font-size: 1rem;
}
.cost-period {
font-size: 1rem;
}
@@ -1421,12 +1468,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%);
}
}
@@ -1441,6 +1486,7 @@ body {
.cost-cards-grid {
width: fit-content;
}
.cost-item-card {
flex: none;
width: 130px;
@@ -1457,6 +1503,7 @@ body {
.cost-title {
font-size: 2.25rem;
}
.cost-desc {
font-size: 0.875rem;
line-height: 24px;
@@ -1469,6 +1516,7 @@ body {
.cost-title {
font-size: 3rem;
}
.cost-desc {
font-size: 1.125rem;
line-height: 32px;