diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9fe600f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,6 @@ +FROM nginx:alpine + +COPY index.html /usr/share/nginx/html/index.html +COPY style.css /usr/share/nginx/html/style.css + +EXPOSE 80 diff --git a/README.md b/README.md index 5a5a899..2be2ea6 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,14 @@ # unbiasedgeek-com -Personal landing page for unbiasedgeek.com \ No newline at end of file +Personal landing page for [unbiasedgeek.com](https://unbiasedgeek.com). + +Static HTML + CSS, served by `nginx:alpine`. Built into a container image +and published to the homelab Forgejo container registry; deployed by the +`homelab/homelab-IaC` Terraform stack on home-node-1. + +## Build + +``` +docker build -t forgejo.labbity.unbiasedgeek.com/archeious/unbiasedgeek-com:latest . +docker push forgejo.labbity.unbiasedgeek.com/archeious/unbiasedgeek-com:latest +``` diff --git a/index.html b/index.html new file mode 100644 index 0000000..a8ed7b1 --- /dev/null +++ b/index.html @@ -0,0 +1,15 @@ + + + + + + unbiasedgeek + + + +
+

unbiasedgeek

+

Placeholder. Real content coming soon.

+
+ + diff --git a/style.css b/style.css new file mode 100644 index 0000000..2433f49 --- /dev/null +++ b/style.css @@ -0,0 +1,40 @@ +:root { + color-scheme: light dark; + --bg: #0e1116; + --fg: #e6edf3; + --accent: #58a6ff; +} + +* { box-sizing: border-box; } + +html, body { + margin: 0; + padding: 0; + height: 100%; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; + background: var(--bg); + color: var(--fg); +} + +body { + display: grid; + place-items: center; +} + +main { + text-align: center; + padding: 2rem; + max-width: 40rem; +} + +h1 { + font-size: clamp(2.5rem, 8vw, 5rem); + margin: 0 0 1rem; + color: var(--accent); +} + +p { + font-size: 1.125rem; + opacity: 0.85; + margin: 0; +}