.fw-light { --fw-bg: #ffffff; --fw-ink: #1f1c2e; --fw-muted: #5d586c; --fw-line: #e4e2ea; --fw-accent: #3b3170; } .fw-dark { --fw-bg: #17142e; --fw-ink: #f4f1fb; --fw-muted: #c3bcd8; --fw-line: #322d52; --fw-accent: #ecc6a6; } html:has(> body.fw-doc), body.fw-doc { height: 100%; } body.fw-doc { margin: 0; background: transparent; } .fw { box-sizing: border-box; container-type: inline-size; display: flex; flex-direction: column; min-height: 100%; height: 100%; padding: 14px 16px 12px; border: 1px solid var(--fw-line); border-radius: 14px; background: var(--fw-bg); color: var(--fw-ink); overflow: hidden; font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; } .fw p { margin: 0; } .fw a { color: var(--fw-accent); text-decoration: none; } .fw a:hover { text-decoration: underline; } .fw a:focus-visible { outline: 2px solid var(--fw-accent); outline-offset: 2px; border-radius: 4px; } .fw-head { display: grid; gap: 1px; margin-bottom: 10px; } .fw-title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; } .fw-date { font-size: 13px; color: var(--fw-muted); } .fw-big { font: 600 23px/1.15 Georgia, "Times New Roman", serif; margin-bottom: 4px; } .fw-line { font-size: 14px; color: var(--fw-muted); } .fw-moon-body { display: flex; gap: 14px; align-items: center; } .fw-moon-art { flex: none; width: 92px; height: 92px; } .fw-next { margin-top: 10px; color: var(--fw-ink); } .fw-text { font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; overflow: hidden; } .fw-more { margin-top: 8px; font-size: 14px; font-weight: 600; } .fw-count { font-size: 18px; font-weight: 700; color: var(--fw-accent); margin: 0 0 8px; } .fw .fw-credit { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--fw-line); font-size: 12px; } .fw-credit a { color: var(--fw-muted); } @container (max-width: 279px) { .fw-moon-body { flex-direction: column; align-items: flex-start; gap: 8px; } .fw-moon-art { width: 64px; height: 64px; } .fw-big { font-size: 20px; } }
