forked from izu/student-web-if-development-kit
1526 lines
24 KiB
CSS
1526 lines
24 KiB
CSS
:root {
|
|
--brand-navy: #003150;
|
|
--brand-yellow: #feb401;
|
|
--text-main: #1e293b;
|
|
--text-soft: #64748b;
|
|
--bg-soft: #f8fafc;
|
|
--line: #e2e8f0;
|
|
}
|
|
|
|
* {
|
|
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;
|
|
}
|
|
|
|
.nav {
|
|
background: var(--brand-navy);
|
|
color: #fff;
|
|
border-bottom: 4px solid var(--brand-yellow);
|
|
padding: 14px 0;
|
|
}
|
|
|
|
.brand {
|
|
font-size: 1.1rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.hero {
|
|
position: relative;
|
|
color: #fff;
|
|
min-height: 220px;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hero-bg {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
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);
|
|
color: #111827;
|
|
font-size: 0.68rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.14em;
|
|
text-transform: uppercase;
|
|
padding: 0.2rem 0.45rem;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.hero h1 {
|
|
margin: 0;
|
|
font-size: clamp(1.6rem, 3.2vw, 2.8rem);
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.layout {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 2rem;
|
|
padding: 2rem 0 4rem;
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.layout {
|
|
grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
|
|
}
|
|
}
|
|
|
|
.meta {
|
|
font-size: 0.78rem;
|
|
text-transform: uppercase;
|
|
color: #475569;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
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>*+* {
|
|
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;
|
|
border-radius: 4px;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
}
|
|
|
|
.note {
|
|
border: 1px solid var(--line);
|
|
background: var(--bg-soft);
|
|
padding: 1rem;
|
|
}
|
|
|
|
.note h3 {
|
|
margin: 0 0 0.5rem;
|
|
font-size: 0.76rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.12em;
|
|
color: #475569;
|
|
}
|
|
|
|
.footer {
|
|
margin-top: 2rem;
|
|
background: var(--brand-navy);
|
|
color: #fff;
|
|
border-top: 4px solid var(--brand-yellow);
|
|
}
|
|
|
|
.footer-inner {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.75rem;
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
.footer-logo {
|
|
height: 28px;
|
|
width: auto;
|
|
}
|
|
|
|
.footer-ornament {
|
|
width: 100%;
|
|
display: block;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.study-at-untan {
|
|
font-family: "Inter", sans-serif;
|
|
}
|
|
|
|
/* CSS Kelompok HarusSelesaiKP */
|
|
|
|
/* Component Styling */
|
|
.eyebrow-component {
|
|
position: relative;
|
|
height: fit-content;
|
|
padding-left: 16px;
|
|
font-size: 7px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
color: var(--brand-yellow);
|
|
/* color: #ca8a04; */
|
|
|
|
&::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 0;
|
|
width: 12px;
|
|
height: 2px;
|
|
transform: translateY(-50%);
|
|
background-color: var(--brand-yellow);
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
padding-left: 32px;
|
|
font-size: 1rem;
|
|
|
|
&::before {
|
|
width: 20px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.map-button-component {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px;
|
|
background-color: #ffffff;
|
|
color: #1f2937;
|
|
border-radius: 8px;
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
font-size: 0.75rem;
|
|
width: fit-content;
|
|
transition: background-color 0.2s ease;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
|
|
|
&:hover {
|
|
background-color: #f3f4f6;
|
|
}
|
|
|
|
.map-icon {
|
|
width: 16px;
|
|
height: 16px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
font-size: 0.875rem;
|
|
}
|
|
}
|
|
|
|
/* Section Styling */
|
|
|
|
.hero-section {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
height: 40dvh;
|
|
background-image: url("images/hero.webp");
|
|
background-size: cover;
|
|
background-position: center;
|
|
padding-left: 16px;
|
|
padding-right: 16px;
|
|
color: #ffffff;
|
|
|
|
/* Overlay Gradasi */
|
|
.hero-overlay {
|
|
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%);
|
|
}
|
|
|
|
/* Judul Hero */
|
|
.hero-title {
|
|
position: relative;
|
|
z-index: 2;
|
|
max-width: 8ch;
|
|
font-size: 1.25rem;
|
|
font-weight: 900;
|
|
|
|
.highlight-text {
|
|
color: var(--brand-yellow);
|
|
}
|
|
}
|
|
|
|
/* Deskripsi Hero */
|
|
.hero-description {
|
|
position: relative;
|
|
z-index: 2;
|
|
max-width: 40ch;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Small Devices (sm: min-width 640px) */
|
|
@media (min-width: 640px) {
|
|
height: 50dvh;
|
|
gap: 16px;
|
|
padding-left: 48px;
|
|
padding-right: 48px;
|
|
|
|
.hero-title {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.hero-description {
|
|
font-size: 0.875rem;
|
|
}
|
|
}
|
|
|
|
/* Medium Devices (md: min-width 768px) */
|
|
@media (min-width: 768px) {
|
|
height: 80dvh;
|
|
gap: 24px;
|
|
padding-left: 64px;
|
|
padding-right: 64px;
|
|
|
|
.hero-title {
|
|
font-size: 2.25rem;
|
|
line-height: 2.5rem;
|
|
}
|
|
|
|
.hero-description {
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
|
|
/* Large Devices (lg: min-width 1024px) */
|
|
@media (min-width: 1024px) {
|
|
height: 80dvh;
|
|
padding-left: 96px;
|
|
padding-right: 96px;
|
|
|
|
.hero-title {
|
|
font-size: 3rem;
|
|
line-height: 3.5rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.about-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
padding: 20px 12px;
|
|
|
|
--box-size: 300px;
|
|
|
|
.about-image-wrapper {
|
|
position: relative;
|
|
width: var(--box-size);
|
|
height: var(--box-size);
|
|
|
|
.image-bg-decorator {
|
|
position: absolute;
|
|
right: -12px;
|
|
bottom: -12px;
|
|
width: var(--box-size);
|
|
height: var(--box-size);
|
|
background-color: #fff0cc;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.main-image {
|
|
position: relative;
|
|
z-index: 10;
|
|
width: var(--box-size);
|
|
height: var(--box-size);
|
|
background-image: url("images/untan.jpeg");
|
|
background-size: cover;
|
|
background-position: center;
|
|
}
|
|
}
|
|
|
|
.about-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
|
|
.about-title {
|
|
color: var(--brand-navy);
|
|
font-size: 1.25rem;
|
|
font-weight: 900;
|
|
letter-spacing: -0.05em;
|
|
}
|
|
|
|
.about-description {
|
|
color: var(--text-soft);
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
|
|
p+p {
|
|
margin-top: 8px;
|
|
}
|
|
}
|
|
|
|
.about-link {
|
|
display: flex;
|
|
width: fit-content;
|
|
align-items: center;
|
|
gap: 2px;
|
|
border-bottom: 2px solid var(--brand-yellow);
|
|
color: var(--brand-navy);
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
font-size: 0.75rem;
|
|
|
|
.link-icon {
|
|
margin-bottom: 2px;
|
|
transform: rotate(90deg);
|
|
width: 12px;
|
|
height: 12px;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
flex-direction: row;
|
|
gap: 32px;
|
|
padding: 32px;
|
|
--box-size: 240px;
|
|
|
|
.about-content {
|
|
.about-description {
|
|
line-height: 16px;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
padding: 48px 32px;
|
|
--box-size: 280px;
|
|
|
|
.about-content {
|
|
.about-description {
|
|
line-height: 24px;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
gap: 64px;
|
|
padding: 96px 64px;
|
|
--box-size: 400px;
|
|
|
|
.about-image-wrapper .image-bg-decorator {
|
|
right: -24px;
|
|
bottom: -24px;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.about-content {
|
|
gap: 24px;
|
|
|
|
.about-title {
|
|
font-size: 2.25rem;
|
|
}
|
|
|
|
.about-description {
|
|
font-size: 0.875rem;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.about-link {
|
|
gap: 4px;
|
|
font-size: 0.875rem;
|
|
|
|
.link-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1280px) {
|
|
--box-size: 600px;
|
|
|
|
.about-content {
|
|
gap: 32px;
|
|
|
|
.about-title {
|
|
font-size: 3rem;
|
|
}
|
|
|
|
.about-description {
|
|
font-size: 1.125rem;
|
|
line-height: 32px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.facilities-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 20px 12px;
|
|
|
|
.facilities-title {
|
|
color: var(--brand-navy, #0a192f);
|
|
text-align: center;
|
|
font-weight: 900;
|
|
letter-spacing: -0.05em;
|
|
font-size: 1.125rem;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
/* Layouting Grid Kartu */
|
|
.facilities-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
gap: 16px;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Komponen Kartu (Card) */
|
|
.facility-card {
|
|
background-color: #ffffff;
|
|
border-radius: 12px;
|
|
box-shadow:
|
|
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 */
|
|
|
|
&:hover {
|
|
transform: scale(1.02);
|
|
}
|
|
|
|
.card-image {
|
|
width: 100%;
|
|
aspect-ratio: 16 / 9;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.card-body {
|
|
position: relative;
|
|
padding: 12px 8px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
/* Lingkaran Badge Ikon floating */
|
|
.card-icon-badge {
|
|
position: absolute;
|
|
top: -20px;
|
|
right: 12px;
|
|
background-color: var(--brand-yellow);
|
|
border-radius: 9999px;
|
|
padding: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
.card-icon {
|
|
width: 12px;
|
|
height: 12px;
|
|
}
|
|
}
|
|
|
|
.card-title {
|
|
font-size: 0.875rem;
|
|
font-weight: 900;
|
|
color: var(--brand-navy);
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.card-desc {
|
|
font-size: 0.75rem;
|
|
color: var(--text-soft);
|
|
line-height: 1.25rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
padding: 32px;
|
|
|
|
.facilities-grid {
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
padding: 48px 32px;
|
|
|
|
.facilities-title {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.facilities-grid {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 32px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
gap: 32px;
|
|
padding: 96px 64px;
|
|
|
|
.facilities-title {
|
|
font-size: 2.25rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1280px) {
|
|
.facilities-title {
|
|
font-size: 3rem;
|
|
}
|
|
|
|
.facility-card {
|
|
.card-body {
|
|
padding: 24px 20px;
|
|
|
|
.card-icon-badge {
|
|
padding: 12px;
|
|
|
|
.card-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.card-title {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.card-desc {
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.campus-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 20px 12px;
|
|
|
|
.campus-title {
|
|
color: var(--brand-navy);
|
|
text-align: center;
|
|
font-weight: 900;
|
|
letter-spacing: -0.05em;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.campus-subtitle {
|
|
text-align: center;
|
|
font-size: 0.75rem;
|
|
color: var(--text-soft);
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
/* Layout Wrapper */
|
|
.campus-layout {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Styling Tombol Kategori (Kiri) */
|
|
.category-list-container {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 12px;
|
|
justify-content: center;
|
|
|
|
.category-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 8px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
background-color: oklch(0.965356 0.016359 274.8224);
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
font-weight: 600;
|
|
font-size: 0.75rem;
|
|
color: #000000;
|
|
|
|
/* Indikator Status Tombol saat Aktif */
|
|
&.active {
|
|
background-color: var(--brand-yellow);
|
|
color: #ffffff;
|
|
|
|
.btn-icon {
|
|
color: #ffffff;
|
|
}
|
|
}
|
|
|
|
&:hover:not(.active) {
|
|
background-color: var(--brand-yellow);
|
|
color: var(--brand-navy);
|
|
}
|
|
|
|
.btn-icon {
|
|
width: 12px;
|
|
height: 12px;
|
|
transition: color 0.3s;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* Styling Kartu Direktori (Kanan) */
|
|
.directory-list-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
flex: 1;
|
|
|
|
.directory-card {
|
|
display: flex;
|
|
gap: 8px;
|
|
background-color: oklch(0.9838 0.0079 286.25);
|
|
padding: 8px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
|
|
transition: all 0.3s ease;
|
|
|
|
&:hover {
|
|
transform: scale(1.02);
|
|
}
|
|
|
|
.img-wrapper {
|
|
width: 128px;
|
|
height: 128px;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 16px;
|
|
background-color: oklch(0.965356 0.016359 274.8224);
|
|
border-radius: 8px;
|
|
|
|
img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
}
|
|
|
|
.card-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
|
|
h4 {
|
|
font-weight: 900;
|
|
letter-spacing: -0.05em;
|
|
font-size: 1rem;
|
|
color: var(--brand-navy);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
p {
|
|
font-size: 0.75rem;
|
|
color: var(--text-soft);
|
|
line-height: 1.25rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
padding: 32px;
|
|
|
|
.campus-subtitle {
|
|
font-size: 0.75rem;
|
|
line-height: 16px;
|
|
}
|
|
|
|
.campus-layout {
|
|
flex-direction: row;
|
|
align-items: flex-start;
|
|
gap: 16px;
|
|
}
|
|
|
|
.category-list-container {
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.category-list-container .category-btn {
|
|
font-size: 0.875rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
padding: 48px 32px;
|
|
|
|
.campus-title {
|
|
font-size: 1.875rem;
|
|
}
|
|
|
|
.campus-subtitle {
|
|
line-height: 24px;
|
|
}
|
|
|
|
.campus-layout {
|
|
gap: 48px;
|
|
}
|
|
|
|
.category-list-container {
|
|
width: 30%;
|
|
}
|
|
|
|
.category-list-container .category-btn {
|
|
padding: 16px;
|
|
font-size: 1rem;
|
|
|
|
.btn-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
}
|
|
|
|
.directory-list-container .directory-card {
|
|
gap: 16px;
|
|
|
|
.card-info h4 {
|
|
font-size: 1.125rem;
|
|
}
|
|
|
|
.directory-card .card-info p {
|
|
font-size: 0.875rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
gap: 32px;
|
|
padding: 96px 64px;
|
|
|
|
.campus-title {
|
|
font-size: 2.25rem;
|
|
}
|
|
|
|
.campus-subtitle {
|
|
font-size: 0.875rem;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.category-list-container .category-btn .btn-icon {
|
|
width: 28px;
|
|
height: 28px;
|
|
}
|
|
|
|
.directory-list-container {
|
|
.directory-card {
|
|
padding: 16px;
|
|
|
|
.card-info {
|
|
gap: 8px;
|
|
|
|
h4 {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
p {
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1280px) {
|
|
.campus-title {
|
|
font-size: 3rem;
|
|
}
|
|
|
|
.campus-subtitle {
|
|
font-size: 1.125rem;
|
|
line-height: 32px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.pontianak-city-section {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
height: 40dvh;
|
|
background-image: url("images/taman-digulis.webp");
|
|
background-size: cover;
|
|
background-position: center;
|
|
padding-left: 16px;
|
|
padding-right: 16px;
|
|
color: #ffffff;
|
|
|
|
/* Overlay Hitam Gradasi */
|
|
.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%);
|
|
z-index: 1;
|
|
}
|
|
|
|
/* Wrapper Konten Teks */
|
|
.pontianak-content {
|
|
position: absolute;
|
|
bottom: 48px;
|
|
left: 16px;
|
|
right: 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
z-index: 2;
|
|
|
|
.pontianak-title {
|
|
font-weight: 900;
|
|
font-size: 2rem;
|
|
letter-spacing: -0.05em;
|
|
line-height: 2rem;
|
|
}
|
|
|
|
.pontianak-desc {
|
|
max-width: 65ch;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
line-height: 1.25rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
height: 50dvh;
|
|
gap: 16px;
|
|
padding-left: 48px;
|
|
padding-right: 48px;
|
|
|
|
.pontianak-content {
|
|
left: 48px;
|
|
right: 48px;
|
|
|
|
.pontianak-desc {
|
|
font-size: 0.875rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
height: 70dvh;
|
|
gap: 24px;
|
|
padding-left: 64px;
|
|
padding-right: 64px;
|
|
|
|
.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;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
height: 100dvh;
|
|
padding-left: 96px;
|
|
padding-right: 96px;
|
|
|
|
.pontianak-content {
|
|
bottom: 160px;
|
|
left: 96px;
|
|
right: 96px;
|
|
gap: 32px;
|
|
|
|
.pontianak-title {
|
|
font-size: 3.75rem;
|
|
line-height: 3.5rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1280px) {
|
|
.pontianak-content {
|
|
.pontianak-title {
|
|
font-size: 6rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.destination-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 20px 12px;
|
|
|
|
.destination-title {
|
|
color: var(--brand-navy);
|
|
text-align: center;
|
|
font-weight: 900;
|
|
letter-spacing: -0.05em;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.destination-divider {
|
|
border: none;
|
|
border-top: 4px solid var(--brand-yellow);
|
|
width: 40%;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
/* Layout Grid Destinasi */
|
|
.destination-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
gap: 24px;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Komponen Kartu Destinasi */
|
|
.destination-card {
|
|
position: relative;
|
|
background-size: cover;
|
|
background-position: center;
|
|
border-radius: 8px;
|
|
height: 450px;
|
|
overflow: hidden;
|
|
|
|
/* Gradasi Hitam di Atas Background */
|
|
.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%);
|
|
z-index: 1;
|
|
}
|
|
|
|
.card-content {
|
|
position: relative;
|
|
z-index: 10;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-end;
|
|
height: 100%;
|
|
gap: 8px;
|
|
padding: 16px;
|
|
padding-bottom: 32px;
|
|
max-width: 288px;
|
|
|
|
.card-name {
|
|
color: #ffffff;
|
|
font-weight: 900;
|
|
letter-spacing: -0.025em;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.card-desc {
|
|
color: #d1d5db;
|
|
font-size: 0.75rem;
|
|
line-height: 1.25rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
padding: 32px;
|
|
|
|
.destination-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.destination-card .card-content .card-desc {
|
|
font-size: 0.875rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
padding: 48px 32px;
|
|
|
|
.destination-title {
|
|
font-size: 1.875rem;
|
|
}
|
|
|
|
.destination-grid {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.destination-card .card-content .card-name {
|
|
font-size: 1.25rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
gap: 32px;
|
|
padding: 96px 64px;
|
|
|
|
.destination-title {
|
|
font-size: 2.25rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1280px) {
|
|
.destination-title {
|
|
font-size: 3rem;
|
|
}
|
|
|
|
.destination-grid {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
}
|
|
}
|
|
|
|
.culinary-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 20px 12px;
|
|
|
|
.culinary-title {
|
|
color: var(--brand-navy);
|
|
text-align: center;
|
|
font-weight: 900;
|
|
letter-spacing: -0.05em;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.culinary-divider {
|
|
border: none;
|
|
border-top: 4px solid var(--brand-yellow);
|
|
width: 40%;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
/* Container Filter Tabs */
|
|
.culinary-tabs-container {
|
|
display: flex;
|
|
gap: 16px;
|
|
justify-content: center;
|
|
width: 100%;
|
|
|
|
.culinary-tab-btn {
|
|
border: none;
|
|
border-radius: 8px;
|
|
padding: 12px 24px;
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
margin-bottom: 16px;
|
|
|
|
/* Default State (Tidak Aktif) */
|
|
background-color: #f3f4f6;
|
|
color: #111827;
|
|
|
|
&:hover:not(.active) {
|
|
background-color: #e5e7eb;
|
|
}
|
|
|
|
/* Active State */
|
|
&.active {
|
|
background-color: var(--brand-navy);
|
|
color: #ffffff;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* Grid Layout Kartu */
|
|
.culinary-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
gap: 24px;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Komponen Culinary Card */
|
|
.culinary-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
/* gap-2 */
|
|
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
|
|
border-radius: 12px;
|
|
background-color: #ffffff;
|
|
overflow: hidden;
|
|
|
|
.card-thumb {
|
|
width: 100%;
|
|
aspect-ratio: 16 / 9;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.card-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding: 8px 16px 16px 16px;
|
|
|
|
h3 {
|
|
font-weight: 900;
|
|
letter-spacing: -0.025em;
|
|
color: var(--brand-navy);
|
|
font-size: 1.125rem;
|
|
}
|
|
|
|
p {
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
color: var(--text-soft);
|
|
line-height: 1.25rem;
|
|
min-height: 60px;
|
|
}
|
|
|
|
/* Modifikasi Khusus MapButton di dalam Kartu Kuliner */
|
|
.map-button-component {
|
|
align-self: flex-end;
|
|
border: 1px solid black;
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
padding: 32px;
|
|
|
|
.culinary-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.culinary-card .card-body p {
|
|
font-size: 0.875rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
padding: 48px 32px;
|
|
|
|
.culinary-title {
|
|
font-size: 1.875rem;
|
|
}
|
|
|
|
.culinary-card .card-body h3 {
|
|
font-size: 1.25rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
gap: 32px;
|
|
padding: 96px 64px;
|
|
|
|
.culinary-title {
|
|
font-size: 2.25rem;
|
|
}
|
|
|
|
.culinary-grid {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1280px) {
|
|
.culinary-title {
|
|
font-size: 3rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.living-cost-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
|
|
/* Wrapper Gambar Kiri */
|
|
.cost-banner-wrapper {
|
|
position: relative;
|
|
width: 100%;
|
|
|
|
.cost-banner-img {
|
|
width: 100%;
|
|
height: 320px;
|
|
object-fit: cover;
|
|
object-posiiton: center top;
|
|
}
|
|
|
|
/* Efek Gradasi Menyesuaikan Layer Latar Belakang Navy */
|
|
.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%);
|
|
}
|
|
}
|
|
|
|
/* Panel Informasi Kanan */
|
|
.cost-info-panel {
|
|
background-color: #012338;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding: 20px 12px;
|
|
width: 100%;
|
|
|
|
.cost-title {
|
|
color: #ffffff;
|
|
font-weight: 900;
|
|
letter-spacing: -0.05em;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.cost-desc {
|
|
color: #ffffff;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
line-height: 1.25rem;
|
|
}
|
|
|
|
.cost-note {
|
|
font-size: 0.75rem;
|
|
color: var(--brand-yellow);
|
|
font-style: italic;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
/* Wrapper Flex Tiga Kartu */
|
|
.cost-cards-grid {
|
|
display: flex;
|
|
gap: 8px;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Sub-Komponen: Living Cost Card */
|
|
.cost-item-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 16px 8px;
|
|
border-radius: 8px;
|
|
background-color: rgba(255, 255, 255, 0.05);
|
|
color: #ffffff;
|
|
flex: 1;
|
|
text-align: center;
|
|
|
|
/* Target styling tag svg di dalam kartu */
|
|
svg {
|
|
font-size: 1rem;
|
|
width: auto;
|
|
height: 1em;
|
|
}
|
|
|
|
.cost-type {
|
|
text-transform: uppercase;
|
|
color: #9ca3af;
|
|
font-size: 0.75rem;
|
|
margin: 4px 0 0 0;
|
|
}
|
|
|
|
.cost-price {
|
|
font-weight: 900;
|
|
font-size: 0.875rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.cost-period {
|
|
color: #9ca3af;
|
|
font-size: 0.875rem;
|
|
margin: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
.cost-info-panel {
|
|
padding: 32px;
|
|
|
|
.cost-item-card {
|
|
.cost-type {
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.cost-price {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.cost-period {
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
flex-direction: row;
|
|
|
|
.cost-banner-wrapper {
|
|
width: 800px;
|
|
|
|
.cost-banner-img {
|
|
height: 100%;
|
|
}
|
|
|
|
/* 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%);
|
|
}
|
|
}
|
|
|
|
.cost-info-panel {
|
|
padding: 48px 32px;
|
|
width: 100%;
|
|
|
|
.cost-title {
|
|
font-size: 1.875rem;
|
|
}
|
|
|
|
.cost-cards-grid {
|
|
width: fit-content;
|
|
}
|
|
|
|
.cost-item-card {
|
|
flex: none;
|
|
width: 130px;
|
|
padding: 16px;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.cost-info-panel {
|
|
gap: 32px;
|
|
padding: 96px 48px 96px 96px;
|
|
|
|
.cost-title {
|
|
font-size: 2.25rem;
|
|
}
|
|
|
|
.cost-desc {
|
|
font-size: 0.875rem;
|
|
line-height: 24px;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1280px) {
|
|
.cost-info-panel {
|
|
.cost-title {
|
|
font-size: 3rem;
|
|
}
|
|
|
|
.cost-desc {
|
|
font-size: 1.125rem;
|
|
line-height: 32px;
|
|
}
|
|
}
|
|
}
|
|
} |