summaryrefslogtreecommitdiff
path: root/packages/blog/templates/base.html
diff options
context:
space:
mode:
authorKleidi Bujari <mail@4kb.net>2025-04-02 22:11:38 -0400
committerKleidi Bujari <mail@4kb.net>2025-04-02 22:11:38 -0400
commitc950f338c5720a132552863a35d1c7924df3d3a6 (patch)
treec3134c42e1618c255ca8e9e0698f90b0ae8b3563 /packages/blog/templates/base.html
parentb619ff9dd42eaa62569c8297142f0e4c719d40d2 (diff)
parent09c2b6de63a6ff35348fcb2c2eb57b974f0a8a52 (diff)
downloaddepot-c950f338c5720a132552863a35d1c7924df3d3a6.tar.gz
depot-c950f338c5720a132552863a35d1c7924df3d3a6.tar.bz2
depot-c950f338c5720a132552863a35d1c7924df3d3a6.zip
Merge remote-tracking branch 'origin/copy-blueprint'
Diffstat (limited to 'packages/blog/templates/base.html')
-rw-r--r--packages/blog/templates/base.html88
1 files changed, 88 insertions, 0 deletions
diff --git a/packages/blog/templates/base.html b/packages/blog/templates/base.html
new file mode 100644
index 0000000..5a91df5
--- /dev/null
+++ b/packages/blog/templates/base.html
@@ -0,0 +1,88 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <title>{% block title %}4kb.net{% endblock title %}</title>
+ </head>
+ <style>
+ :root {
+ --bg: #181616;
+ --fg: #c5c9c5;
+ --link: #76946a;
+ --linkhover: #98bb6c;
+ }
+
+ html {
+ scroll-behavior: smooth;
+ color-scheme: dark;
+ }
+
+ body {
+ font-family: serif;
+ padding: 0 0.75em;
+ max-width: 42em;
+ margin: auto;
+ background: var(--bg);
+ color: var(--fg);
+ }
+
+ p {
+ line-height: 1.3em;
+ }
+
+ th,
+ td {
+ padding: 0.2em 0.4em;
+ border: thin solid;
+ }
+
+ table {
+ border: thin solid;
+ border-collapse: collapse;
+ }
+
+ a,
+ a:link {
+ color: var(--link);
+ }
+
+ a:hover {
+ color: var(--linkhover);
+ }
+
+ article img {
+ display: block;
+ margin: 0 auto;
+ max-width: 80%;
+ height: auto;
+ object-fit: contain;
+ }
+
+ pre {
+ padding: 1em;
+ overflow-x: scroll;
+ }
+ </style>
+ <body>
+ <header
+ style="
+ margin: 3em 0 3em 0;
+ display: flex;
+ gap: 8px;
+ flex-direction: column;
+ font-family: monospace;
+ "
+ >
+ <span
+ >Kleidi Bujari <<a href="mailto:mail@4kb.net">mail@4kb.net</a>></span
+ >
+ <nav style="display: flex; gap: 8px">
+ <span><a href="/">4kb.net</a> |</span>
+ <a target="_blank" href="https://github.com/kbujari">git</a>
+ <a href="/atom.xml">rss</a>
+ </nav>
+ </header>
+ <main>{% block content %} {% endblock %}</main>
+ </body>
+</html>