Reflow home shortcuts and support article deletion

This commit is contained in:
2026-11-22 02:00:29 +08:00
parent 02e8685bc2
commit 4db9af6404
11 changed files with 110 additions and 16 deletions
+2
View File
@@ -37,6 +37,8 @@
.feedback { padding: .8rem 1rem; border-radius: .5rem; }
.feedback.error { background: #feebeb; color: #9c252a; }
.feedback.success { background: #e5f6ed; color: #126044; }
.button-danger { color: #9c252a; background: transparent; border-color: #e6b6b9; }
.button-danger:hover { color: #9c252a; background: #feebeb; }
.editor { display: grid; gap: .45rem; }
.editor-toolbar { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: space-between; padding: .45rem; border: 1px solid var(--line); background: var(--paper); border-radius: .5rem; }
.editor-toolbar > div { display: flex; flex-wrap: wrap; gap: .25rem; }
+6 -7
View File
@@ -152,15 +152,14 @@ address { font-style: normal; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumb-divider { color: #74859d; }
.hero-directory {
display: grid;
grid-template-columns: minmax(0, .9fr) repeat(4, minmax(0, 1fr));
display: flex;
border: 1px solid var(--line);
border-radius: .85rem .85rem 0 0;
background: #ffffffb8;
min-height: 7rem;
border-bottom: 0;
}
.hero-directory > * { display: flex; flex-direction: column; justify-content: center; gap: .12rem; padding: .75rem clamp(.6rem, 2vw, 1.85rem); }
.hero-directory > * { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: .12rem; padding: .75rem clamp(.6rem, 2vw, 1.85rem); overflow-wrap: anywhere; }
.hero-directory a { color: var(--ink); text-decoration: none; border-inline-start: 1px solid var(--line); transition: background-color 160ms ease, color 160ms ease; }
.hero-directory a:hover { color: var(--accent); background: #fff; }
.hero-directory a span { font-size: 1.12rem; font-weight: 670; }
@@ -350,10 +349,11 @@ progress { width: 100%; height: .8rem; accent-color: var(--accent); }
.hero-lead { margin-bottom: 1.3rem; }
.hero-illustration { border-radius: 1.15rem; }
.hero-illustration img { border-radius: .8rem; }
.hero-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: .2rem; }
.hero-directory > .overline { grid-column: 1 / -1; }
.hero-directory { flex-wrap: wrap; margin-top: .2rem; }
.hero-directory > * { flex-basis: 50%; }
.hero-directory > .directory-label { flex-basis: 100%; border-top: 0; }
.hero-directory a { border-top: 1px solid var(--line); min-height: 4rem; padding-inline: .8rem; }
.hero-directory a:nth-child(even) { border-inline-start: 0; }
.hero-directory > a:nth-child(odd of :not(.directory-label)) { border-inline-start: 0; }
.section-nav-inner { column-gap: 1.1rem; }
.section-nav a { font-size: .875rem; }
.project, .project:nth-child(even) { grid-template-columns: 1fr; gap: 1rem; }
@@ -473,7 +473,6 @@ progress { width: 100%; height: .8rem; accent-color: var(--accent); }
}
@media (max-width: 44rem) {
.catalog-grid, .copyright-service #materials .feature-grid { grid-template-columns: 1fr; }
.hero-directory > .directory-label { grid-column: 1 / -1; border-top: 0; }
.copyright-service #go > .wrap { padding: 1.55rem; min-height: 0; }
.copyright-service #go .contact-panel { display: flex; gap: 1rem; }
.copyright-service #go .contact-panel img { position: static; transform: none; width: 7rem; }