base.css

GitHub
[data-system="lime"], .lime {
  background: var(--page);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  font-weight: var(--weight-normal);
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color-scheme: light;
}
[data-system="lime"][data-theme="dark"], .lime[data-theme="dark"], [data-theme="dark"] [data-system="lime"], [data-theme="dark"] .lime { color-scheme: dark; }
@layer base {
  .lime :where(*, ::before, ::after), [data-system="lime"] :where(*, ::before, ::after) { box-sizing: border-box; border: 0 solid var(--line); margin: 0; padding: 0; }
  .lime :where(h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, pre) { margin: 0; font: inherit; }
  .lime :where(ul, ol) { list-style: none; }
  .lime :where(a) { color: inherit; text-decoration: inherit; }
  .lime :where(button, input, select, textarea) { font: inherit; letter-spacing: inherit; color: inherit; background: transparent; }
  .lime :where(button, [role="button"]) { cursor: pointer; }
  .lime :where(button:disabled, [aria-disabled="true"]) { cursor: not-allowed; }
  .lime :where(img, video, canvas, svg) { display: block; max-width: 100%; }
  .lime :where(table) { border-collapse: collapse; }
  .lime :where(code, kbd, samp, pre) { font-family: var(--font-mono); }
  .lime :where(td, th, time, data, output) { font-variant-numeric: tabular-nums; }
  .lime :where(a, button, summary, input, select, textarea, label, [role="button"], [role="tab"], [role="menuitem"], [role="option"], [role="switch"], [role="checkbox"], [role="radio"]) {
    transition-property: color, background-color, border-color, box-shadow, opacity;
    transition-duration: var(--dur-instant);
    transition-timing-function: var(--ease-out);
  }
  .lime :where(*, ::before, ::after), [data-system="lime"] :where(*, ::before, ::after) { outline-color: var(--ring); }
}
.lime ::selection { background: var(--accent); color: var(--on-accent); }
.lime :where(*):is(:focus-visible, [data-force-focus-visible]) { outline: var(--line-focus) solid var(--ring); outline-offset: var(--focus-offset); }
.lime, .lime * { scrollbar-color: var(--scrollbar-thumb) transparent; }
@media (pointer: coarse) {
  .lime input:not([type="checkbox"], [type="radio"], [type="range"], [type="button"], [type="submit"], [type="file"]),
  .lime textarea,
  .lime select { font-size: max(16px, 1em); }
}