summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/img/rms-horse.pngbin0 -> 1217928 bytes
-rw-r--r--static/style.css154
2 files changed, 154 insertions, 0 deletions
diff --git a/static/img/rms-horse.png b/static/img/rms-horse.png
new file mode 100644
index 0000000..3612dfa
--- /dev/null
+++ b/static/img/rms-horse.png
Binary files differ
diff --git a/static/style.css b/static/style.css
new file mode 100644
index 0000000..5b91113
--- /dev/null
+++ b/static/style.css
@@ -0,0 +1,154 @@
+:root {
+ --fg: #000;
+ --bg: #eee;
+ --bg-code: #ddd;
+ --border: 0.1rem solid var(--fg);
+}
+
+/* Generic */
+body {
+ color: var(--fg);
+ background-color: var(--bg);
+ fill: var(--fg);
+
+ margin: 0 auto;
+ max-width: 48em;
+ padding: 1em;
+ font: 1em/1.2 serif;
+
+ overflow-y: scroll;
+}
+
+h1 {
+ font: 1.4em serif;
+}
+
+h2 {
+ font: 1.2em serif;
+ margin: 0em;
+}
+
+a {
+ font-style: italic;
+ color: #000;
+}
+
+/* visited link */
+a:visited {
+ color: #555;
+}
+
+img {
+ max-width: 100%;
+}
+
+/* Blockquote */
+blockquote {
+ margin: 1.5em 0;
+ padding: 0.75em 1em;
+ border-left: 0.3em solid #aaa;
+ background: #f9f9f9;
+}
+
+blockquote p {
+ margin: 0.5em 0;
+}
+
+blockquote {
+ color: #333;
+ font-style: italic;
+}
+
+blockquote p:first-child { margin-top: 0em; }
+blockquote p:last-child { margin-bottom: 0em; }
+
+/* Codeblocks */
+pre {
+ background: var(--bg-code);
+ padding: 0em 1em 1em 1em;
+ overflow-x: auto;
+}
+
+code {
+ font-family: monospace;
+ padding: 0em;
+}
+
+/* Inline Code */
+p code {
+ background: var(--bg-code);
+ border: 1px solid #ddd;
+ padding: 0.1em 0.3em;
+}
+
+/* Footnotes */
+.footnotes {
+ border-top: var(--border);
+ font: 0.8em serif;
+ padding: 1em 3em;
+
+ li {
+ margin-bottom: 0.5em;
+ }
+}
+
+/* Header */
+header {
+ border-bottom: var(--border);
+ padding-bottom: 1em;
+
+ .site-title a {
+ font-style: normal;
+ color: inherit;
+ text-decoration: none;
+ }
+}
+
+.site-nav a {
+ font-style: normal;
+ margin-right: 1.5em;
+ text-decoration: none;
+ color: #333;
+}
+
+/* Footer */
+footer {
+ border-top: var(--border);
+ padding: 1em;
+ text-align: center;
+ font: 0.7em sans-serif;
+}
+
+/* Writings Index */
+li.writing {
+ display: flex;
+ justify-content: space-between;
+ list-style: none;
+ margin-bottom: 0.5em;
+}
+
+li.writing span:first-child {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ margin-right: 1ch;
+}
+
+li.writing span:nth-child(2) {
+ margin-left: auto;
+ white-space: nowrap;
+}
+
+ul.writ-index {
+ padding: 0em;
+}
+
+.categories {
+ margin-top: 0.5em;
+}
+
+a.category {
+ margin-right: 0.1em;
+ /*text-decoration: none;*/
+ color: #222;
+}