:root { color-scheme: light; --ink: #1f2b2a; --muted: #62706f; --line: rgba(31, 43, 42, 0.14); --paper: #fffdf7; --soft: #f4f7ee; --green: #376d5a; --blue: #456f94; --sun: #e8a84c; --coral: #c96452; --shadow: 0 18px 50px rgba(39, 55, 52, 0.12); } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif; line-height: 1.65; } img { max-width: 100%; display: block; } a { color: inherit; text-decoration: none; } .site-header { position: fixed; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px clamp(18px, 4vw, 48px); color: #fffdf7; background: linear-gradient(180deg, rgba(22, 30, 29, 0.58), rgba(22, 30, 29, 0)); } .brand { font-weight: 700; letter-spacing: 0; white-space: nowrap; } .nav-toggle { display: none; width: 44px; height: 44px; place-items: center; align-content: center; justify-items: center; gap: 5px; border: 1px solid rgba(255, 253, 247, 0.36); border-radius: 8px; background: rgba(31, 43, 42, 0.2); color: #fffdf7; backdrop-filter: blur(12px); cursor: pointer; } .nav-toggle span { width: 20px; height: 2px; border-radius: 999px; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; } .nav { display: flex; gap: clamp(12px, 2vw, 26px); font-size: 14px; } .nav a { opacity: 0.88; } .hero { min-height: 92vh; position: relative; display: grid; align-items: end; overflow: hidden; isolation: isolate; padding: 120px clamp(20px, 6vw, 80px) 56px; color: #fffdf7; background: #26332e var(--hero-image) center / cover no-repeat; } .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(21, 29, 27, 0.78), rgba(21, 29, 27, 0.34) 48%, rgba(21, 29, 27, 0.18)), linear-gradient(0deg, rgba(21, 29, 27, 0.72), rgba(21, 29, 27, 0.06) 55%); } .hero-content { width: min(780px, 100%); } .eyebrow { margin: 0 0 14px; color: #f3cf8b; font-size: 15px; font-weight: 700; } h1 { margin: 0; max-width: 720px; font-size: clamp(42px, 7vw, 86px); line-height: 1.08; letter-spacing: 0; } .hero p { max-width: 620px; margin: 24px 0 0; color: rgba(255, 253, 247, 0.88); font-size: clamp(17px, 2vw, 21px); } .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; } .button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid rgba(255, 253, 247, 0.45); border-radius: 8px; background: rgba(255, 253, 247, 0.12); color: #fffdf7; font-weight: 700; backdrop-filter: blur(10px); } .button.primary { border-color: #f1c979; background: #f1c979; color: #21312d; } .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); } .stat { min-height: 112px; padding: 24px clamp(18px, 4vw, 42px); background: #fffdf7; } .stat strong { display: block; color: var(--green); font-size: clamp(26px, 4vw, 42px); line-height: 1; } .stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; } main { overflow: hidden; } section { padding: clamp(58px, 8vw, 104px) clamp(20px, 6vw, 80px); } .section-inner { width: min(1120px, 100%); margin: 0 auto; } .section-title { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1fr); gap: clamp(24px, 6vw, 72px); align-items: end; margin-bottom: 36px; } h2 { margin: 0; font-size: clamp(30px, 4vw, 52px); line-height: 1.16; letter-spacing: 0; } .section-title p { margin: 0; color: var(--muted); font-size: 16px; } .timeline { display: grid; gap: 18px; } .moment { display: grid; grid-template-columns: 140px 1fr; gap: 22px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 8px 28px rgba(39, 55, 52, 0.06); } .moment > div { grid-column: 2; } .moment-link { position: relative; padding-right: 70px; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; } .moment-link::after { content: "查看"; position: absolute; top: 24px; right: 24px; color: var(--green); font-size: 13px; font-weight: 800; } .moment-link:hover { transform: translateY(-3px); border-color: rgba(55, 109, 90, 0.34); box-shadow: 0 16px 38px rgba(39, 55, 52, 0.12); } .moment time { color: var(--blue); font-weight: 800; } .moment h3, .person h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.3; } .moment p, .person p, .message p { margin: 0; color: var(--muted); } .gallery-band { background: var(--soft); } .page-main { min-height: 100vh; } .page-hero { padding-top: 132px; padding-bottom: 70px; color: #fffdf7; background: linear-gradient(135deg, rgba(31, 43, 42, 0.96), rgba(55, 109, 90, 0.88)), #1f2b2a; } .page-hero h1 { max-width: 900px; } .page-hero p:not(.eyebrow) { max-width: 680px; margin: 22px 0 0; color: rgba(255, 253, 247, 0.82); font-size: clamp(17px, 2vw, 21px); } .back-link, .section-link { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 15px; border-radius: 8px; font-weight: 800; } .back-link { margin-bottom: 28px; border: 1px solid rgba(255, 253, 247, 0.38); color: #fffdf7; background: rgba(255, 253, 247, 0.12); } .section-link { margin-top: 26px; border: 1px solid var(--line); color: var(--green); background: #fff; } .photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; } .photo-card { min-height: 230px; display: flex; align-items: end; padding: 18px; border-radius: 8px; color: #fff; background: linear-gradient(0deg, rgba(26, 35, 34, 0.76), rgba(26, 35, 34, 0.08)), var(--photo-image, var(--tile-bg)); background-size: cover; background-position: center; box-shadow: var(--shadow); } .topic-card { transition: transform 180ms ease, box-shadow 180ms ease; } .topic-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(39, 55, 52, 0.18); } .photo-card:nth-child(4n + 1) { --tile-bg: linear-gradient(135deg, #376d5a, #e8a84c); } .photo-card:nth-child(4n + 2) { --tile-bg: linear-gradient(135deg, #456f94, #f0c66d); } .photo-card:nth-child(4n + 3) { --tile-bg: linear-gradient(135deg, #c96452, #f1d9a6); } .photo-card:nth-child(4n) { --tile-bg: linear-gradient(135deg, #263e5c, #7ab28b); } .photo-card:nth-child(4n + 2), .photo-card:nth-child(4n) { min-height: 300px; } .photo-card strong { display: block; font-size: 20px; } .photo-card span { display: block; color: rgba(255, 255, 255, 0.82); font-size: 14px; } .people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; } .page-grid { align-items: stretch; } .scrapbook-section { padding-top: clamp(48px, 7vw, 92px); } .scrapbook { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 26px); align-items: start; padding-block: 18px 36px; } .scrap-photo { --rotate: 0deg; --shift: 0px; grid-column: span 4; transform: translateY(var(--shift)) rotate(var(--rotate)); transform-origin: center; } .scrap-photo:nth-child(6n + 1) { --rotate: -2.2deg; --shift: 18px; grid-column: span 5; } .scrap-photo:nth-child(6n + 2) { --rotate: 1.6deg; --shift: -8px; grid-column: span 3; } .scrap-photo:nth-child(6n + 3) { --rotate: -0.8deg; --shift: 36px; grid-column: span 4; } .scrap-photo:nth-child(6n + 4) { --rotate: 2.4deg; --shift: -2px; grid-column: span 4; } .scrap-photo:nth-child(6n + 5) { --rotate: -1.4deg; --shift: 28px; grid-column: span 3; } .scrap-photo:nth-child(6n) { --rotate: 1.1deg; --shift: 8px; grid-column: span 5; } .scrap-frame { display: block; padding: 10px 10px 16px; border: 1px solid rgba(31, 43, 42, 0.1); border-radius: 4px; background: #fffef9; box-shadow: 0 18px 38px rgba(39, 55, 52, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.7); } .scrap-link { cursor: zoom-in; transition: box-shadow 180ms ease, transform 180ms ease; } .scrap-link:hover { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(39, 55, 52, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.7); } .scrap-image { width: 100%; border-radius: 3px; } .scrap-image-file { height: auto; background: #f7f2e7; } .scrap-placeholder { min-height: clamp(190px, 24vw, 320px); background: var(--scrap-image, linear-gradient(135deg, #376d5a, #e8a84c)); background-size: cover; background-position: center; } .scrap-photo:nth-child(4n + 2) .scrap-placeholder { background: var(--scrap-image, linear-gradient(135deg, #456f94, #f0c66d)); } .scrap-photo:nth-child(4n + 3) .scrap-placeholder { background: var(--scrap-image, linear-gradient(135deg, #c96452, #f1d9a6)); } .scrap-photo:nth-child(4n) .scrap-placeholder { background: var(--scrap-image, linear-gradient(135deg, #263e5c, #7ab28b)); } .scrap-copy { padding: 12px 4px 0; } .scrap-copy strong { display: block; font-size: 18px; line-height: 1.35; } .scrap-copy span { display: block; margin-top: 5px; color: var(--muted); font-size: 14px; } .person { min-height: 210px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; } .person-link { display: block; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; } .person-link:hover { transform: translateY(-3px); border-color: rgba(55, 109, 90, 0.34); box-shadow: 0 16px 38px rgba(39, 55, 52, 0.12); } .person-photo, .profile-photo { min-height: 150px; display: grid; place-items: center; color: #fffdf7; background: linear-gradient(0deg, rgba(31, 43, 42, 0.28), rgba(31, 43, 42, 0.04)), var(--person-photo, linear-gradient(135deg, var(--accent), #e8a84c)); background-size: cover; background-position: center; } .person-photo span, .profile-photo span { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(255, 253, 247, 0.4); border-radius: 50%; background: rgba(31, 43, 42, 0.28); font-weight: 900; backdrop-filter: blur(8px); } .person-body { padding: 20px 22px 22px; } .person-meta, .keyword-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; } .person-meta span, .keyword-row span { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 9px; border-radius: 999px; color: var(--green); background: color-mix(in srgb, var(--green), white 88%); font-size: 13px; font-weight: 800; } .person:nth-child(1) { --accent: var(--green); } .person:nth-child(2) { --accent: var(--blue); } .person:nth-child(3) { --accent: var(--coral); } .person:nth-child(4) { --accent: #7b6b3a; } .person:nth-child(5) { --accent: #4d796d; } .person:nth-child(6) { --accent: #755c86; } .person:nth-child(7) { --accent: #8b5f4d; } .person:nth-child(8) { --accent: #2f6f79; } .person-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: clamp(28px, 5vw, 70px); align-items: end; } .profile-card { padding: 24px; border: 1px solid rgba(255, 253, 247, 0.22); border-radius: 8px; background: rgba(255, 253, 247, 0.1); backdrop-filter: blur(12px); } .profile-photo { min-height: 230px; margin-bottom: 22px; border-radius: 6px; --accent: #f1c979; } .profile-photo span { width: 72px; height: 72px; font-size: 24px; } .profile-card dl { display: grid; gap: 14px; margin: 0; } .profile-card div { display: grid; gap: 2px; } .profile-card dt { color: rgba(255, 253, 247, 0.58); font-size: 13px; } .profile-card dd { margin: 0; color: #fffdf7; font-weight: 800; } .detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } .detail-panel { min-height: 220px; padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 8px 28px rgba(39, 55, 52, 0.06); } .detail-panel.wide { grid-column: 1 / -1; } .detail-panel .eyebrow { color: var(--blue); } .detail-panel h2 { margin-bottom: 16px; font-size: clamp(24px, 3vw, 34px); } .detail-panel p { margin: 0; color: var(--muted); } .keyword-row.large { margin: 0; } .keyword-row.large span { min-height: 40px; padding: 7px 14px; font-size: 15px; } .message-wall { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; align-items: stretch; } .message { min-height: 160px; padding: 24px; border-radius: 8px; background: #fff; border: 1px solid var(--line); } .message.featured { display: flex; flex-direction: column; justify-content: space-between; background: #24443a; color: #fffdf7; } .message.featured p { color: rgba(255, 253, 247, 0.86); font-size: clamp(20px, 3vw, 32px); line-height: 1.55; } .message cite { display: block; margin-top: 20px; color: var(--sun); font-style: normal; font-weight: 700; } .small-messages { display: grid; gap: 18px; } .sticky-message-band { background: linear-gradient(0deg, rgba(255, 253, 247, 0.45), rgba(255, 253, 247, 0.45)), var(--soft); } .message-preamble { margin-bottom: 24px; } .twikoo-empty-note { padding: 28px; border: 1px dashed rgba(55, 109, 90, 0.34); border-radius: 8px; background: #fffdf7; } .twikoo-empty-note h2 { margin-bottom: 10px; font-size: clamp(24px, 3vw, 34px); } .twikoo-empty-note p { margin: 0; color: var(--muted); } .twikoo-empty-note code { color: var(--green); font-weight: 800; } .ending { text-align: center; background: #1f2b2a; color: #fffdf7; } .ending .section-inner { max-width: 780px; } .ending p { margin: 20px auto 0; color: rgba(255, 253, 247, 0.78); } .site-footer { display: grid; justify-items: center; gap: 14px; padding: 28px 24px; color: rgba(255, 253, 247, 0.58); background: #1f2b2a; text-align: center; font-size: 14px; } .site-footer p { margin: 0; } .footer-meta { color: rgba(255, 253, 247, 0.42); font-size: 12px; } .footer-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; } .footer-contacts a { position: relative; min-width: 42px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(255, 253, 247, 0.18); border-radius: 8px; color: #fffdf7; background: rgba(255, 253, 247, 0.06); transition: background 180ms ease, border-color 180ms ease, transform 180ms ease; } .footer-contacts .has-qr { cursor: default; } .footer-contacts a:hover { transform: translateY(-2px); border-color: rgba(241, 201, 121, 0.58); background: rgba(255, 253, 247, 0.12); } .footer-contacts i { font-size: 18px; } .footer-contacts span { font-size: 13px; font-weight: 700; } .contact-qr { position: absolute; left: 50%; bottom: calc(100% + 12px); z-index: 5; width: 156px; display: grid; gap: 8px; justify-items: center; padding: 12px; border: 1px solid rgba(31, 43, 42, 0.12); border-radius: 8px; background: #fffdf7; color: var(--ink); box-shadow: 0 18px 44px rgba(13, 20, 19, 0.28); opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: opacity 180ms ease, transform 180ms ease; } .contact-qr::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; background: #fffdf7; border-right: 1px solid rgba(31, 43, 42, 0.12); border-bottom: 1px solid rgba(31, 43, 42, 0.12); transform: translateX(-50%) rotate(45deg); } .contact-qr img { width: 132px; height: 132px; object-fit: contain; border-radius: 4px; background: #f4f7ee; } .contact-qr small { color: var(--muted); font-size: 12px; line-height: 1.3; } .footer-contacts a:hover .contact-qr, .footer-contacts a:focus-visible .contact-qr { opacity: 1; transform: translate(-50%, 0); } @media (max-width: 820px) { .site-header { position: absolute; align-items: center; flex-wrap: wrap; gap: 12px; padding-block: 12px; } .nav-toggle { display: grid; } .nav { position: fixed; top: 68px; left: 16px; right: 16px; display: grid; gap: 4px; padding: 10px; border: 1px solid rgba(255, 253, 247, 0.22); border-radius: 8px; background: rgba(31, 43, 42, 0.94); box-shadow: 0 18px 44px rgba(13, 20, 19, 0.28); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity 180ms ease, transform 180ms ease; backdrop-filter: blur(16px); } .nav a { min-height: 44px; display: flex; align-items: center; padding: 8px 12px; border-radius: 7px; opacity: 1; } .nav a:hover { background: rgba(255, 253, 247, 0.12); } .site-header.is-open { background: linear-gradient(180deg, rgba(22, 30, 29, 0.72), rgba(22, 30, 29, 0)); } .site-header.is-open .nav { opacity: 1; pointer-events: auto; transform: translateY(0); } .site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); } .site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; } .site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } .hero { min-height: 88vh; padding-top: 92px; } .stats, .section-title, .message-wall, .twikoo-sticky-wall .tk-comments, .twikoo-sticky-wall .tk-comments-container, .twikoo-sticky-wall .tk-comments-list, .person-hero-inner, .detail-grid { grid-template-columns: 1fr; } .photo-grid, .people-grid { grid-template-columns: 1fr 1fr; } .scrapbook { grid-template-columns: repeat(6, 1fr); } .scrap-photo, .scrap-photo:nth-child(n) { grid-column: span 3; transform: none; } .moment { grid-template-columns: 1fr; } .moment > div { grid-column: auto; } .moment-link { padding-right: 22px; } .moment-link::after { position: static; margin-top: 10px; grid-column: auto; justify-self: start; } } @media (max-width: 560px) { .hero-actions { display: grid; } .stats, .photo-grid, .people-grid { grid-template-columns: 1fr; } .stat { min-height: auto; } .photo-card, .photo-card:nth-child(2), .photo-card:nth-child(4) { min-height: 220px; } .scrapbook { display: grid; grid-template-columns: 1fr; padding-block: 0; } .scrap-photo, .scrap-photo:nth-child(n) { grid-column: auto; } .twikoo-sticky-wall .tk-submit, .twikoo-sticky-wall .tk-comment { transform: none !important; } .scrap-placeholder { min-height: 220px; } }