css81 lines4.9 KB
| 1 | /* Dark, restrained workspace. System fonts only; no remote assets are loaded. */ |
| 2 | :root { |
| 3 | --bg: #14161a; |
| 4 | --panel: #1a1d23; |
| 5 | --panel-2: #20242b; |
| 6 | --line: #2c313a; |
| 7 | --line-soft: #242830; |
| 8 | --text: #e7e9ee; |
| 9 | --muted: #98a1af; |
| 10 | --accent: #8ab6d6; |
| 11 | --observed: #8fbf8a; |
| 12 | --focus: #b9d7ee; |
| 13 | --serif: ui-serif, Georgia, "Iowan Old Style", "Times New Roman", serif; |
| 14 | --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; |
| 15 | --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; |
| 16 | } |
| 17 | * { box-sizing: border-box; } |
| 18 | html { color-scheme: dark; } |
| 19 | body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 1.45; } |
| 20 | h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: .01em; } |
| 21 | h1 { font-size: 1.2rem; margin: 0; } |
| 22 | h2 { font-size: 1.05rem; margin: 0; } |
| 23 | h3 { font-size: .95rem; margin: 0 0 .55rem; padding-bottom: .3rem; border-bottom: 1px solid var(--line-soft); } |
| 24 | a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; } |
| 25 | a:focus-visible, button:focus-visible, tr:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; } |
| 26 | .thin, .src { color: var(--muted); } |
| 27 | .thin { font-size: .82rem; } |
| 28 | .num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; } |
| 29 | .mono { font-family: var(--mono); font-size: .85em; } |
| 30 | |
| 31 | .topbar { display: flex; gap: 1rem; align-items: flex-end; justify-content: space-between; padding: .8rem 1.25rem; border-bottom: 1px solid var(--line); background: var(--panel); } |
| 32 | .strap { margin: .15rem 0 0; color: var(--muted); font-size: .82rem; } |
| 33 | .topbar-controls { display: flex; gap: .9rem; align-items: flex-end; } |
| 34 | .chip { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--observed); border: 1px solid #2f4a2d; background: #172117; padding: .2rem .5rem; border-radius: 3px; white-space: nowrap; } |
| 35 | |
| 36 | main { padding: .9rem 1.25rem 2rem; } |
| 37 | .project-totals { margin-bottom: .9rem; } |
| 38 | .project-totals h2 { margin-bottom: .55rem; } |
| 39 | .totals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; } |
| 40 | .total, .panel { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; } |
| 41 | .total { padding: .65rem .8rem; } |
| 42 | .total .n { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; font-variant-numeric: tabular-nums; } |
| 43 | .total .l { color: var(--muted); font-size: .75rem; } |
| 44 | .panel { padding: .9rem 1rem; } |
| 45 | .panel-head { display: flex; align-items: baseline; gap: .8rem; margin-bottom: .7rem; } |
| 46 | .categories { display: flex; flex-wrap: wrap; gap: .35rem; margin-left: auto; } |
| 47 | .category { color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: .16rem .6rem; font: inherit; font-size: .75rem; cursor: pointer; } |
| 48 | .category:hover { border-color: #3d5a72; color: var(--text); } |
| 49 | .category.on { color: var(--text); border-color: #3d5a72; background: #1d2733; } |
| 50 | .table-wrap { overflow-x: auto; } |
| 51 | table { width: 100%; min-width: 610px; border-collapse: collapse; font-size: .86rem; } |
| 52 | th { text-align: left; font-weight: 600; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; padding: .3rem .5rem; border-bottom: 1px solid var(--line); white-space: nowrap; } |
| 53 | th.sorted { color: var(--accent); } |
| 54 | td { padding: .4rem .5rem; border-bottom: 1px solid var(--line-soft); vertical-align: middle; } |
| 55 | tbody tr.click { cursor: pointer; } |
| 56 | tbody tr.click:hover { background: #1f2630; } |
| 57 | .owner { font-weight: 600; } |
| 58 | |
| 59 | .crumb { color: var(--muted); font-size: .85rem; margin-bottom: .6rem; } |
| 60 | .profile-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .8rem; } |
| 61 | .profile-head h2 { font-size: 1.35rem; } |
| 62 | .cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .9rem; align-items: start; } |
| 63 | .profile-fields, dl.record { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: .3rem .8rem; margin: 0; font-size: .88rem; } |
| 64 | .profile-fields dt, dl.record dt { color: var(--muted); } |
| 65 | .profile-fields dd, dl.record dd { margin: 0; } |
| 66 | .src { font-size: .76rem; } |
| 67 | .src a { font-family: var(--mono); font-size: .95em; } |
| 68 | .person { border: 1px solid var(--line); border-left: 3px solid var(--observed); border-radius: 4px; padding: .5rem .75rem; margin-top: .6rem; background: var(--panel-2); } |
| 69 | .person .who { font-weight: 600; font-size: .98rem; } |
| 70 | .person .role { color: var(--observed); font-size: .82rem; margin-left: .4rem; } |
| 71 | .person .also { color: var(--muted); font-size: .8rem; margin-top: .15rem; } |
| 72 | |
| 73 | @media (max-width: 760px) { |
| 74 | .topbar, .panel-head, .profile-head { flex-wrap: wrap; } |
| 75 | .topbar { align-items: flex-start; } |
| 76 | .topbar-controls, .categories { margin-left: 0; } |
| 77 | .totals-grid, .cols { grid-template-columns: 1fr; } |
| 78 | main { padding: .8rem .75rem 1.5rem; } |
| 79 | .panel { padding: .75rem; } |
| 80 | .profile-fields, dl.record { grid-template-columns: 8.5rem minmax(0, 1fr); } |
| 81 | } |