bug修复

This commit is contained in:
张锐 committed 2026-11-25 18:51:24 +08:00
1 parent 75f67bf08c
commit 7fed799118
5 files changed
+172 -7

No files matched your search

+4
View File
@@ -59,6 +59,7 @@ nav a:hover {
align-items: center;
gap: 20px;
}
.search-toggle{width:38px;height:38px;border:0;background:transparent;color:#17242a;display:grid;place-items:center;cursor:pointer}.search-toggle:hover,.search-toggle:focus-visible{background:#eef3f1;outline:none}.header-search{position:absolute;top:75px;right:max(5vw,28px);width:min(560px,calc(100vw - 56px));display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:14px;background:#fff;border:1px solid #d8e0dd;box-shadow:0 14px 35px #13251f24}.header-search input{min-width:0;border:0;outline:0;font:inherit;padding:8px}.header-search button,.search-page-form button{border:0;background:#176b5b;color:#fff;font:inherit;font-weight:700;padding:11px 18px;cursor:pointer}
.quote,
.cta {
display: inline-flex;
@@ -216,6 +217,8 @@ nav a:hover {
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}
.collection-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:32px;align-items:start}.collection-layout .cards{grid-template-columns:repeat(2,minmax(0,1fr))}.category-sidebar{position:sticky;top:106px;border-top:2px solid #203630;display:grid}.category-sidebar>p{margin:0;padding:17px 14px 12px;color:#6a7779;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:1px}.category-sidebar>a{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #dce3e0;padding:13px 14px;font-size:13px}.category-sidebar>a:hover,.category-sidebar>a.active{background:#eef5f2;color:#176b5b;font-weight:700}
.search-page{max-width:1100px;margin:auto;padding:80px 28px;min-height:620px}.search-page h1{font:500 45px Georgia,serif;margin:10px 0 30px}.search-page-form{display:grid;grid-template-columns:1fr auto;border-bottom:2px solid #203630;padding-bottom:20px}.search-page-form input{min-width:0;border:1px solid #cbd5d1;padding:14px;font:inherit}.search-page-form button{display:flex;align-items:center;gap:8px}.search-status{color:#667477;margin:28px 0}.search-results{display:grid;gap:0;border-top:1px solid #d9e0de}.search-results>a{padding:24px 4px;border-bottom:1px solid #d9e0de}.search-results>a>span{font-size:10px;color:#176b5b;font-weight:800;text-transform:uppercase;letter-spacing:1px}.search-results h2{font:500 24px Georgia,serif;margin:6px 0}.search-results p{color:#657276;margin:0 0 8px}.search-results small{display:flex;align-items:center;color:#176b5b;font-weight:700}
.card {
border: 1px solid #dce2e0;
transition: 0.2s;
@@ -439,6 +442,7 @@ footer small {
.cards {
grid-template-columns: 1fr;
}
.collection-layout{grid-template-columns:1fr;gap:24px}.collection-layout .cards{grid-template-columns:1fr}.category-sidebar{position:static}.category-sidebar>p{display:none}.category-sidebar{display:flex;overflow-x:auto;border-top:0;border-bottom:1px solid #dce3e0}.category-sidebar>a{white-space:nowrap;border-top:0}.header-search{right:18px;width:calc(100vw - 36px)}.search-page{padding:55px 22px}.search-page-form{grid-template-columns:1fr}.search-page-form button{justify-content:center}
.pillars article {
border-right: 0;
border-bottom: 1px solid #cad3d0;