Skip to content

Commit 494b5ca

Browse files
committed
fix(homepage): align index nav/footer with verify pattern
1 parent d1683b0 commit 494b5ca

1 file changed

Lines changed: 6 additions & 54 deletions

File tree

public/index.html

Lines changed: 6 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
}
8787

8888
.brand span { display: none; }
89+
.nav-links a.active { color: var(--text); background: var(--surface); }
8990

9091
.nav-links {
9192
display: flex;
@@ -965,57 +966,10 @@
965966
}
966967

967968
/* ── FOOTER ───────────────────────────────────── */
968-
footer {
969-
border-top: 1px solid var(--border);
970-
padding: 64px 0 36px;
971-
background: var(--bg);
972-
}
973-
974-
.footer-grid {
975-
display: grid;
976-
grid-template-columns: 2fr 1fr 1fr 1fr;
977-
gap: 40px;
978-
margin-bottom: 52px;
979-
}
980-
981-
.footer-brand { margin-bottom: 14px; }
982-
983-
.footer-tagline {
984-
font-size: 14px;
985-
color: var(--muted);
986-
line-height: 1.65;
987-
max-width: 26ch;
988-
}
989-
990-
.footer-col-title {
991-
font-size: 12px;
992-
font-weight: 700;
993-
letter-spacing: 0.07em;
994-
text-transform: uppercase;
995-
color: var(--text-2);
996-
margin-bottom: 16px;
997-
}
998-
999-
.footer-links { display: flex; flex-direction: column; gap: 10px; list-style: none; }
1000-
1001-
.footer-links a {
1002-
font-size: 14px;
1003-
color: var(--muted);
1004-
text-decoration: none;
1005-
transition: color 0.15s;
1006-
}
1007-
1008-
.footer-links a:hover { color: var(--text); }
1009-
1010-
.footer-bottom {
1011-
border-top: 1px solid var(--border);
1012-
padding-top: 24px;
1013-
display: flex;
1014-
align-items: center;
1015-
justify-content: space-between;
1016-
font-size: 13px;
1017-
color: var(--muted);
1018-
}
969+
footer { border-top: 1px solid var(--border); background: #fff; }
970+
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 36px 0; }
971+
.footer-grid h4 { font-size: 14px; margin-bottom: 10px; }
972+
.footer-grid a { display: block; color: var(--text-2); margin: 8px 0; font-size: 14px; }
1019973

1020974
/* ── RESPONSIVE ───────────────────────────────── */
1021975
@media (max-width: 1100px) {
@@ -1038,7 +992,7 @@
1038992
.split { grid-template-columns: 1fr; gap: 40px; }
1039993
.features-grid { grid-template-columns: repeat(2, 1fr); }
1040994
.endpoint-grid { grid-template-columns: 1fr; }
1041-
.footer-grid { grid-template-columns: 1fr 1fr; }
995+
.footer-grid { grid-template-columns: 1fr; }
1042996
}
1043997

1044998
@media (max-width: 600px) {
@@ -1050,10 +1004,8 @@
10501004
.nav-actions .btn-secondary { display: none; }
10511005
.how-grid { grid-template-columns: 1fr; }
10521006
.features-grid { grid-template-columns: 1fr; }
1053-
.footer-grid { grid-template-columns: 1fr; }
10541007
.section { padding: 72px 0; }
10551008
.hero { padding: 72px 0 64px; }
1056-
.footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
10571009
.api-top { flex-direction: column; }
10581010
}
10591011
.nav-links a:hover,.nav-drop:hover>a,.nav-drop:focus-within>a,.nav-drop>a.active{color:var(--text);background:var(--surface)}.nav-drop{position:relative}.nav-drop>a{display:inline-flex;align-items:center;gap:4px}.nav-drop-menu{position:absolute;top:calc(100% - 1px);left:0;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:0 10px 34px rgba(15,23,42,.12);padding:8px;display:none;min-width:260px;z-index:200}.nav-drop-menu::before{content:"";position:absolute;left:0;right:0;top:-8px;height:8px}.nav-drop-menu a{display:block;white-space:nowrap}.nav-drop:hover .nav-drop-menu,.nav-drop:focus-within .nav-drop-menu{display:grid}@media(max-width:900px){.nav-drop{width:100%}.nav-drop-menu{position:static;display:grid;margin-top:2px;min-width:0;box-shadow:none}}</style>

0 commit comments

Comments
 (0)