From 19b9690dff9580bb643dd7431b7443334310f8ac Mon Sep 17 00:00:00 2001 From: Cameron Himes Date: Thu, 24 Mar 2022 18:35:26 -0400 Subject: [PATCH 1/2] add 404 page --- .gitmodules | 6 +++ 404.html | 117 ++++++++++++++++++++++++++++++++++++++++++++++++ comic-mono-font | 1 + starfield | 1 + 4 files changed, 125 insertions(+) create mode 100644 .gitmodules create mode 100644 404.html create mode 160000 comic-mono-font create mode 160000 starfield diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..db937d9 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,6 @@ +[submodule "starfield"] + path = starfield + url = https://github.com/mlesniak/starfield +[submodule "comic-mono-font"] + path = comic-mono-font + url = https://github.com/dtinth/comic-mono-font diff --git a/404.html b/404.html new file mode 100644 index 0000000..fe175e9 --- /dev/null +++ b/404.html @@ -0,0 +1,117 @@ + + + + + + 404: Mountain Linux + + + + +
+
+ +
+
+ +
+
+ +
+
+ +
+
+

+ You came to the + 90's + but nobody is here. Go home! +

+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ + + \ No newline at end of file diff --git a/comic-mono-font b/comic-mono-font new file mode 160000 index 0000000..9a96d04 --- /dev/null +++ b/comic-mono-font @@ -0,0 +1 @@ +Subproject commit 9a96d04cdd2919964169192e7d9de5012ef66de4 diff --git a/starfield b/starfield new file mode 160000 index 0000000..2c409e6 --- /dev/null +++ b/starfield @@ -0,0 +1 @@ +Subproject commit 2c409e6343e020e3c145970c0e7f59b64d779608 From 7b0a0dd771ab8f3f7c7edc1a03a11c828d951e9e Mon Sep 17 00:00:00 2001 From: Cameron Himes Date: Thu, 24 Mar 2022 19:26:07 -0400 Subject: [PATCH 2/2] fix zola paths --- .gitmodules | 4 +- scss/404.css | 70 ++++++++ .../submodules/comic-mono-font | 0 starfield => static/submodules/starfield | 0 404.html => templates/404.html | 161 +++++------------- 5 files changed, 117 insertions(+), 118 deletions(-) create mode 100644 scss/404.css rename comic-mono-font => static/submodules/comic-mono-font (100%) rename starfield => static/submodules/starfield (100%) rename 404.html => templates/404.html (55%) diff --git a/.gitmodules b/.gitmodules index db937d9..3536601 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [submodule "starfield"] - path = starfield + path = static/submodules/starfield url = https://github.com/mlesniak/starfield [submodule "comic-mono-font"] - path = comic-mono-font + path = static/submodules/comic-mono-font url = https://github.com/dtinth/comic-mono-font diff --git a/scss/404.css b/scss/404.css new file mode 100644 index 0000000..88f1be3 --- /dev/null +++ b/scss/404.css @@ -0,0 +1,70 @@ +@font-face { + font-family: comic-mono; + src: url("/submodules/comic-mono-font/ComicMono.ttf"); +} + +html { + background-image: url("/submodules/starfield/animation.gif"); + background-repeat: repeat; + background-size: 10em; + color: white; + font-family: comic-mono; +} + +#main { + display: grid; + grid-template-columns: repeat(3, 1fr); + grid-template-rows: repeat(3, 1fr); + width: 50em; + height: 50em; + margin-left: auto; + margin-right: auto; +} + +.img-div, +#text-div { + margin: 1em; + text-align: center; +} + +img { + width: 100%; + height: 100%; + border-width: 0.2em; + border-style: ridge; + border-color: lightgrey; +} + +#text-div { + place-self: center; +} + +p { + text-align: center; +} + +span { + display: block; +} + +#line1, +#line3, +#line4 { + font-size: 1.5em; +} + +#line2 { + font-size: 5em; +} + +a:link { + color: lightskyblue; +} + +a:visited { + color: mediumpurple; +} + +a:active { + color: salmon; +} \ No newline at end of file diff --git a/comic-mono-font b/static/submodules/comic-mono-font similarity index 100% rename from comic-mono-font rename to static/submodules/comic-mono-font diff --git a/starfield b/static/submodules/starfield similarity index 100% rename from starfield rename to static/submodules/starfield diff --git a/404.html b/templates/404.html similarity index 55% rename from 404.html rename to templates/404.html index fe175e9..a95ec68 100644 --- a/404.html +++ b/templates/404.html @@ -1,117 +1,46 @@ - - - - - - 404: Mountain Linux - - - - -
-
- -
-
- -
-
- -
-
- -
-
-

- You came to the - 90's - but nobody is here. Go home! -

-
-
- -
-
- -
-
- -
-
- -
-
- - + + + + + + 404: Mountain Linux + + + + +
+
+ +
+
+ +
+
+ +
+
+ +
+
+

+ You came to the + 90's + but nobody is here. Go home! +

+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ + \ No newline at end of file