Widen the prettier gate to markdown and CSS everywhere (closes #12) #32

Merged
clawbot merged 2 commits from issue-12-widen-prettier-scope into main 2026-08-09 18:30:36 +02:00
Showing only changes of commit f3176a1121 - Show all commits

View File

@@ -1,101 +1,106 @@
:root { :root {
--bg: #ffffff; --bg: #ffffff;
--fg: #1a1a1a; --fg: #1a1a1a;
--accent: #0066cc; --accent: #0066cc;
--muted: #666; --muted: #666;
--max-w: 600px; --max-w: 600px;
} }
* { margin: 0; padding: 0; box-sizing: border-box; } * {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body { body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
background: var(--bg); "Helvetica Neue", Arial, sans-serif;
color: var(--fg); background: var(--bg);
line-height: 1.6; color: var(--fg);
padding: 2rem 1rem; line-height: 1.6;
max-width: 90%; padding: 2rem 1rem;
margin: 0 auto; max-width: 90%;
margin: 0 auto;
} }
h1 { h1 {
font-size: 1.8rem; font-size: 1.8rem;
margin-bottom: 0.25rem; margin-bottom: 0.25rem;
} }
.tagline { .tagline {
color: var(--muted); color: var(--muted);
margin-bottom: 2rem; margin-bottom: 2rem;
} }
h2 { h2 {
font-size: 1.2rem; font-size: 1.2rem;
margin-top: 2rem; margin-top: 2rem;
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
border-bottom: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0;
padding-bottom: 0.25rem; padding-bottom: 0.25rem;
} }
h3 { h3 {
font-size: 1rem; font-size: 1rem;
margin-top: 1.5rem; margin-top: 1.5rem;
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
font-weight: 600; font-weight: 600;
color: var(--muted); color: var(--muted);
} }
ul { ul {
list-style: none; list-style: none;
padding: 0; padding: 0;
} }
li { li {
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
} }
a { a {
color: var(--accent); color: var(--accent);
text-decoration: none; text-decoration: none;
} }
a:hover { a:hover {
text-decoration: underline; text-decoration: underline;
} }
.settings { .settings {
background: #f8f8f8; background: #f8f8f8;
border: 1px solid #e0e0e0; border: 1px solid #e0e0e0;
border-radius: 4px; border-radius: 4px;
padding: 1rem; padding: 1rem;
margin-top: 0.5rem; margin-top: 0.5rem;
font-family: "SF Mono", "Fira Code", "Consolas", monospace; font-family: "SF Mono", "Fira Code", "Consolas", monospace;
font-size: 0.9rem; font-size: 0.9rem;
line-height: 1.8; line-height: 1.8;
overflow-wrap: break-word; overflow-wrap: break-word;
word-break: break-all; word-break: break-all;
} }
.settings .label { .settings .label {
color: var(--muted); color: var(--muted);
} }
.settings .value { .settings .value {
color: var(--accent); color: var(--accent);
} }
.mono-link { .mono-link {
font-family: "SF Mono", "Fira Code", "Consolas", monospace; font-family: "SF Mono", "Fira Code", "Consolas", monospace;
font-size: 0.85rem; font-size: 0.85rem;
} }
footer { footer {
margin-top: 3rem; margin-top: 3rem;
color: var(--muted); color: var(--muted);
font-size: 0.8rem; font-size: 0.8rem;
border-top: 1px solid #e0e0e0; border-top: 1px solid #e0e0e0;
padding-top: 1rem; padding-top: 1rem;
} }
.contribute-link { .contribute-link {
font-size: 0.7rem; font-size: 0.7rem;
} }