summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-05-30 22:45:57 +0200
committermms <michal@sapka.me>2024-05-30 22:45:57 +0200
commitaa66b2014f9eff98b07dbe2d16717afbfe87fac3 (patch)
tree759eb69a8487398d1340b67757e9e00c7b8c9f8a /layouts
parentd4001f4c473e3c3fbff486420f7cddd9a65fc8a3 (diff)
feat: new unix history layout
Diffstat (limited to 'layouts')
l---------layouts/brain-rot/.#baseof.html1
l---------layouts/partials/css/.#images.css1
l---------layouts/partials/homepage/.#nav.html1
-rw-r--r--layouts/unix-history/baseof.html116
-rw-r--r--layouts/unix-history/redirect.html (renamed from layouts/unix-history/single.html)0
5 files changed, 117 insertions, 2 deletions
diff --git a/layouts/brain-rot/.#baseof.html b/layouts/brain-rot/.#baseof.html
new file mode 120000
index 0000000..1a87e03
--- /dev/null
+++ b/layouts/brain-rot/.#baseof.html
@@ -0,0 +1 @@
+mms@voyager.2829:1717002207 \ No newline at end of file
diff --git a/layouts/partials/css/.#images.css b/layouts/partials/css/.#images.css
deleted file mode 120000
index 4de3353..0000000
--- a/layouts/partials/css/.#images.css
+++ /dev/null
@@ -1 +0,0 @@
-mms@voyager.29834:1715624266 \ No newline at end of file
diff --git a/layouts/partials/homepage/.#nav.html b/layouts/partials/homepage/.#nav.html
deleted file mode 120000
index 4de3353..0000000
--- a/layouts/partials/homepage/.#nav.html
+++ /dev/null
@@ -1 +0,0 @@
-mms@voyager.29834:1715624266 \ No newline at end of file
diff --git a/layouts/unix-history/baseof.html b/layouts/unix-history/baseof.html
new file mode 100644
index 0000000..dd03455
--- /dev/null
+++ b/layouts/unix-history/baseof.html
@@ -0,0 +1,116 @@
+<head>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ {{ partial "header/meta" . }}
+ {{- $bg := resources.Get "unix-history/bg.gif" -}}
+
+ <style>
+ :root {
+ --bg-color: #E8E9EB
+ }
+
+ body {
+ width: 800px;
+ max-width: 70%;
+ margin-left: auto;
+ margin-right: auto;
+ font-family: helvetica;
+ font-size: 1em;
+ line-height: 1.5em;
+ text-align: justify;
+ background-image: url({{ $bg.Permalink }});
+ background-repeat: repeat-y;
+ background-size: 200px;
+ background-color: var(--bg-color);
+ padding-top: 20px;
+ padding-bottom: 30px;
+ padding-left: 210px;
+ padding-right: 30px;
+ overflow-x: hidden;
+ }
+
+ @media only screen and (max-width: 700px) {
+ body {
+ background-image: unset;
+ max-width: 95%;
+ padding: 10px;
+ margin-left: 0;
+ }
+ }
+ a {
+ color: #000
+ }
+
+ img {
+ max-width: 60%;
+ height: auto;
+
+ }
+
+ h1 {
+ font-style: italic;
+ }
+
+ .wip {
+ width: 80%;
+ background-color: #EEE;
+ border-radius: 5px;
+ margin: 20px;
+ margin-left: auto;
+ margin-right: auto;
+ padding: 10px;
+ padding-top: 20px;
+ padding-bottom: 20px;
+ border-style: solid;
+ border-color: #000;
+ border-width: 1px;
+ vertical-align: middle;
+ }
+ .wip img {
+ vertical-align: middle;
+ padding-left: 10px;
+ padding-right: 10px;
+ }
+
+ .top-menu {
+ display: flex;
+ }
+ .top-menu-element {
+ width: 50%;
+ flex-shrink: 0;
+ }
+
+ .header-sep {
+ margin-top: 30px;
+ margin-bottom: 30px;
+ }
+ </style>
+
+</head>
+
+<body>
+ <nav>
+ {{ range $parent := first 1 .Ancestors}}
+ <a href="{{ .Permalink }}"> << Back</a>
+ {{ end }}
+ <header>
+ <h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
+ </header>
+
+ <hr>
+
+ <article>
+ <aside class="wip">
+ {{ $wip := resources.Get "icons/wip.gif"}}
+ <img src="{{$wip.Permalink}}" alt="Work in progress" width="{{ $wip.Width}}" height="{{ $wip.Height }}">
+ This text is still work in progress and will be updated.
+ </aside>
+ {{ block "main" . }}
+ {{ end }}
+
+ </article>
+
+ <hr>
+ <footer>
+ Website created and operated by <a href="https://michal.sapka.me">MichaƂ</a>
+ </footer>
+</body>
diff --git a/layouts/unix-history/single.html b/layouts/unix-history/redirect.html
index 599d57b..599d57b 100644
--- a/layouts/unix-history/single.html
+++ b/layouts/unix-history/redirect.html