返回 CodeWhale
changelog.css
根目录 / web / app / styles / changelog.css
1 /* ------------------------------------------------------------------ */
2 /* Changelog — each release is a receipt */
3 /* ------------------------------------------------------------------ */
4
5 .changelog-list { display: grid; gap: var(--space-5); }
6
7 .changelog-release {
8 padding: clamp(1.25rem, 3vw, 1.75rem);
9 border: 1px solid var(--line);
10 border-radius: var(--radius-surface);
11 background: color-mix(in srgb, var(--panel) 72%, transparent);
12 }
13
14 .changelog-release-head {
15 display: flex;
16 flex-wrap: wrap;
17 align-items: baseline;
18 justify-content: space-between;
19 gap: var(--space-2) var(--space-5);
20 min-width: 0;
21 overflow-wrap: anywhere;
22 }
23 .changelog-release-head h2 {
24 display: inline-flex;
25 align-items: center;
26 gap: var(--space-3);
27 font-size: var(--text-title);
28 font-variant-numeric: tabular-nums;
29 }
30 .changelog-release-head h2 svg { width: 1.25rem; height: 1.25rem; color: var(--accent); }
31
32 .changelog-links {
33 display: flex;
34 flex-wrap: wrap;
35 align-items: baseline;
36 gap: var(--space-1) var(--space-4);
37 color: var(--muted);
38 font-size: var(--text-caption);
39 }
40 .changelog-links a { color: var(--accent); }
41 .changelog-links a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
42
43 .changelog-unreleased-note {
44 max-width: 44rem;
45 margin-top: var(--space-2);
46 color: var(--muted);
47 font-size: var(--text-ui);
48 line-height: 1.6;
49 }
50
51 .changelog-sections { display: grid; gap: var(--space-5); margin-top: var(--space-5); }
52
53 .changelog-sections h3 {
54 display: flex;
55 flex-wrap: wrap;
56 align-items: baseline;
57 gap: var(--space-3);
58 color: var(--muted);
59 font-size: var(--text-caption);
60 font-weight: 600;
61 }
62 .changelog-sections h3 a { color: var(--muted); font-weight: 500; }
63 .changelog-sections h3 a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 0.2em; }
64
65 .changelog-sections ul { display: grid; margin-top: var(--space-2); }
66 .changelog-sections li {
67 position: relative;
68 min-width: 0;
69 padding: var(--space-2) 0 var(--space-2) var(--space-5);
70 color: var(--text);
71 font-size: var(--text-ui);
72 line-height: 1.6;
73 /* Release notes quote commands, env names and URLs verbatim; a long
74 unbroken token wraps inside the column, never widens the page. */
75 overflow-wrap: anywhere;
76 }
77 .changelog-sections li + li { border-top: 1px solid var(--line); }
78 .changelog-sections li::before {
79 content: "";
80 position: absolute;
81 inset-inline-start: 0.375rem;
82 top: 1.05em;
83 width: 0.375rem;
84 height: 0.375rem;
85 border-radius: var(--radius-pill);
86 background: var(--line-strong);
87 }
88
89 .changelog-facts { max-width: 44rem; }
90 .changelog-facts dd { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); }
91 .changelog-facts dd > .status:first-child { display: inline-flex; margin: 0; font-size: var(--text-ui); }
92 .changelog-links a { display: inline-flex; align-items: center; gap: 0.25rem; }
93
93 lines CSS