From c1757d62423b7c89f68ab5f1807d2e86a89948b6 Mon Sep 17 00:00:00 2001 From: brooke Date: Sun, 16 Jun 2024 04:07:07 -0400 Subject: [PATCH] update css and scii art --- assets/css/main.css | 23 ++++++----------------- layouts/_default/baseof.html | 14 +------------- layouts/_default/home.html | 16 +++++++++++++++- layouts/partials/ascii.html | 7 +++++++ theme.toml | 34 +++++++--------------------------- 5 files changed, 36 insertions(+), 58 deletions(-) create mode 100644 layouts/partials/ascii.html diff --git a/assets/css/main.css b/assets/css/main.css index 397c157..89976a7 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -1,12 +1,9 @@ html { - height: 100%; - display: flex; - justify-content: center; - align-items: center; background-color: #333; font-family: Consolas, Monaco, "Lucida Console", monospace !important; font-size: 0.9rem !important; color: #ccc !important; + height: 100%; } body { @@ -18,7 +15,7 @@ body { padding-right: 1.5rem; background-color: #3d3d3d; max-width: 600px; - height: 100%; + min-height: 100vh; } @media only screen and (max-width: 700px) { @@ -70,24 +67,16 @@ a { } .one { - margin-left: 1.5rem; + margin-left: 2rem; display: flex; flex-direction: column; gap: 0; } .two { - margin-left: 3rem; + margin-left: 2rem; } .three { - margin-left: 4.5rem; -} - -.four { - margin-left: 6rem; -} - -.five { - margin-left: 7.5rem; -} + margin-left: 3rem; +} \ No newline at end of file diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index dc3eae0..9d6188f 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -11,18 +11,6 @@
{{ block "main" . }}{{ end }}
} -
-        \  ヽ    i  |     /   / 
-         \ 
-                    ;' ':;,,     ,;'':;,
-                   ;'   ':;,.,.,.,.,.,,,;'  ';,
-        ー         ,:'          ::::::::、
-       __        ,:' /       \   ::::::::',
-           二    :'  ●      ●     ::::::::i.
-         ̄       i  ''' (_人_)  ''''    ::::::::::i
-          -‐      :             ::::::::i
-                 `:,、           :::::::::: /
-          /       ,:'        : ::::::::::::`:、 
-    
+ {{ partial "ascii.html"}} diff --git a/layouts/_default/home.html b/layouts/_default/home.html index 11f2c49..60d09cc 100644 --- a/layouts/_default/home.html +++ b/layouts/_default/home.html @@ -15,7 +15,7 @@ {
question: - '{{ .question }}',
+ '{{ .question }}',
answer: '{{ .answer }}'
@@ -23,5 +23,19 @@ {{ end }} ], + contact: [ +
+ {
+ {{ range .Params.contact }} +
+ "{{ .service }}": + '{{ .input }}',
+
+ {{ end }} +
}, +
+ ],
{{ end }} diff --git a/layouts/partials/ascii.html b/layouts/partials/ascii.html new file mode 100644 index 0000000..ba3b66f --- /dev/null +++ b/layouts/partials/ascii.html @@ -0,0 +1,7 @@ +
+  __..--''``---....___   _..._    __
+  /// //_.-'    .-/";  `        ``<._  ``.''_ `. / // /
+ ///_.-' _..--.'_    \                    `( ) ) // //
+ / (_..-' // (< _     ;_..__               ; `' / ///
+  / // // //  `-._,_)' // / ``--...____..-' /// / //
+
diff --git a/theme.toml b/theme.toml index 3ba3164..339a74d 100644 --- a/theme.toml +++ b/theme.toml @@ -1,31 +1,11 @@ -name = 'Theme name' +name = 'Hugo JSON' license = 'MIT' -licenselink = 'https://github.com/owner/repo/LICENSE' -description = 'Theme description' - -# The home page of the theme, where the source can be found -homepage = 'https://github.com/owner/repo' - -# If you have a running demo of the theme +licenselink = 'https://git.myco.systems/mycosystems/hugo-maintenance/src/branch/main/LICENSE' +description = 'Simple maintenance page in the style of JSON' +homepage = 'https://git.myco.systems/mycosystems/hugo-maintenance' demosite = 'https://owner.github.io/repo' +tags = ['maintenance', 'JSON'] -# Taxonomy terms -tags = ['blog', 'company'] -features = ['some', 'awesome', 'features'] - -# If the theme has multiple authors -authors = [ - {name = 'Name of author', homepage = 'Website of author'}, - {name = 'Name of author', homepage = 'Website of author'} -] - -# If the theme has a single author [author] - name = 'Your name' - homepage = 'Your website' - -# If porting an existing theme -[original] - author = 'Name of original author' - homepage = 'Website of original author' - repo = 'https://github.com/owner/repo' +name = 'MycoSystems' +homepage = 'https://myco.systems'