Parent directory

site.css

9729 bytes
  1:root {
  2  --bg: #282828;
  3  --bg-hard: #1d2021;
  4  --surface: #32302f;
  5  --surface-raised: #3c3836;
  6  --surface-hover: #504945;
  7  --border: #665c54;
  8  --text: #ebdbb2;
  9  --muted: #a89984;
 10  --blue: #83a598;
 11  --aqua: #8ec07c;
 12  --green: #b8bb26;
 13  --yellow: #fabd2f;
 14  --red: #fb4934;
 15}
 16
 17* { box-sizing: border-box; }
 18
 19body {
 20  background: var(--bg);
 21  color: var(--text);
 22  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
 23  line-height: 1.55;
 24  margin: 0;
 25}
 26
 27.site-header {
 28  background: var(--bg-hard);
 29  border-bottom: 1px solid var(--border);
 30}
 31
 32.site-nav,
 33.page-shell {
 34  margin: 0 auto;
 35  max-width: 74rem;
 36  padding-left: 1.25rem;
 37  padding-right: 1.25rem;
 38}
 39
 40.site-nav { min-height: 4rem; display: flex; align-items: center; }
 41.page-shell { padding-bottom: 3rem; padding-top: 2.5rem; }
 42
 43.site-name,
 44.file-link,
 45.button,
 46.repository-tabs a {
 47  align-items: center;
 48  display: inline-flex;
 49  gap: 0.45rem;
 50}
 51
 52.site-name {
 53  color: var(--text);
 54  font-size: 1.08rem;
 55  font-weight: 750;
 56  text-decoration: none;
 57}
 58
 59.icon {
 60  fill: none;
 61  flex: 0 0 auto;
 62  height: 1.1em;
 63  stroke: currentColor;
 64  stroke-linecap: round;
 65  stroke-linejoin: round;
 66  stroke-width: 2;
 67  width: 1.1em;
 68}
 69
 70.site-name .icon { color: var(--aqua); font-size: 1.35rem; }
 71
 72a { color: var(--aqua); text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
 73a:hover { color: var(--green); }
 74
 75a:focus-visible,
 76input:focus-visible {
 77  border-radius: 0.25rem;
 78  outline: 3px solid var(--yellow);
 79  outline-offset: 3px;
 80}
 81
 82h1, h2, h3 { color: var(--text); line-height: 1.2; }
 83h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0; }
 84h2 { font-size: 1.35rem; margin: 0; }
 85h3 { font-size: 1.15rem; margin: 0; }
 86p { margin: 0; }
 87code, pre, .clone-url { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
 88code { color: #d5c4a1; font-size: 0.92em; }
 89
 90.repository-hero { margin-bottom: 2rem; max-width: 46rem; }
 91.repository-description { color: var(--muted); font-size: 1.05rem; margin-top: 0.65rem; }
 92
 93.panel,
 94.repository-card,
 95.empty-state {
 96  background: var(--surface);
 97  border: 1px solid var(--border);
 98  border-radius: 0.65rem;
 99}
100
101.panel { margin: 1.5rem 0; padding: 1.35rem; }
102.profile { margin: 0 0 2.25rem; }
103
104.section-heading {
105  align-items: flex-end;
106  display: flex;
107  gap: 1rem;
108  justify-content: space-between;
109  margin-bottom: 1.2rem;
110}
111
112.item-count,
113.updated,
114.repository-name,
115.repository-meta { color: var(--muted); font-size: 0.9rem; }
116
117.repository-list {
118  display: grid;
119  gap: 1rem;
120  list-style: none;
121  margin: 0;
122  padding: 0;
123}
124
125.repository-card {
126  color: var(--text);
127  display: flex;
128  flex-direction: column;
129  gap: 1.2rem;
130  height: 100%;
131  padding: 1.2rem;
132  transition: border-color 120ms ease, transform 120ms ease;
133}
134
135.repository-card:hover { border-color: var(--aqua); transform: translateY(-2px); }
136.repository-card-content { display: grid; gap: 0.45rem; }
137.repository-card { text-decoration: none; }
138.repository-card:hover h3 { color: var(--aqua); }
139.repository-card-meta { align-items: center; display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: auto; }
140
141.status-badge {
142  border: 1px solid currentColor;
143  border-radius: 999px;
144  display: inline-block;
145  font-size: 0.78rem;
146  font-weight: 700;
147  letter-spacing: 0.02em;
148  line-height: 1;
149  padding: 0.35rem 0.55rem;
150}
151.build-status-queued { color: var(--yellow); }
152.build-status-running { color: var(--blue); }
153.build-status-passed { color: var(--green); }
154.build-status-failed { color: var(--red); }
155.build-status-none,
156.build-status-unavailable { color: var(--muted); }
157
158.button {
159  background: var(--surface-raised);
160  border: 1px solid var(--border);
161  border-radius: 0.4rem;
162  color: var(--text);
163  font-size: 0.9rem;
164  cursor: pointer;
165  font: inherit;
166  font-weight: 650;
167  justify-content: center;
168  min-height: 2.5rem;
169  padding: 0.45rem 0.7rem;
170  text-decoration: none;
171}
172
173.button:hover,
174.repository-tabs a:hover { background: var(--surface-hover); border-color: var(--aqua); color: var(--text); }
175.button-secondary { background: var(--surface-raised); }
176
177.repository-meta { align-items: center; display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.1rem; }
178.repository-tabs { border-bottom: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 1.5rem; padding-bottom: 0.6rem; }
179.repository-tabs a,
180.repository-tab-button {
181  align-items: center;
182  background: transparent;
183  border: 1px solid transparent;
184  border-radius: 0.4rem;
185  color: var(--muted);
186  cursor: pointer;
187  display: inline-flex;
188  font: inherit;
189  font-weight: 650;
190  gap: 0.45rem;
191  padding: 0.5rem 0.65rem;
192  text-decoration: none;
193}
194.repository-tabs a:hover,
195.repository-tab-button:hover { color: var(--text); }
196.repository-tab-button { margin-left: auto; }
197.sr-only { height: 1px; margin: -1px; overflow: hidden; position: absolute; width: 1px; clip: rect(0, 0, 0, 0); white-space: nowrap; }
198
199.breadcrumb { align-items: center; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; overflow-wrap: anywhere; }
200.toolbar { margin: 0 0 1rem; }
201.file-header { align-items: flex-start; display: flex; gap: 1rem; justify-content: space-between; margin-bottom: 1.4rem; }
202.file-title { align-items: flex-start; color: var(--aqua); display: flex; font-size: 1.35rem; gap: 0.7rem; }
203.file-title .icon { margin-top: 0.2rem; }
204.file-header h1 { color: var(--text); }
205.file-actions { align-items: center; color: var(--muted); display: flex; flex-wrap: wrap; font-size: 0.9rem; gap: 0.7rem; justify-content: flex-end; }
206
207.table-wrap { max-width: 100%; overflow-x: auto; }
208table { border-collapse: collapse; min-width: 38rem; width: 100%; }
209th { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.06em; text-align: left; text-transform: uppercase; }
210th, td { border-bottom: 1px solid var(--border); padding: 0.75rem 0.6rem; vertical-align: middle; }
211tbody tr:hover { background: rgba(80, 73, 69, 0.5); }
212.file-link { color: var(--text); font-weight: 650; text-decoration: none; }
213.file-link .icon { color: var(--yellow); }
214.file-link:hover { color: var(--aqua); }
215
216.source,
217.commit-message {
218  background: var(--bg-hard);
219  border: 1px solid var(--border);
220  border-radius: 0.45rem;
221  color: var(--text);
222  margin: 1.25rem 0 0;
223  overflow-x: auto;
224  padding: 1rem;
225  white-space: pre;
226}
227.source { font-size: 0.88rem; }
228.commit-panel section + section { margin-top: 1.8rem; }
229.commit-panel section h2 { margin-bottom: 0.65rem; }
230.commit-details { display: grid; gap: 0.3rem 1rem; grid-template-columns: max-content 1fr; margin: 1.5rem 0; }
231.commit-details dt { color: var(--muted); font-weight: 700; }
232.commit-details dd { margin: 0; }
233
234.commit-list { display: grid; gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
235.commit-list li article { border-bottom: 1px solid var(--border); padding: 0.2rem 0 1rem; }
236.commit-list h2 { font-size: 1rem; }
237.commit-list h2 a { color: var(--text); }
238.commit-list p { color: var(--muted); display: flex; flex-wrap: wrap; font-size: 0.88rem; gap: 0.45rem; margin-top: 0.4rem; }
239.pagination { display: flex; gap: 0.65rem; justify-content: space-between; margin-top: 1.4rem; }
240.refs-panel section + section { border-top: 1px solid var(--border); margin-top: 2rem; padding-top: 1.5rem; }
241.refs-panel h2 { margin-bottom: 0.8rem; }
242
243.empty-state,
244.notice { color: var(--muted); margin: 1rem 0; padding: 1rem; }
245.notice { background: rgba(250, 189, 47, 0.08); border-left: 3px solid var(--yellow); }
246.empty-state .button { margin-left: 0.5rem; vertical-align: middle; }
247
248.markdown { color: var(--text); line-height: 1.7; }
249.markdown > :first-child { margin-top: 0; }
250.markdown > :last-child { margin-bottom: 0; }
251.markdown h1, .markdown h2, .markdown h3, .markdown h4, .markdown h5, .markdown h6 { color: var(--text); line-height: 1.25; margin: 1.5em 0 0.6em; }
252.markdown h1 { font-size: 1.8rem; }
253.markdown h2 { border-bottom: 1px solid var(--border); font-size: 1.45rem; padding-bottom: 0.2rem; }
254.markdown h3 { font-size: 1.2rem; }
255.markdown h4, .markdown h5, .markdown h6 { font-size: 1rem; }
256.markdown p, .markdown ul, .markdown ol { margin: 0.85rem 0; }
257.markdown ul, .markdown ol { padding-left: 1.75rem; }
258.markdown li + li { margin-top: 0.25rem; }
259.markdown blockquote { border-left: 0.25rem solid var(--aqua); color: var(--muted); margin: 1rem 0; padding: 0.1rem 0 0.1rem 1rem; }
260.markdown code { background: var(--surface-raised); border-radius: 0.2rem; padding: 0.1em 0.3em; }
261.markdown pre { background: var(--bg-hard); border: 1px solid var(--border); border-radius: 0.3rem; overflow-x: auto; padding: 0.85rem 1rem; }
262.markdown pre code { background: transparent; padding: 0; }
263.markdown table { border-collapse: collapse; display: block; margin: 1rem 0; max-width: 100%; overflow-x: auto; width: max-content; }
264.markdown th, .markdown td { border: 1px solid var(--border); padding: 0.4rem 0.65rem; text-align: left; }
265.markdown th { background: var(--surface-raised); font-weight: 600; }
266.markdown hr { border: 0; border-top: 1px solid var(--border); margin: 1.5rem 0; }
267.markdown a { text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
268.markdown img { height: auto; max-width: 100%; }
269
270@media (min-width: 48rem) {
271  .repository-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
272}
273
274@media (max-width: 35rem) {
275  .page-shell { padding-left: 1rem; padding-right: 1rem; padding-top: 1.5rem; }
276  .section-heading, .file-header { align-items: flex-start; flex-direction: column; }
277  .repository-tabs { display: grid; grid-template-columns: 1fr; }
278  .repository-tabs a,
279  .repository-tab-button { justify-content: flex-start; margin-left: 0; }
280  .pagination { align-items: stretch; flex-direction: column; }
281}