| 1 | @import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap"); |
| 2 | |
| 3 | :root { |
| 4 | --page: #faf8f5; |
| 5 | --surface: #ffffff; |
| 6 | --hover: #f3f0ea; |
| 7 | --ink: #2c2824; |
| 8 | --ink-2: #4a4540; |
| 9 | --muted: #7a746c; |
| 10 | --faint: #a09888; |
| 11 | --accent: #4d8a78; |
| 12 | --accent-subtle: #e8f2ee; |
| 13 | --halo: #d7e2dc; |
| 14 | --line: #d9d3ca; |
| 15 | --line-2: #e8e3db; |
| 16 | --add-bg: rgba(46, 160, 67, 0.09); |
| 17 | --add: #1a7f37; |
| 18 | --del-bg: rgba(248, 81, 73, 0.09); |
| 19 | --del: #cf222e; |
| 20 | --mono: "JetBrains Mono", Menlo, monospace; |
| 21 | } |
| 22 | |
| 23 | * { box-sizing: border-box; } |
| 24 | html { -webkit-text-size-adjust: 100%; } |
| 25 | body { margin: 0; background: var(--page); color: var(--ink); font: 14px/1.5 var(--mono); font-feature-settings: "calt" 0; } |
| 26 | a { color: inherit; text-decoration: none; } |
| 27 | a:hover { text-decoration: underline; } |
| 28 | h1, h2 { font-weight: 500; letter-spacing: -0.02em; margin: 0; } |
| 29 | h2 { font-size: 13px; color: var(--muted); margin: 36px 0 10px; } |
| 30 | pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: inherit; font-size: 12px; } |
| 31 | .faint { color: var(--faint); } |
| 32 | .wrap { max-width: 1440px; margin: 0 auto; padding: 0 24px; } |
| 33 | main.wrap { padding-top: 24px; padding-bottom: 64px; } |
| 34 | |
| 35 | /* Top bar */ |
| 36 | .top { background: var(--page); border-bottom: 1px solid var(--line-2); } |
| 37 | .top .wrap { height: 56px; display: flex; align-items: center; gap: 18px; } |
| 38 | .brand { display: flex; align-items: center; gap: 6px; font-size: 22px; font-weight: 500; letter-spacing: -0.04em; } |
| 39 | .brand:hover { text-decoration: none; } |
| 40 | .crumbs { display: flex; align-items: center; gap: 8px; color: var(--muted); min-width: 0; white-space: nowrap; overflow: hidden; } |
| 41 | .crumbs a:last-child, .crumbs span:last-child { color: var(--ink); } |
| 42 | .sep { color: var(--faint); } |
| 43 | |
| 44 | .head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; } |
| 45 | .title { font-size: 22px; } |
| 46 | .tag { padding: 0 6px; font-size: 11px; color: var(--muted); border: 1px solid var(--line); } |
| 47 | .meta { font-size: 12px; color: var(--muted); } |
| 48 | .meta a, .who a { color: var(--ink-2); } |
| 49 | .meta.line { margin: 6px 0 16px; } |
| 50 | .agent { color: var(--accent); } |
| 51 | .prose { white-space: pre-wrap; word-break: break-word; color: var(--ink-2); margin: 8px 0; max-width: 90ch; } |
| 52 | .empty { padding: 18px 14px; color: var(--muted); background: var(--surface); border: 1px solid var(--line-2); } |
| 53 | |
| 54 | /* States */ |
| 55 | .state { font-size: 11px; padding: 0 6px; border: 1px solid currentColor; } |
| 56 | .state.proposed { color: var(--accent); } |
| 57 | .state.idea, .state.draft { color: var(--muted); } |
| 58 | .state.landed { color: #6b4fa0; } |
| 59 | .state.declined, .state.withdrawn { color: #a05050; } |
| 60 | .behind { color: #a05050; } |
| 61 | |
| 62 | /* Signing in and deciding */ |
| 63 | .account { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 12px; } |
| 64 | .account button, .decide button, .say button { font: inherit; font-size: 12px; padding: 4px 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; } |
| 65 | .account button { padding: 2px 8px; color: var(--muted); } |
| 66 | button:hover { border-color: var(--ink); } |
| 67 | button.primary { background: var(--accent); border-color: var(--accent); color: #fff; } |
| 68 | button.primary:hover { background: #3d7a68; } |
| 69 | .decide { display: flex; gap: 8px; margin: 4px 0 12px; } |
| 70 | .error { border: 1px solid #a05050; color: #a05050; background: #f5e8e8; padding: 8px 12px; margin: 8px 0; font-size: 12px; } |
| 71 | .say { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; } |
| 72 | .say textarea { font: inherit; font-size: 13px; padding: 8px 10px; border: 1px solid var(--line); background: var(--surface); resize: vertical; } |
| 73 | .say button { align-self: flex-start; } |
| 74 | |
| 75 | /* Tiles: one hairline between every tile. */ |
| 76 | .tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); margin-top: 20px; } |
| 77 | .tile { display: flex; flex-direction: column; gap: 12px; min-width: 0; min-height: 168px; padding: 18px 20px; background: var(--surface); } |
| 78 | .tile:hover { background: var(--hover); text-decoration: none; } |
| 79 | .tile-head { display: flex; align-items: center; gap: 14px; min-width: 0; } |
| 80 | .tile-title { min-width: 0; } |
| 81 | .tile-owner { font-size: 12px; color: var(--faint); } |
| 82 | .tile-name { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; color: var(--accent); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } |
| 83 | .tile:hover .tile-name { text-decoration: underline; } |
| 84 | .tile-desc { font-size: 13px; color: var(--ink-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } |
| 85 | .tile-meta { display: flex; gap: 14px; margin-top: auto; font-size: 12px; color: var(--muted); white-space: nowrap; } |
| 86 | .tile-open { color: var(--ink-2); } |
| 87 | .icon { flex: none; display: block; } |
| 88 | img.icon { object-fit: contain; } |
| 89 | .lede { color: var(--ink-2); max-width: 80ch; margin: 0 0 4px; } |
| 90 | |
| 91 | /* A project */ |
| 92 | .project-head { display: flex; align-items: center; gap: 16px; margin-top: 8px; } |
| 93 | .project-head .owner { font-size: 13px; color: var(--muted); } |
| 94 | .project-head .title { font-size: 28px; display: flex; align-items: center; gap: 10px; } |
| 95 | .lede { font-size: 15px; color: var(--ink-2); max-width: 80ch; margin: 16px 0 0; line-height: 1.6; } |
| 96 | .facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 16px 0 8px; font-size: 13px; color: var(--muted); } |
| 97 | .facts a { color: var(--ink-2); } |
| 98 | .section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; } |
| 99 | .activity { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--faint); margin: 28px 0 8px; } |
| 100 | .heat { display: grid; grid-template-columns: repeat(84, 6px); gap: 2px; } |
| 101 | .heat i { width: 6px; height: 6px; background: var(--line-2); } |
| 102 | .heat .h1 { background: #cfe2da; } |
| 103 | .heat .h2 { background: #9cc4b5; } |
| 104 | .heat .h3 { background: #6fa592; } |
| 105 | .heat .h4 { background: var(--accent); } |
| 106 | @media (max-width: 900px) { .activity { display: none; } } |
| 107 | |
| 108 | /* Lists */ |
| 109 | .list { background: var(--surface); border: 1px solid var(--line-2); } |
| 110 | .list > * { border-top: 1px solid var(--line-2); } |
| 111 | .list > *:first-child { border-top: 0; } |
| 112 | .list .empty { border: 0; } |
| 113 | .row { display: flex; gap: 16px; padding: 12px 16px; align-items: baseline; } |
| 114 | .row .side { flex: none; white-space: nowrap; } |
| 115 | @media (max-width: 700px) { .row { flex-wrap: wrap; } .row .side { width: 100%; } } |
| 116 | .row .n { color: var(--faint); min-width: 4ch; font-size: 12px; } |
| 117 | .grow { flex: 1; min-width: 0; } |
| 118 | .msg { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } |
| 119 | .tree a { display: flex; gap: 8px; padding: 6px 12px; } |
| 120 | .tree a:hover { background: var(--hover); text-decoration: none; } |
| 121 | .tree .icon { width: 1ch; color: var(--faint); } |
| 122 | .tree .dir { color: var(--accent); } |
| 123 | |
| 124 | /* A change */ |
| 125 | .revs { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin: 16px 0 8px; } |
| 126 | .revs a { padding: 2px 8px; border: 1px solid var(--line); background: var(--surface); } |
| 127 | .revs a.on { border-color: var(--ink); } |
| 128 | .revs .meta { margin-left: 8px; } |
| 129 | .steps { font-size: 12px; color: var(--ink-2); border-left: 2px solid var(--line); padding-left: 10px; margin: 8px 0; } |
| 130 | .evidence { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; } |
| 131 | .evidence figure { margin: 0; background: var(--surface); border: 1px solid var(--line-2); padding: 10px; min-width: 0; } |
| 132 | .evidence figcaption { font-size: 12px; margin-bottom: 8px; } |
| 133 | .evidence img { max-width: 100%; display: block; } |
| 134 | .timeline { display: flex; flex-direction: column; gap: 6px; } |
| 135 | .event { font-size: 12px; color: var(--muted); } |
| 136 | .said { background: var(--surface); border: 1px solid var(--line-2); padding: 10px 12px; } |
| 137 | .said .prose { margin: 4px 0 0; color: var(--ink); } |
| 138 | |
| 139 | /* Diffs and files */ |
| 140 | .filelist { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); margin-bottom: 12px; font-size: 12px; } |
| 141 | .filelist a { display: flex; gap: 8px; padding: 5px 10px; background: var(--surface); min-width: 0; } |
| 142 | .filelist .path { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } |
| 143 | .status { width: 1ch; } |
| 144 | .status.added { color: var(--add); } |
| 145 | .status.deleted { color: var(--del); } |
| 146 | .status.modified { color: var(--muted); } |
| 147 | .add { color: var(--add); } |
| 148 | .del { color: var(--del); } |
| 149 | .file { background: var(--surface); border: 1px solid var(--line-2); margin-bottom: 12px; } |
| 150 | .file summary { display: flex; gap: 10px; padding: 7px 12px; cursor: pointer; font-size: 12px; border-bottom: 1px solid var(--line-2); } |
| 151 | .file summary .path { flex: 1; color: var(--ink); } |
| 152 | table.diff { width: 100%; border-collapse: collapse; font-size: 12px; line-height: 1.55; } |
| 153 | table.diff td { padding: 0 8px; vertical-align: top; } |
| 154 | table.diff .ln { width: 1%; min-width: 4ch; text-align: right; color: var(--faint); user-select: none; } |
| 155 | table.diff .code { white-space: pre-wrap; word-break: break-all; } |
| 156 | table.diff tr.add { background: var(--add-bg); } |
| 157 | table.diff tr.del { background: var(--del-bg); } |
| 158 | table.diff tr.gap td { height: 10px; background: var(--page); } |
| 159 | table.source { background: var(--surface); border: 1px solid var(--line-2); } |
| 160 | .image { padding: 12px; background: var(--surface); border: 1px solid var(--line-2); } |
| 161 | .image img { max-width: 100%; display: block; } |
| 162 | .path-trail { font-size: 16px; display: flex; gap: 6px; flex-wrap: wrap; } |
| 163 | .path-trail a:last-child { color: var(--ink); font-weight: 500; } |
| 164 | |
| 165 | @media (max-width: 640px) { .wrap { padding: 0 14px; } } |