forked from izu/student-web-if-development-kit
Merge pull request 'fix(responsive): fixing responsiveness on mobile devices' (#1) from fix/mobile-responsive into main
Reviewed-on: tisto/student-web-if-development-kit#1 Reviewed-by: requestha <d1041231091@student.untan.ac.id> Reviewed-by: pancaa <d1041231077@student.untan.ac.id>
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 192 KiB |
+2640
-1923
File diff suppressed because it is too large
Load Diff
+144
-64
@@ -119,7 +119,7 @@ body {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.article-body>*+* {
|
||||
.article-body > * + * {
|
||||
margin-top: 1.1em;
|
||||
}
|
||||
|
||||
@@ -252,7 +252,8 @@ body {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 8px;
|
||||
padding-block: 4px;
|
||||
padding-inline: 8px;
|
||||
background-color: #ffffff;
|
||||
color: #1f2937;
|
||||
border-radius: 8px;
|
||||
@@ -268,8 +269,8 @@ body {
|
||||
}
|
||||
|
||||
.map-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
@@ -299,10 +300,12 @@ 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 */
|
||||
@@ -375,11 +378,11 @@ body {
|
||||
|
||||
.about-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 24px;
|
||||
padding: 20px 12px;
|
||||
|
||||
--box-size: 300px;
|
||||
--box-size: 150px;
|
||||
|
||||
.about-image-wrapper {
|
||||
position: relative;
|
||||
@@ -414,17 +417,17 @@ body {
|
||||
|
||||
.about-title {
|
||||
color: var(--brand-navy);
|
||||
font-size: 1.25rem;
|
||||
font-size: 12px;
|
||||
font-weight: 900;
|
||||
letter-spacing: -0.05em;
|
||||
}
|
||||
|
||||
.about-description {
|
||||
color: var(--text-soft);
|
||||
font-size: 0.75rem;
|
||||
font-size: 8px;
|
||||
font-weight: 500;
|
||||
|
||||
p+p {
|
||||
p + p {
|
||||
margin-top: 8px;
|
||||
}
|
||||
}
|
||||
@@ -438,7 +441,7 @@ body {
|
||||
color: var(--brand-navy);
|
||||
font-weight: 700;
|
||||
text-decoration: none;
|
||||
font-size: 0.75rem;
|
||||
font-size: 7px;
|
||||
|
||||
.link-icon {
|
||||
margin-bottom: 2px;
|
||||
@@ -456,9 +459,18 @@ body {
|
||||
--box-size: 240px;
|
||||
|
||||
.about-content {
|
||||
.about-title {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.about-description {
|
||||
font-size: 0.75rem;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
.about-link {
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -545,7 +557,7 @@ body {
|
||||
/* Layouting Grid Kartu */
|
||||
.facilities-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(1, minmax(0, 1fr));
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 16px;
|
||||
width: 100%;
|
||||
}
|
||||
@@ -598,16 +610,15 @@ body {
|
||||
}
|
||||
|
||||
.card-title {
|
||||
font-size: 0.875rem;
|
||||
font-size: 10px;
|
||||
font-weight: 900;
|
||||
color: var(--brand-navy);
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.card-desc {
|
||||
font-size: 0.75rem;
|
||||
font-size: 7px;
|
||||
color: var(--text-soft);
|
||||
line-height: 1.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -630,6 +641,14 @@ body {
|
||||
height: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.card-title {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.card-desc {
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -710,7 +729,6 @@ body {
|
||||
/* Layout Wrapper */
|
||||
.campus-layout {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
width: 100%;
|
||||
}
|
||||
@@ -718,9 +736,8 @@ body {
|
||||
/* Styling Tombol Kategori (Kiri) */
|
||||
.category-list-container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
justify-content: center;
|
||||
|
||||
.category-btn {
|
||||
display: flex;
|
||||
@@ -781,8 +798,8 @@ body {
|
||||
}
|
||||
|
||||
.img-wrapper {
|
||||
width: 128px;
|
||||
height: 128px;
|
||||
width: 75px;
|
||||
height: 75px;
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -806,15 +823,14 @@ body {
|
||||
h4 {
|
||||
font-weight: 900;
|
||||
letter-spacing: -0.05em;
|
||||
font-size: 1rem;
|
||||
font-size: 10px;
|
||||
color: var(--brand-navy);
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 0.75rem;
|
||||
font-size: 7px;
|
||||
color: var(--text-soft);
|
||||
line-height: 1.25rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -837,11 +853,26 @@ body {
|
||||
.category-list-container {
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
min-width: 25%;
|
||||
}
|
||||
|
||||
.category-list-container .category-btn {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.directory-list-container {
|
||||
.directory-card {
|
||||
.card-info {
|
||||
h4 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
@@ -953,10 +984,12 @@ 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;
|
||||
}
|
||||
|
||||
@@ -1076,8 +1109,8 @@ body {
|
||||
/* Layout Grid Destinasi */
|
||||
.destination-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(1, minmax(0, 1fr));
|
||||
gap: 24px;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@@ -1087,17 +1120,24 @@ body {
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
border-radius: 8px;
|
||||
height: 450px;
|
||||
height: 300px;
|
||||
overflow: hidden;
|
||||
transition: all 0.3s ease;
|
||||
|
||||
&:hover {
|
||||
transform: scale(1.02);
|
||||
}
|
||||
|
||||
/* 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%);
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -1110,20 +1150,19 @@ body {
|
||||
height: 100%;
|
||||
gap: 8px;
|
||||
padding: 16px;
|
||||
padding-bottom: 32px;
|
||||
padding-bottom: 24px;
|
||||
max-width: 288px;
|
||||
|
||||
.card-name {
|
||||
color: #ffffff;
|
||||
font-weight: 900;
|
||||
letter-spacing: -0.025em;
|
||||
font-size: 1rem;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.card-desc {
|
||||
color: #d1d5db;
|
||||
font-size: 0.75rem;
|
||||
line-height: 1.25rem;
|
||||
font-size: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1133,11 +1172,20 @@ body {
|
||||
|
||||
.destination-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.destination-card .card-content .card-name {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.destination-card .card-content .card-desc {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.destination-card {
|
||||
height: 400px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
@@ -1163,6 +1211,10 @@ body {
|
||||
.destination-title {
|
||||
font-size: 2.25rem;
|
||||
}
|
||||
|
||||
.destination-card {
|
||||
height: 450px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1280px) {
|
||||
@@ -1234,7 +1286,7 @@ body {
|
||||
/* Grid Layout Kartu */
|
||||
.culinary-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(1, minmax(0, 1fr));
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 24px;
|
||||
width: 100%;
|
||||
}
|
||||
@@ -1249,6 +1301,11 @@ body {
|
||||
border-radius: 12px;
|
||||
background-color: #ffffff;
|
||||
overflow: hidden;
|
||||
transition: all 0.3s ease;
|
||||
|
||||
&:hover {
|
||||
transform: scale(1.02);
|
||||
}
|
||||
|
||||
.card-thumb {
|
||||
width: 100%;
|
||||
@@ -1270,11 +1327,10 @@ body {
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 0.75rem;
|
||||
font-size: 9px;
|
||||
font-weight: 500;
|
||||
color: var(--text-soft);
|
||||
line-height: 1.25rem;
|
||||
min-height: 60px;
|
||||
min-height: 26px;
|
||||
}
|
||||
|
||||
/* Modifikasi Khusus MapButton di dalam Kartu Kuliner */
|
||||
@@ -1332,7 +1388,6 @@ body {
|
||||
|
||||
.living-cost-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
|
||||
/* Wrapper Gambar Kiri */
|
||||
@@ -1351,10 +1406,12 @@ 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%
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1371,14 +1428,13 @@ body {
|
||||
color: #ffffff;
|
||||
font-weight: 900;
|
||||
letter-spacing: -0.05em;
|
||||
font-size: 1.25rem;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.cost-desc {
|
||||
color: #ffffff;
|
||||
font-size: 0.75rem;
|
||||
font-size: 8px;
|
||||
font-weight: 500;
|
||||
line-height: 1.25rem;
|
||||
}
|
||||
|
||||
.cost-note {
|
||||
@@ -1407,6 +1463,12 @@ body {
|
||||
color: #ffffff;
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
width: 75px;
|
||||
transition: all 0.3s ease;
|
||||
|
||||
&:hover {
|
||||
transform: scale(1.02);
|
||||
}
|
||||
|
||||
/* Target styling tag svg di dalam kartu */
|
||||
svg {
|
||||
@@ -1418,19 +1480,19 @@ body {
|
||||
.cost-type {
|
||||
text-transform: uppercase;
|
||||
color: #9ca3af;
|
||||
font-size: 0.75rem;
|
||||
font-size: 8px;
|
||||
margin: 4px 0 0 0;
|
||||
}
|
||||
|
||||
.cost-price {
|
||||
font-weight: 900;
|
||||
font-size: 0.875rem;
|
||||
font-size: 8px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.cost-period {
|
||||
color: #9ca3af;
|
||||
font-size: 0.875rem;
|
||||
font-size: 8px;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
@@ -1440,17 +1502,21 @@ body {
|
||||
.cost-info-panel {
|
||||
padding: 32px;
|
||||
|
||||
.cost-desc {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.cost-item-card {
|
||||
.cost-type {
|
||||
font-size: 0.875rem;
|
||||
font-size: 8px;
|
||||
}
|
||||
|
||||
.cost-price {
|
||||
font-size: 1rem;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.cost-period {
|
||||
font-size: 1rem;
|
||||
font-size: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1468,10 +1534,12 @@ 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%
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1491,6 +1559,18 @@ body {
|
||||
flex: none;
|
||||
width: 130px;
|
||||
padding: 16px;
|
||||
|
||||
.cost-type {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.cost-price {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.cost-period {
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1523,4 +1603,4 @@ body {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user