Skip to content

Commit 3637bf7

Browse files
feat: optimize layout responsiveness and fix mobile visual bugs
1 parent 94726e4 commit 3637bf7

2 files changed

Lines changed: 93 additions & 2 deletions

File tree

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
<!-- CSS styles & Icons -->
1919
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
20-
<link rel="stylesheet" href="./style.css">
20+
<link rel="stylesheet" href="./style.css?v=1.1">
2121
</head>
2222

2323
<body>
@@ -125,7 +125,7 @@ <h3 style="font-size: 1.8rem; margin-bottom: 1.5rem; color: var(--text-primary);
125125
người mới bắt đầu, những người trái ngành hoặc đang gặp khó khăn trong lĩnh vực Công nghệ thông
126126
tin.
127127
</p>
128-
<div style="display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 1.5rem;">
128+
<div class="about-links" style="margin-top: 1.5rem;">
129129
<a href="https://education.crfnetwork.com/" target="_blank" class="service-link"><i
130130
class="fa-solid fa-graduation-cap" style="color: var(--primary);"></i> CRF Education</a>
131131
<a href="https://blog.crfnetwork.com/" target="_blank" class="service-link"><i

style.css

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,12 @@ header {
419419
align-items: stretch;
420420
}
421421

422+
.about-links {
423+
display: flex;
424+
gap: 2rem;
425+
flex-wrap: wrap;
426+
}
427+
422428
.about-features {
423429
display: flex;
424430
flex-direction: column;
@@ -1126,6 +1132,10 @@ header {
11261132
}
11271133

11281134
@media (max-width: 768px) {
1135+
.container {
1136+
padding: 0 1.25rem;
1137+
}
1138+
11291139
.nav-links {
11301140
display: none;
11311141
}
@@ -1176,17 +1186,98 @@ header {
11761186
gap: 3rem;
11771187
}
11781188

1189+
.manifesto-editor {
1190+
padding: 2rem 1.5rem;
1191+
}
1192+
11791193
.team-container {
11801194
grid-template-columns: 1fr;
11811195
}
11821196

1197+
.course-tabs {
1198+
justify-content: flex-start;
1199+
flex-wrap: nowrap;
1200+
overflow-x: auto;
1201+
padding-bottom: 0.75rem;
1202+
margin-bottom: 2rem;
1203+
-webkit-overflow-scrolling: touch;
1204+
scrollbar-width: none; /* Firefox */
1205+
}
1206+
1207+
.course-tabs::-webkit-scrollbar {
1208+
display: none; /* Chrome/Safari */
1209+
}
1210+
1211+
.course-tab {
1212+
flex-shrink: 0;
1213+
}
1214+
1215+
.footer-grid {
1216+
grid-template-columns: 1fr;
1217+
gap: 2.5rem;
1218+
}
1219+
11831220
.footer-bottom {
11841221
flex-direction: column;
11851222
gap: 1rem;
11861223
text-align: center;
11871224
}
11881225
}
11891226

1227+
@media (max-width: 576px) {
1228+
.hero-title {
1229+
font-size: 2.25rem;
1230+
line-height: 1.2;
1231+
}
1232+
1233+
.hero-actions {
1234+
flex-direction: column;
1235+
width: 100%;
1236+
gap: 0.75rem;
1237+
padding: 0 0 2rem;
1238+
}
1239+
1240+
.hero-actions .btn {
1241+
width: 100%;
1242+
}
1243+
1244+
.about-links {
1245+
display: flex;
1246+
flex-direction: column;
1247+
gap: 1rem;
1248+
}
1249+
1250+
.glass-card,
1251+
.contact-form-card {
1252+
padding: 1.5rem 1.25rem !important;
1253+
}
1254+
1255+
.ecosystem-node.highlight-node {
1256+
padding-top: 3.2rem;
1257+
}
1258+
1259+
.manifesto-meta {
1260+
flex-direction: column;
1261+
gap: 0.5rem;
1262+
}
1263+
1264+
.manifesto-meta span {
1265+
white-space: nowrap;
1266+
}
1267+
1268+
.verification-highlight-card {
1269+
flex-direction: column;
1270+
text-align: center;
1271+
padding: 2rem 1.25rem !important;
1272+
gap: 1.5rem;
1273+
}
1274+
1275+
.verification-highlight-card a.btn {
1276+
width: 100%;
1277+
justify-content: center;
1278+
}
1279+
}
1280+
11901281
/* BRAND EXTENSIONS & PORTAL COMPONENT STYLING */
11911282

11921283
/* Brand Gradients & Accents */

0 commit comments

Comments
 (0)