commit - 1e512b19490ad9371a34009eebf2102c3bdf5e8b
commit + da37ab789a1bc885c821191e81d359dd12f8e87a
blob - 1df926b3ca6b7eff5f7bb96c14789cf3a4dfbe8e
blob + f25ab68279840e49bd8c3373acdbfdc917e306d9
--- about/index.html
+++ about/index.html
<!doctype html><html lang=en><head><meta charset=utf-8><meta content="width=device-width,initial-scale=1" name=viewport><title>
About |
-</title><style>body{max-width:700px;margin:40px auto;padding:0 16px;font-family:sans-serif;line-height:1.6}nav{margin-bottom:24px}nav a{margin-right:12px}ul{padding-left:20px}</style><body><nav><a href=https://m7o.gothub.org/>Home</a><a href=https://m7o.gothub.org/about/>About</a><a href=https://m7o.gothub.org/gist/>Gists</a></nav><main><h1 id=about>About</h1><p>About page.<p><a href=/>Home</a></main>
\ No newline at end of file
+</title><link href=https://m7o.gothub.org/site.css rel=stylesheet><body><nav><a href=https://m7o.gothub.org/>home</a><a href=https://m7o.gothub.org/about/>about</a><a href=https://m7o.gothub.org/gist/>gists</a></nav><main><h1 id=about>About</h1><p>About page.<p><a href=/>Home</a></main>
\ No newline at end of file
blob - f112eee5a51922606702765465d30830187ee61c
blob + e6eefa82164bd4bfe0ac132fa6c56f2395b48f9e
--- gist/first/index.html
+++ gist/first/index.html
<!doctype html><html lang=en><head><meta charset=utf-8><meta content="width=device-width,initial-scale=1" name=viewport><title>
First gist |
-</title><style>body{max-width:700px;margin:40px auto;padding:0 16px;font-family:sans-serif;line-height:1.6}nav{margin-bottom:24px}nav a{margin-right:12px}ul{padding-left:20px}</style><body><nav><a href=https://m7o.gothub.org/>Home</a><a href=https://m7o.gothub.org/about/>About</a><a href=https://m7o.gothub.org/gist/>Gists</a></nav><main><h1 id=first-gist>First gist</h1><p>Some content here.</main>
\ No newline at end of file
+</title><link href=https://m7o.gothub.org/site.css rel=stylesheet><body><nav><a href=https://m7o.gothub.org/>home</a><a href=https://m7o.gothub.org/about/>about</a><a href=https://m7o.gothub.org/gist/>gists</a></nav><main><h1 id=first-gist>First gist</h1><p>Some content here.</main>
\ No newline at end of file
blob - b70fa53d0fe85879f9a9d20eace1423204a2fcdc
blob + 45298b76d71452d76c3009e31c2f5013162cc383
--- gist/index.html
+++ gist/index.html
<!doctype html><html lang=en><head><meta charset=utf-8><meta content="width=device-width,initial-scale=1" name=viewport><title>
Gists |
-</title><style>body{max-width:700px;margin:40px auto;padding:0 16px;font-family:sans-serif;line-height:1.6}nav{margin-bottom:24px}nav a{margin-right:12px}ul{padding-left:20px}</style><body><nav><a href=https://m7o.gothub.org/>Home</a><a href=https://m7o.gothub.org/about/>About</a><a href=https://m7o.gothub.org/gist/>Gists</a></nav><main><h1 id=gists>Gists</h1><p>A list of all gists.<ul><li><a href=https://m7o.gothub.org/gist/first/>First gist</a><li><a href=https://m7o.gothub.org/gist/second/>Second gist</a></ul></main>
\ No newline at end of file
+</title><link href=https://m7o.gothub.org/site.css rel=stylesheet><body><nav><a href=https://m7o.gothub.org/>home</a><a href=https://m7o.gothub.org/about/>about</a><a href=https://m7o.gothub.org/gist/>gists</a></nav><main><h1 id=gists>Gists</h1><p>A list of all gists.<ul><li><a href=https://m7o.gothub.org/gist/first/>First gist</a><li><a href=https://m7o.gothub.org/gist/second/>Second gist</a></ul></main>
\ No newline at end of file
blob - 83d81e7a5f2d5027e248e34dcaa78fe3c00f8397
blob + 97855dda30113f1ba6f2d6532f3261af491382f2
--- gist/second/index.html
+++ gist/second/index.html
<!doctype html><html lang=en><head><meta charset=utf-8><meta content="width=device-width,initial-scale=1" name=viewport><title>
Second gist |
-</title><style>body{max-width:700px;margin:40px auto;padding:0 16px;font-family:sans-serif;line-height:1.6}nav{margin-bottom:24px}nav a{margin-right:12px}ul{padding-left:20px}</style><body><nav><a href=https://m7o.gothub.org/>Home</a><a href=https://m7o.gothub.org/about/>About</a><a href=https://m7o.gothub.org/gist/>Gists</a></nav><main><h1 id=second-gist>Second gist</h1><p>Some content here.</main>
\ No newline at end of file
+</title><link href=https://m7o.gothub.org/site.css rel=stylesheet><body><nav><a href=https://m7o.gothub.org/>home</a><a href=https://m7o.gothub.org/about/>about</a><a href=https://m7o.gothub.org/gist/>gists</a></nav><main><h1 id=second-gist>Second gist</h1><p>Some content here.</main>
\ No newline at end of file
blob - /dev/null
blob + 55b3acdddca868bee23e00bff7c43e7f6c5835a6 (mode 644)
Binary files /dev/null and fonts/spleen-8x16.woff differ
blob - /dev/null
blob + 44279d3df3ea944b4d3b7430f5a963431faf5493 (mode 644)
Binary files /dev/null and fonts/spleen-8x16.woff2 differ
blob - 0b7b68b5d7d869bb5f615b2280e343f7f9fec2bf
blob + e5d202588d9ef04f3bce7fa554dcba476de02868
--- index.html
+++ index.html
<!doctype html><html lang=en><head><meta charset=utf-8><meta content="width=device-width,initial-scale=1" name=viewport><title>
Home |
-</title><style>body{max-width:700px;margin:40px auto;padding:0 16px;font-family:sans-serif;line-height:1.6}nav{margin-bottom:24px}nav a{margin-right:12px}ul{padding-left:20px}</style><body><nav><a href=https://m7o.gothub.org/>Home</a><a href=https://m7o.gothub.org/about/>About</a><a href=https://m7o.gothub.org/gist/>Gists</a></nav><main><h1 id=hello>Hello</h1><p>This is my site.<p>It is built from Markdown and rendered with a tiny template.<p><a href=/about/>About</a></main>
\ No newline at end of file
+</title><link href=https://m7o.gothub.org/site.css rel=stylesheet><body><nav><a href=https://m7o.gothub.org/>home</a><a href=https://m7o.gothub.org/about/>about</a><a href=https://m7o.gothub.org/gist/>gists</a></nav><main><h1 id=hello>Hello</h1><p>This is my site.<p>It is built from Markdown and rendered with a tiny template.<p><a href=/about/>About</a></main>
\ No newline at end of file
blob - /dev/null
blob + 29d54bce00e34b89fecdf20d8c3cee5bfa0ec23c (mode 644)
--- /dev/null
+++ site.css
+@font-face {
+ font-family: "Spleen";
+ src:
+ url("/fonts/spleen-8x16.woff2") format("woff2"),
+ url("/fonts/spleen-8x16.woff") format("woff");
+ font-weight: normal;
+ font-style: normal;
+ font-display: swap;
+}
+
+:root {
+ --content-width: 880px;
+ --space: 16px;
+ --bg: #f6f6f1;
+ --fg: #111111;
+ --muted: #444444;
+ --border: #c8c8c8;
+ --link: #0b3d91;
+}
+
+html {
+ box-sizing: border-box;
+}
+
+*,
+*::before,
+*::after {
+ box-sizing: inherit;
+}
+
+body {
+ margin: 0;
+ background: var(--bg);
+ color: var(--fg);
+ font-family: "Spleen", monospace;
+ line-height: 1.5;
+ font-size: 16px;
+}
+
+nav,
+main,
+footer {
+ width: 100%;
+ max-width: var(--content-width);
+ margin-left: auto;
+ margin-right: auto;
+ padding-left: var(--space);
+ padding-right: var(--space);
+}
+
+nav {
+ margin-top: 32px;
+ margin-bottom: 24px;
+ padding-bottom: 12px;
+ border-bottom: 1px solid var(--border);
+}
+
+nav a {
+ margin-right: 16px;
+ color: var(--link);
+ text-decoration: none;
+}
+
+nav a:hover,
+nav a:focus {
+ text-decoration: underline;
+}
+
+main {
+ margin-bottom: 48px;
+}
+
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
+ line-height: 1.2;
+ margin-top: 1.4em;
+ margin-bottom: 0.6em;
+}
+
+p,
+ul,
+ol,
+pre,
+blockquote {
+ margin-top: 0;
+ margin-bottom: 1rem;
+}
+
+ul,
+ol {
+ padding-left: 20px;
+}
+
+code,
+pre,
+kbd {
+ font-family: "Spleen", monospace;
+}
+
+pre {
+ padding: 12px;
+ overflow-x: auto;
+ border: 1px solid var(--border);
+ background: #efefe8;
+}
+
+code {
+ background: #efefe8;
+ padding: 0.08rem 0.25rem;
+}
+
+pre code {
+ background: transparent;
+ padding: 0;
+}
+
+blockquote {
+ margin-left: 0;
+ padding-left: 12px;
+ border-left: 3px solid var(--border);
+ color: var(--muted);
+}
+
+img {
+ max-width: 100%;
+ height: auto;
+ border: 1px solid var(--border);
+}
+
+table {
+ width: 100%;
+ border-collapse: collapse;
+ margin-bottom: 1rem;
+}
+
+th,
+td {
+ text-align: left;
+ padding: 8px;
+ border: 1px solid var(--border);
+}
+
+a {
+ color: var(--link);
+ text-decoration: none;
+}
+
+a:visited {
+ color: var(--link);
+ text-decoration: none;
+}
+
+a:hover,
+a:focus {
+ text-decoration: underline;
+}