Skip to content

Commit cb52536

Browse files
committed
fix: align dotdog page styling
1 parent 38ce31a commit cb52536

2 files changed

Lines changed: 9 additions & 15 deletions

File tree

dotdog.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
width: min(calc(100vw - 48px), 960px);
1919
margin: 0 auto 32px;
2020
padding: 8px 0 0;
21-
position: relative;
22-
left: 50%;
23-
transform: translateX(-50%);
2421
}
2522
nav a { color: #6b7280; text-decoration: none; font-size: .9em; font-weight: 500; line-height: 1.4; }
2623
nav a:hover, nav a.active { color: #d97706; }

dotdog/index.html

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,25 @@
77
<meta name="description" content="dotdog CLI and MCP server for .dog specs, .dag graphs, repo mapping, and multi-repo workspaces.">
88
<link rel="icon" type="image/svg+xml" href="/dotdog/assets/dog.svg">
99
<style>
10-
* { box-sizing: border-box; }
10+
* { margin: 0; padding: 0; box-sizing: border-box; }
1111
body { margin:0; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif; color:#1a1a2e; background:#fff; padding:24px; }
1212
nav { display:flex; justify-content:center; gap:18px; padding:8px 0 32px; flex-wrap:wrap; }
1313
nav a { color:#6b7280; text-decoration:none; font-size:.9em; font-weight:500; }
1414
nav a:hover, nav a.active { color:#d97706; }
15-
main { max-width:760px; margin:0 auto; }
16-
.hero { text-align:center; margin:12px 0 32px; }
17-
h1 { font-size:2.4rem; margin:0 0 8px; }
18-
.tagline { color:#4b5563; font-size:1.08rem; line-height:1.6; margin:0 auto; max-width:680px; }
19-
.panel { border:1px solid #e5e7eb; background:#fafafa; border-radius:12px; padding:18px; margin:16px 0; }
15+
main { max-width:760px; margin:0 auto; text-align:center; }
16+
.hero { text-align:center; margin:12px 0 24px; }
17+
h1 { font-size:2.4em; font-weight:700; margin:12px 0 4px; }
18+
.tagline { color:#6b7280; font-size:1.1em; line-height:1.6; margin:0 auto 4px; max-width:680px; }
19+
.panel { border:1px solid #e5e7eb; background:#fafafa; border-radius:10px; padding:12px 14px; margin:10px 0; text-align:left; }
2020
h2 { margin:0 0 10px; font-size:1.2rem; }
2121
p, li { color:#4b5563; line-height:1.6; }
22-
pre { background:#1e293b; color:#e2e8f0; border-radius:10px; padding:16px; overflow:auto; }
22+
pre { background:#1e293b; color:#e2e8f0; border-radius:8px; padding:16px 20px; overflow:auto; text-align:left; font-size:.85em; }
2323
code { color:#2563eb; }
2424
pre code { color:#93c5fd; }
2525
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:12px; }
26-
.card { border:1px solid #e5e7eb; border-radius:10px; padding:14px; background:white; }
26+
.card { border:1px solid #e5e7eb; border-radius:10px; padding:12px 14px; background:#fafafa; text-align:left; }
2727
.btns { display:flex; justify-content:center; gap:10px; flex-wrap:wrap; margin-top:20px; }
28-
.btn { display:inline-block; padding:10px 18px; border-radius:8px; text-decoration:none; font-weight:700; }
28+
.btn { display:inline-block; padding:10px 22px; border-radius:6px; text-decoration:none; font-weight:600; font-size:.92em; }
2929
.primary { background:#f59e0b; color:#1a1a2e; }
3030
.secondary { background:#f1f5f9; color:#1e293b; border:1px solid #cbd5e1; }
3131

@@ -41,9 +41,6 @@
4141
width: min(calc(100vw - 48px), 960px);
4242
margin: 0 auto 32px;
4343
padding: 8px 0 0;
44-
position: relative;
45-
left: 50%;
46-
transform: translateX(-50%);
4744
}
4845
nav a { color: #6b7280; text-decoration: none; font-size: .9em; font-weight: 500; line-height: 1.4; }
4946
nav a:hover, nav a.active { color: #d97706; }

0 commit comments

Comments
 (0)