style.css raw

:root {
  --bg: #fdfdfb;
  --fg: #1f2328;
  --muted: #6a737d;
  --accent: #2b4c7e;
  --rule: #d8dde3;
  --code-bg: #f1f3f5;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171a;
    --fg: #e6e9ec;
    --muted: #9aa4ae;
    --accent: #8fb4ec;
    --rule: #2e353d;
    --code-bg: #1e2429;
  }
}

html {
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body {
  margin: 0 auto;
  max-width: 56rem;
  padding: 0 1.25rem 3rem;
}

a {
  color: var(--accent);
}

code, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.site-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 1.5rem;
}

.site-name {
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

.site-footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.85rem;
}

.empty {
  color: var(--muted);
}

.repo-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.repo-list-item {
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) 3fr auto;
  gap: 0.25rem 1rem;
  align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--rule);
}

.repo-name {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.repo-description {
  color: var(--fg);
}

.repo-updated {
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

@media (max-width: 40rem) {
  .repo-list-item {
    grid-template-columns: 1fr;
  }

  .repo-description:empty,
  .repo-updated:empty {
    display: none;
  }
}

.pager {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1rem;
  color: var(--muted);
}

.pager-disabled {
  opacity: 0.5;
}

.repo-header h1 {
  margin-bottom: 0.25rem;
}

.repo-header .repo-description {
  margin-top: 0;
  font-size: 1.1rem;
}

.repo-facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.35rem 1rem;
  margin: 1rem 0 0;
}

.repo-facts dt {
  color: var(--muted);
}

.repo-facts dd {
  margin: 0;
}

.clone-url {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: var(--code-bg);
  border-radius: 4px;
  user-select: all;
  overflow-wrap: anywhere;
}

.readme {
  margin-top: 2rem;
  border: 1px solid var(--rule);
  border-radius: 6px;
}

.readme-title {
  margin: 0;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  background: var(--code-bg);
}

.markdown, .plain {
  padding: 1rem 1.5rem;
}

.plain {
  margin: 0;
  white-space: pre-wrap;
}

.markdown img {
  max-width: 100%;
}

.markdown pre {
  padding: 0.75rem 1rem;
  background: var(--code-bg);
  border-radius: 4px;
  overflow-x: auto;
}

.markdown code {
  background: var(--code-bg);
  padding: 0.1em 0.3em;
  border-radius: 3px;
}

.markdown pre code {
  padding: 0;
  background: none;
}

.markdown table {
  border-collapse: collapse;
}

.markdown th, .markdown td {
  border: 1px solid var(--rule);
  padding: 0.3rem 0.6rem;
}

.markdown blockquote {
  margin-left: 0;
  padding-left: 1rem;
  border-left: 3px solid var(--rule);
  color: var(--muted);
}

.markdown h1:first-child {
  margin-top: 0;
}

.breadcrumbs {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  overflow-wrap: anywhere;
}

.breadcrumbs .sep {
  color: var(--muted);
  margin: 0 0.3rem;
}

.breadcrumbs .current {
  font-weight: 600;
}

.dir-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid var(--rule);
  border-radius: 6px;
}

.dir-entry {
  padding: 0.4rem 1rem;
  border-bottom: 1px solid var(--rule);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.dir-entry:last-child {
  border-bottom: none;
}

.dir-entry.is-dir a {
  font-weight: 600;
}

.dir-list .empty {
  padding: 0.4rem 1rem;
}

.readme-title a {
  color: inherit;
  text-decoration: none;
}

.readme-title a:hover {
  text-decoration: underline;
}

.raw-link {
  float: right;
  font-weight: 400;
}

.file-image {
  padding: 1rem 1.5rem;
  margin: 0;
  text-align: center;
}