From 5393b965fdffb89bf14004fbb287810afc89c9a8 Mon Sep 17 00:00:00 2001 From: Ryan H Date: Sun, 11 Dec 2022 20:53:05 -0800 Subject: [PATCH 01/38] fixed config.toml so site renders like tutorial --- config.toml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 8d4a4f5..47c4ff1 100644 --- a/config.toml +++ b/config.toml @@ -4,5 +4,13 @@ languageCode = 'en-us' [params] # "relatedtext" is the text that appears above the tag list at the bottom of pages. - #relatedtext = "Related:" + relatedtext = "Related" favicon = "/favicon.ico" + + #list items + datesinlist = true + authorsinlist = true + + #footer items + nextprev = true + taglist = true \ No newline at end of file From 685cc169ee43ffd247f3a569b979dd99cb061be6 Mon Sep 17 00:00:00 2001 From: Ryan H Date: Sun, 11 Dec 2022 20:53:31 -0800 Subject: [PATCH 02/38] if more than one author it delimits correctly --- layouts/_default/list.html | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index b05c0a2..601fc08 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -5,13 +5,16 @@ {{ .Content }} {{- end }} From dc6085dc05e4c687c9731e8691f4c5e7839af258 Mon Sep 17 00:00:00 2001 From: Ryan H Date: Sun, 11 Dec 2022 21:30:17 -0800 Subject: [PATCH 03/38] missed the rss bool --- config.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 47c4ff1..e884199 100644 --- a/config.toml +++ b/config.toml @@ -13,4 +13,5 @@ languageCode = 'en-us' #footer items nextprev = true - taglist = true \ No newline at end of file + taglist = true + showrss = true \ No newline at end of file From 7b3c3f0dfbc6fc634e810d4747f606438d3fcd68 Mon Sep 17 00:00:00 2001 From: Oliver Atkinson Date: Wed, 7 Feb 2024 16:08:16 -0700 Subject: [PATCH 04/38] init - lots of changes from lugo --- archetypes/default.md | 5 +- layouts/_default/baseof.html | 54 +++++++--------- layouts/partials/footer.html | 8 +++ layouts/partials/head.html | 19 ++++++ layouts/partials/header.html | 5 ++ layouts/partials/nav.html | 8 --- layouts/partials/taglist.html | 13 ---- layouts/shortcodes/img.html | 2 +- layouts/shortcodes/login.html | 14 ++++ layouts/shortcodes/post.html | 14 ++++ layouts/shortcodes/tagcloud.html | 3 - static/form.css | 61 +++++++++++++++++ static/style.css | 108 +++++++++++++++++++++++-------- 13 files changed, 228 insertions(+), 86 deletions(-) create mode 100644 layouts/partials/footer.html create mode 100644 layouts/partials/head.html create mode 100644 layouts/partials/header.html delete mode 100644 layouts/partials/nav.html delete mode 100644 layouts/partials/taglist.html create mode 100644 layouts/shortcodes/login.html create mode 100644 layouts/shortcodes/post.html delete mode 100644 layouts/shortcodes/tagcloud.html create mode 100644 static/form.css diff --git a/archetypes/default.md b/archetypes/default.md index 00e77bd..13d9021 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,6 +1,7 @@ --- title: "{{ replace .Name "-" " " | title }}" date: {{ .Date }} +description: "Example" +tags: [''] draft: true ---- - +--- \ No newline at end of file diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 57e17ce..6f47fc8 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,36 +1,26 @@ - - {{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }} - - - - {{ with .Site.Params.favicon }} - {{ end -}} - - {{ if isset .Params "tags" }} - {{ end -}} - - - - +{{ partial "head.html" . }} + -{{ if .Site.Menus.main }}{{ partial "nav.html" . }}{{ end -}} -
-

{{ block "title" . }}{{ end }}

-
-{{ block "main" . }} -{{ .Content }} -{{ end }} -{{ if .Param "nextprev" }}{{ partial "nextprev.html" . -}}{{ end -}} -{{ if .Param "taglist" }}{{ partial "taglist.html" . }}{{ end -}} -
-
-{{ block "footer" . }} - -{{ end }} + {{ block "header" . }} + {{ partial "header.html" . }} + {{ end }} +
+
+

+ {{ .Page.Title }} +

+
+
+ {{ block "main" . }} + {{ .Content }} + {{ end }} +
+ {{ block "footer" . }} + {{ partial "footer.html" . }} + {{ end }} +
- + + \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..a691bfb --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,8 @@ +
+
+

+ Poem + Hugo = Pogo +

+ © Pogo 2024 +

+
\ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..4df580b --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,19 @@ + +{{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }} + + + +{{ with .Site.Params.favicon }} + +{{ end -}} + +{{ if isset .Params "tags" }} + +{{ end -}} +{{ if isset .Params "redirect" }} + +{{ end -}} + + + + \ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..7fc58f1 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,5 @@ +
+

+ {{ .Site.Title }} +

+
\ No newline at end of file diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html deleted file mode 100644 index a7318fe..0000000 --- a/layouts/partials/nav.html +++ /dev/null @@ -1,8 +0,0 @@ - diff --git a/layouts/partials/taglist.html b/layouts/partials/taglist.html deleted file mode 100644 index 757db6f..0000000 --- a/layouts/partials/taglist.html +++ /dev/null @@ -1,13 +0,0 @@ - {{- if isset .Params "tags" -}} - {{- $tagsLen := len .Params.tags -}} - {{- if gt $tagsLen 0 -}} -
- {{- with .Site.Params.relatedtext }}{{ . }}
{{ end -}} - {{- range $k, $v := .Params.tags -}} - {{- $url := printf "tags/%s" (. | urlize | lower) -}} - {{ . | title }} - {{- if lt $k (sub $tagsLen 1) }} · {{ end -}} - {{- end -}} -
- {{- end -}} - {{- end }} diff --git a/layouts/shortcodes/img.html b/layouts/shortcodes/img.html index ff7959b..d5698f5 100644 --- a/layouts/shortcodes/img.html +++ b/layouts/shortcodes/img.html @@ -7,7 +7,7 @@ -->
{{- with .Get "link"}}{{ end -}} - {{.}} diff --git a/layouts/shortcodes/login.html b/layouts/shortcodes/login.html new file mode 100644 index 0000000..86f9fa0 --- /dev/null +++ b/layouts/shortcodes/login.html @@ -0,0 +1,14 @@ +
+{% if user %} + Welcome {{/* user */}}! +{% else %} + +
+ +
+
+
+ +
+{% endif %} +
\ No newline at end of file diff --git a/layouts/shortcodes/post.html b/layouts/shortcodes/post.html new file mode 100644 index 0000000..7be0c96 --- /dev/null +++ b/layouts/shortcodes/post.html @@ -0,0 +1,14 @@ + +
+ +

Markdown is supported!

+ + +
\ No newline at end of file diff --git a/layouts/shortcodes/tagcloud.html b/layouts/shortcodes/tagcloud.html deleted file mode 100644 index 0cf0118..0000000 --- a/layouts/shortcodes/tagcloud.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ if isset .Site.Taxonomies "tags" }}{{ if not (eq (len .Site.Taxonomies.tags) 0) }}
{{ end }}{{ end }} diff --git a/static/form.css b/static/form.css new file mode 100644 index 0000000..1cf2d70 --- /dev/null +++ b/static/form.css @@ -0,0 +1,61 @@ +input { + color: #ffffff; + margin: 0.2rem; +} + +textarea:focus, input:focus { + outline-width: 0.2rem; + outline-style: solid; +} + +textarea:focus { + outline-color: #222222; +} + +input:focus { + outline-color: white; +} + +input[type="submit"]:focus { + outline-color: #344a70; +} + +input[type="submit"] { + background-color: #344a70; + text-align: center; +} + +input[type="password"], [type="text"] { + background-color: #ffffff; + color: #222222; +} + +/* input[value="Post"] { +} */ + +textarea, input { + border-radius: 0.5rem; + border-style: hidden; + padding: 0.75rem; +} + +textarea { + background-color: #222222; + border-style: solid; + border-width: 0; + resize: none; + color: white; + scrollbar-width: 0; + width: 100%; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + font-family: inherit; + font-size: inherit; + font-weight: inherit; +} + +textarea > ::placeholder { + color: #717171; + opacity: 1; +} diff --git a/static/style.css b/static/style.css index d3b2088..c754f09 100644 --- a/static/style.css +++ b/static/style.css @@ -1,45 +1,99 @@ +::-webkit-scrollbar { + width: 0; +} + body { - font-family: sans-serif ; - background: #110000 ; - color: #ccc ; + background-color: #222222; + color: #ffffff; + font-family: Arial, Helvetica, sans-serif; + margin: 0; + font-size: large; } -main { - max-width: 800px ; - margin: auto ; +header { + background-color: #344a70; + margin-top: 0; + margin-left: 0; + text-align: center; + padding: 0.75rem; + font-size: xx-large; } -img { - max-width: 100% ; +.article-header { + background-color: #454545; + margin: 2rem; + margin-bottom: 0; + border-top-right-radius: 0.5rem; + border-top-left-radius: 0.5rem; } -header h1 { - text-align: center ; +.spaced { + margin: 0; + padding: 1rem; +} + +article { + background-color: #303030; + padding: 1.5rem; + margin-left: 2rem; + margin-right: 2rem; + text-align: left; + border-bottom-left-radius: 0.5rem; + border-bottom-right-radius: 0.5em; +} + +hr { + margin: 2rem; + height: 1px; + border: 0; + border-top: 1px solid #454545; + height: 1px; } footer { - text-align: center ; - clear: both ; + color: #606060; + text-align: center; } -/* For TAGLIST.HTML */ -.taglist { - text-align: center ; - clear: both ; +p { + margin-left: 1rem; + margin-right: 1rem; + margin-top: 0; } -/* For NEXTPREV.HTML */ -#nextprev { - /* The container for both the previous and next articles. */ +h1,h2,h3,h4,h5,h6 { + margin: 0; + text-align: center; } -#prevart { - float: left ; - text-align: left ; + +a { + color: #3e765d; } -#nextart { - float: right ; - text-align: right ; + +a:hover { + color: #344a70; + text-decoration-line: none; } -#nextart,#prevart { - max-width: 33% ; + +header a { + color: inherit; + text-decoration-line: none; + font-weight: normal; } + +header a:hover { + font-weight: bold; + color: inherit +} + +main { + max-width: 80%; + margin: auto; +} + +@media screen and (max-width: 900px) { +main { + max-width: 100%; + margin: auto; +} +} \ No newline at end of file From 5c1276738ee9cb93fbca87758c2e4861874c507a Mon Sep 17 00:00:00 2001 From: Oliver Atkinson Date: Thu, 22 Feb 2024 14:00:08 -0700 Subject: [PATCH 05/38] added roller shortcode --- layouts/shortcodes/roller.html | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 layouts/shortcodes/roller.html diff --git a/layouts/shortcodes/roller.html b/layouts/shortcodes/roller.html new file mode 100644 index 0000000..55d0e34 --- /dev/null +++ b/layouts/shortcodes/roller.html @@ -0,0 +1,7 @@ + +
+{{ $s := $.Params }} +{{ range $k, $v := $s }} +

{{ $v }}

+{{ end }} +
\ No newline at end of file From 352755b8383caae92c920abd01a3b40730984568 Mon Sep 17 00:00:00 2001 From: Rushmore75 Date: Wed, 6 Mar 2024 17:47:25 -0700 Subject: [PATCH 06/38] update css for better titles --- static/style.css | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/static/style.css b/static/style.css index c754f09..92733ef 100644 --- a/static/style.css +++ b/static/style.css @@ -1,3 +1,7 @@ +.copy:hover { + color: #344a70; +} + ::-webkit-scrollbar { width: 0; } @@ -7,7 +11,7 @@ body { color: #ffffff; font-family: Arial, Helvetica, sans-serif; margin: 0; - font-size: large; + font-size: x-large; } header { @@ -21,6 +25,7 @@ header { .article-header { background-color: #454545; + color: #707070; margin: 2rem; margin-bottom: 0; border-top-right-radius: 0.5rem; @@ -66,6 +71,10 @@ h1,h2,h3,h4,h5,h6 { text-align: center; } +article h1 { + margin-bottom: 1rem; +} + a { color: #3e765d; } @@ -78,7 +87,7 @@ a:hover { header a { color: inherit; text-decoration-line: none; - font-weight: normal; + font-weight: bold; } header a:hover { From ce151308640ff4b8bfeb2baad65b7a7e6fcfedc4 Mon Sep 17 00:00:00 2001 From: Rushmore75 Date: Wed, 6 Mar 2024 17:50:29 -0700 Subject: [PATCH 07/38] change relative url to full url for instances such as github pages --- layouts/partials/head.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 4df580b..306831d 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,8 +1,8 @@ {{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }} - - + + {{ with .Site.Params.favicon }} {{ end -}} From 671b7d2bc6693bfec89a22050ef1089a246590a7 Mon Sep 17 00:00:00 2001 From: Rushmore75 Date: Wed, 6 Mar 2024 17:51:44 -0700 Subject: [PATCH 08/38] xmr footer --- layouts/partials/footer.html | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index a691bfb..e3ca1aa 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,8 +1,5 @@
-

- Poem + Hugo = Pogo -

- © Pogo 2024 -

+ Fund the web dev in XMR: +

wallet address here

\ No newline at end of file From 8d7ec259ca346e826cd76fe8cf0fb8ef330f70a3 Mon Sep 17 00:00:00 2001 From: Rushmore75 Date: Wed, 6 Mar 2024 17:52:08 -0700 Subject: [PATCH 09/38] bump header size --- layouts/partials/header.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 7fc58f1..378eb97 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,5 +1,5 @@
-

+

{{ .Site.Title }} -

+
\ No newline at end of file From fa084a9dae5ba01d7462c53cf226856dc25544d6 Mon Sep 17 00:00:00 2001 From: Rushmore75 Date: Wed, 6 Mar 2024 17:52:28 -0700 Subject: [PATCH 10/38] full url to css --- layouts/shortcodes/login.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/layouts/shortcodes/login.html b/layouts/shortcodes/login.html index 86f9fa0..9620cd0 100644 --- a/layouts/shortcodes/login.html +++ b/layouts/shortcodes/login.html @@ -1,8 +1,5 @@
-{% if user %} - Welcome {{/* user */}}! -{% else %} - +

@@ -10,5 +7,4 @@
-{% endif %}
\ No newline at end of file From 80a33a461ab84ba61f88136eeef9fc5aa899bc9e Mon Sep 17 00:00:00 2001 From: Rushmore75 Date: Wed, 6 Mar 2024 17:53:05 -0700 Subject: [PATCH 11/38] ignorefile --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b5ca24c --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/.hugo_build.lock +/public \ No newline at end of file From 6f742261ef90739bd2aeab72a2b36b6485d0382e Mon Sep 17 00:00:00 2001 From: Rushmore75 Date: Wed, 6 Mar 2024 17:53:54 -0700 Subject: [PATCH 12/38] this aint github --- .github/workflows/upload.yml | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 .github/workflows/upload.yml diff --git a/.github/workflows/upload.yml b/.github/workflows/upload.yml deleted file mode 100644 index 13acfb8..0000000 --- a/.github/workflows/upload.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: CI - -# Controls when the action will run. -on: - # Triggers the workflow on push to master (including merged PRs) - push: - branches: [ master ] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - # This workflow contains a single job called "build" - update: - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - - name: Updating website. - uses: appleboy/ssh-action@master - with: - host: lukesmith.xyz - username: lugo - key: ${{ secrets.lugo_ssh }} - passphrase: ${{ secrets.lugo_pass }} - port: 22 - script: | - cd /var/www/lugo - git stash - git pull --force origin master From 498fb7ddbeccad382fe3b0c755d74a3616084aff Mon Sep 17 00:00:00 2001 From: Rushmore75 Date: Wed, 6 Mar 2024 17:55:38 -0700 Subject: [PATCH 13/38] full url to header' --- layouts/partials/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 378eb97..d3ab307 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,5 +1,5 @@

- {{ .Site.Title }} + {{ .Site.Title }}

\ No newline at end of file From 540e5413913085ee5e7a4a7d51b50f75351478ba Mon Sep 17 00:00:00 2001 From: Rushmore75 Date: Thu, 7 Mar 2024 21:25:48 -0700 Subject: [PATCH 14/38] update readme from the ancient one --- README.md | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index a39a9e8..4cf4b04 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,17 @@ -# Luke's Hugo Theme +# Lugo - a fork of Luke's theme -A simple Hugo theme I plan on using for my personal website, [Based.Cooking](https://based.cooking) and [LandChad.net](https://landchad.net). +A basic hugo theme based off of [Luke Smith's](https://lukesmith.xyz) hugo theme. Quite a lot has been changed so it is barely a fork at this point. -## get started +## Get started ```sh hugo new site new-site -cd new-site -git clone https://github.com/lukesmithxyz/lugo themes/lugo +cd new-site/ +git submodule add https://git.oliveratkinson.net/Oliver/lugo themes/lugo echo "theme = 'lugo'" >> config.toml -cp themes/lugo/static/style.css static/ ``` -## stuff +## Notes - Makes one RSS feed for the entire site at `/index.xml` - Stylesheet is in `/style.css` and includes some important stuff for partials. -- If a post is tagged, links to the tags are placed at the bottom of the post. -- `nextprev.html` adds links to the Next and Previous articles to the bottom of a page. -- `taglist.html` links all tags an article is tagged to for related content. From ef092843bf09d80836b1dc2eb2d829b3997bef1a Mon Sep 17 00:00:00 2001 From: Oliver Atkinson <> Date: Mon, 1 Apr 2024 08:42:02 -0600 Subject: [PATCH 15/38] generalize footer text --- layouts/partials/footer.html | 7 +++++-- layouts/partials/nextprev.html | 10 ---------- 2 files changed, 5 insertions(+), 12 deletions(-) delete mode 100644 layouts/partials/nextprev.html diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index e3ca1aa..45c0836 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,5 +1,8 @@
- Fund the web dev in XMR: -

wallet address here

+

+ Poem + Hugo = Pogo +

+ Pogo by Oliver A +

\ No newline at end of file diff --git a/layouts/partials/nextprev.html b/layouts/partials/nextprev.html deleted file mode 100644 index 099f16d..0000000 --- a/layouts/partials/nextprev.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ if or .Next .Prev -}} -
-{{- with .Prev }} -
Previous:
{{.Title}}
-{{ end -}} -{{- with .Next -}} -
Next:
{{.Title}}
-{{ end -}} -
-{{ end -}} From 09967b68f2319f41a06659d197e24c42d60e5f71 Mon Sep 17 00:00:00 2001 From: Oliver Atkinson <> Date: Mon, 1 Apr 2024 08:37:42 -0600 Subject: [PATCH 16/38] form --- static/form.css | 3 --- 1 file changed, 3 deletions(-) diff --git a/static/form.css b/static/form.css index 1cf2d70..7e1df0c 100644 --- a/static/form.css +++ b/static/form.css @@ -30,9 +30,6 @@ input[type="password"], [type="text"] { color: #222222; } -/* input[value="Post"] { -} */ - textarea, input { border-radius: 0.5rem; border-style: hidden; From b2a9cbbcfacade11a8f470273a490364ec5d525b Mon Sep 17 00:00:00 2001 From: Oliver Atkinson <> Date: Mon, 1 Apr 2024 08:38:01 -0600 Subject: [PATCH 17/38] auto gen-ed css --- static/roller.css | 71 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 static/roller.css diff --git a/static/roller.css b/static/roller.css new file mode 100644 index 0000000..0091564 --- /dev/null +++ b/static/roller.css @@ -0,0 +1,71 @@ +.roller-container {display: grid; text-align: center;} +.roller0,.roller1,.roller2,.roller3,.roller4,.roller5{ + animation-iteration-count: infinite; + animation-timing-function: cubic-bezier(1, 0, 0, 1); + animation-duration: 6s; + animation-direction: normal; + transform-origin: center; + /* works with "display: grid" to have all the words in the same place on the screen. */ + grid-row: 1; + grid-column: 1; +} +.roller0 { animation-name: roll0; color: rgb(0, 182, 182)} +.roller1 { animation-name: roll1; color: rgb(173, 3, 154)} +.roller2 { animation-name: roll2; color: rgb(6, 179, 0)} +.roller3 { animation-name: roll3; color: rgb(211, 189, 0)} +.roller4 { animation-name: roll4; color: rgb(171, 0, 0)} +.roller5 { animation-name: roll5; color: rgb(255, 247, 0)} +@keyframes roll0 { + 100% { opacity: 1; transform: translateY(0) rotateX(0); } + 0% { opacity: 1; transform: translateY(0) rotateX(0); } + 17% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 34% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 51% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 68% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 85% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } +} +@keyframes roll1 { + 100% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 0% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 17% { opacity: 1; transform: translateY(0) rotateX(0); } + 34% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 51% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 68% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 85% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } +} +@keyframes roll2 { + 100% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 0% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 17% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 34% { opacity: 1; transform: translateY(0) rotateX(0); } + 51% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 68% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 85% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } +} +@keyframes roll3 { + 100% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 0% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 17% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 34% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 51% { opacity: 1; transform: translateY(0) rotateX(0); } + 68% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 85% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } +} +@keyframes roll4 { + 100% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 0% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 17% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 34% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 51% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 68% { opacity: 1; transform: translateY(0) rotateX(0); } + 85% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } +} +@keyframes roll5 { + 100% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 0% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 17% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 34% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 51% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 68% { opacity: 0; transform: translateY(2rem) rotateX(15deg); } + 85% { opacity: 1; transform: translateY(0) rotateX(0); } +} From 2ab0afd41215ce251cdcb9ad11cce0f13c482fff Mon Sep 17 00:00:00 2001 From: Rushmore75 Date: Thu, 3 Nov 2022 12:48:00 -0600 Subject: [PATCH 18/38] changing css arround to better support code blocks. --- static/style.css | 83 +++++++++++++++++++++++------------------------- 1 file changed, 40 insertions(+), 43 deletions(-) diff --git a/static/style.css b/static/style.css index 92733ef..26b1db5 100644 --- a/static/style.css +++ b/static/style.css @@ -7,63 +7,60 @@ } body { - background-color: #222222; - color: #ffffff; - font-family: Arial, Helvetica, sans-serif; - margin: 0; - font-size: x-large; + font-family: sans-serif; + background: rgb(71, 71, 71); + color: black; } -header { - background-color: #344a70; - margin-top: 0; - margin-left: 0; - text-align: center; - padding: 0.75rem; - font-size: xx-large; +main { + max-width: 60%; + margin: auto; } -.article-header { - background-color: #454545; - color: #707070; - margin: 2rem; - margin-bottom: 0; - border-top-right-radius: 0.5rem; - border-top-left-radius: 0.5rem; +header h1 { + text-align: center; + color: white; } -.spaced { - margin: 0; - padding: 1rem; +a:link { + color: rgb(126, 249, 255); +} +a:visited { + color: white; } article { - background-color: #303030; - padding: 1.5rem; - margin-left: 2rem; - margin-right: 2rem; - text-align: left; - border-bottom-left-radius: 0.5rem; - border-bottom-right-radius: 0.5em; + background-color: burlywood; + outline: cadetblue solid 5px; + padding: 3%; + border-radius: 10px; } -hr { - margin: 2rem; - height: 1px; - border: 0; - border-top: 1px solid #454545; - height: 1px; +pre { + /* + This has to be flagged important because somewhere in hugo a style + is being directly applied to pre blocks. Ill have to find it later. + */ + background-color: rgb(59, 59, 59) !important; + padding: 10px; + border-radius: 8px; + outline: cadetblue solid 3px; } +code { + font-size: large; +} + + + +img { + max-width: 100%; +} + footer { - color: #606060; - text-align: center; -} - -p { - margin-left: 1rem; - margin-right: 1rem; - margin-top: 0; + padding-top: 1%; + text-align: center; + clear: both; } h1,h2,h3,h4,h5,h6 { From ef7a9471cd1b045e5e3b6841b1cdf87e5a394ac3 Mon Sep 17 00:00:00 2001 From: Rushmore75 Date: Fri, 4 Nov 2022 23:20:40 -0600 Subject: [PATCH 19/38] added bottom line --- layouts/_default/baseof.html | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 6f47fc8..2be5b12 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -3,24 +3,24 @@ {{ partial "head.html" . }} - {{ block "header" . }} - {{ partial "header.html" . }} - {{ end }} -
-
-

- {{ .Page.Title }} -

-
-
- {{ block "main" . }} - {{ .Content }} - {{ end }} -
- {{ block "footer" . }} - {{ partial "footer.html" . }} - {{ end }} -
+{{ if .Site.Menus.main }}{{ partial "nav.html" . }}{{ end -}} +
+

{{ block "title" . }}{{ end }}

+
+{{ block "main" . }} +{{ .Content }} +{{ end }} +


+{{ if .Param "nextprev" }}{{ partial "nextprev.html" . -}}{{ end -}} +{{ if .Param "taglist" }}{{ partial "taglist.html" . }}{{ end -}} +
+
+{{ block "footer" . }} + +{{ end }} \ No newline at end of file From 449a0f6564b5dcab1527cdd6e08df47aabb51060 Mon Sep 17 00:00:00 2001 From: Rushmore75 Date: Fri, 4 Nov 2022 23:20:58 -0600 Subject: [PATCH 20/38] Added more config options --- config.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config.toml b/config.toml index e884199..3087762 100644 --- a/config.toml +++ b/config.toml @@ -4,8 +4,11 @@ languageCode = 'en-us' [params] # "relatedtext" is the text that appears above the tag list at the bottom of pages. - relatedtext = "Related" - favicon = "/favicon.ico" + relatedtext = "Tags:" + favicon = "favicon.ico" + showrss = true + nextprev = true + taglist = true #list items datesinlist = true From fa96017069cfd5f607723001a078990034df790a Mon Sep 17 00:00:00 2001 From: Rushmore75 Date: Fri, 4 Nov 2022 23:21:19 -0600 Subject: [PATCH 21/38] fixed links css, styles next/prev/tag --- static/style.css | 93 ++++++++++++++++++++++++++---------------------- 1 file changed, 51 insertions(+), 42 deletions(-) diff --git a/static/style.css b/static/style.css index 26b1db5..cbd5922 100644 --- a/static/style.css +++ b/static/style.css @@ -7,94 +7,97 @@ } body { - font-family: sans-serif; + font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; + font-size: medium; background: rgb(71, 71, 71); color: black; } - main { - max-width: 60%; + max-width: 75%; margin: auto; } - header h1 { text-align: center; color: white; } - a:link { - color: rgb(126, 249, 255); -} -a:visited { color: white; } - +a:visited{ + color: rgb(174, 174, 174); +} +article a:link { + color: rgb(0, 0, 0); +} +article a:visited { + color: rgb(64, 64, 64); +} article { background-color: burlywood; outline: cadetblue solid 5px; padding: 3%; border-radius: 10px; } - +hr { + border-top: 2px solid cadetblue; + border-radius: 4px; +} pre { /* This has to be flagged important because somewhere in hugo a style is being directly applied to pre blocks. Ill have to find it later. */ background-color: rgb(59, 59, 59) !important; - padding: 10px; + padding-top: 0px; + padding-bottom: 0px; + padding-left: 10px; + padding-right: 10px; border-radius: 8px; outline: cadetblue solid 3px; } code { font-size: large; + color: white; + /* + we need to re-define these + for times when a single backtick is used + */ + background-color: rgb(59, 59, 59); + padding-left: 3px; + padding-right: 3px; + padding-top: 1px; + border-radius: 4px; } - - - img { max-width: 100%; } - - footer { - padding-top: 1%; + padding-top: 2%; text-align: center; clear: both; } -h1,h2,h3,h4,h5,h6 { - margin: 0; - text-align: center; +footer a:any-link { + color: white; } -article h1 { - margin-bottom: 1rem; +/* For NEXTPREV.HTML */ +#nextprev { + /* The container for both the previous and next articles. */ + color: black; } -a { - color: #3e765d; +#nextprev a:any-link { + color: black; } -a:hover { - color: #344a70; - text-decoration-line: none; +#nextart { + float: left ; + text-align: left ; } - -header a { - color: inherit; - text-decoration-line: none; - font-weight: bold; -} - -header a:hover { - font-weight: bold; - color: inherit -} - -main { - max-width: 80%; - margin: auto; +#prevart { + float: right ; + text-align: right ; } @media screen and (max-width: 900px) { @@ -102,4 +105,10 @@ main { max-width: 100%; margin: auto; } + +/* For TAGLIST.HTML */ +.taglist { + text-align: center; + clear: both; + color: rgb(64, 64, 64); } \ No newline at end of file From c2ff3ded7d83f2cd806597dc970f6074fe118c8e Mon Sep 17 00:00:00 2001 From: Rushmore75 Date: Sat, 5 Nov 2022 10:15:44 -0600 Subject: [PATCH 22/38] made "tags" point to all tags --- layouts/partials/taglist.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 layouts/partials/taglist.html diff --git a/layouts/partials/taglist.html b/layouts/partials/taglist.html new file mode 100644 index 0000000..879de3a --- /dev/null +++ b/layouts/partials/taglist.html @@ -0,0 +1,13 @@ + {{- if isset .Params "tags" -}} + {{- $tagsLen := len .Params.tags -}} + {{- if gt $tagsLen 0 -}} +
+ {{- with .Site.Params.relatedtext }} {{ . }}
{{ end -}} + {{- range $k, $v := .Params.tags -}} + {{- $url := printf "tags/%s" (. | urlize | lower) -}} + {{ . | title }} + {{- if lt $k (sub $tagsLen 1) }} · {{ end -}} + {{- end -}} +
+ {{- end -}} + {{- end }} From 809b1bcc8cb52eefa79a5b80a614da31c97072b5 Mon Sep 17 00:00:00 2001 From: Rushmore75 Date: Tue, 29 Nov 2022 14:08:50 -0700 Subject: [PATCH 23/38] changed baseof --- layouts/_default/baseof.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 2be5b12..f4ba58d 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -10,7 +10,7 @@ {{ block "main" . }} {{ .Content }} {{ end }} -


+{{ if not .IsHome }}


{{end -}} {{ if .Param "nextprev" }}{{ partial "nextprev.html" . -}}{{ end -}} {{ if .Param "taglist" }}{{ partial "taglist.html" . }}{{ end -}} From f6ef2945291c74d16418e0ed5245006b002b5a91 Mon Sep 17 00:00:00 2001 From: Oliver Atkinson Date: Sat, 7 Jan 2023 14:09:01 -0700 Subject: [PATCH 24/38] readme merge --- README.md | 4 +-- layouts/_default/baseof.html | 11 +++++++- static/style.css | 51 ++++++++++++++++++++++++++++++++++-- 3 files changed, 61 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4cf4b04..d526052 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Lugo - a fork of Luke's theme +# Oliver's Hugo Theme -A basic hugo theme based off of [Luke Smith's](https://lukesmith.xyz) hugo theme. Quite a lot has been changed so it is barely a fork at this point. +Fork of [lugo](https://github.com/LukeSmithxyz/lugo). Used for my personal website(s). ## Get started diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index f4ba58d..5f4d497 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,7 +5,16 @@ {{ if .Site.Menus.main }}{{ partial "nav.html" . }}{{ end -}}
-

{{ block "title" . }}{{ end }}

+
+

+ {{ if .IsHome }} {{ .Site.Title }} {{ end }} + {{ block "title" . }} + {{ end }}

+

+ {{ if not .IsHome }} {{ .Params.description }} {{ end }} +

+ +
{{ block "main" . }} {{ .Content }} diff --git a/static/style.css b/static/style.css index cbd5922..5831274 100644 --- a/static/style.css +++ b/static/style.css @@ -16,10 +16,28 @@ main { max-width: 75%; margin: auto; } -header h1 { +h1 { text-align: center; +} +h2 { + text-align: center; +} +h3 { + text-align: center; +} +h4 { + text-align: center; +} +header h1 { color: white; } +header h4 { + /* + The color half-way between the + background color and pure white + */ + color: rgb(163, 163, 163); +} a:link { color: white; } @@ -42,6 +60,9 @@ hr { border-top: 2px solid cadetblue; border-radius: 4px; } +br { + clear: both; +} pre { /* This has to be flagged important because somewhere in hugo a style @@ -69,14 +90,21 @@ code { border-radius: 4px; } img { + border-radius: 4px; +} +article img { max-width: 100%; + max-height: 100%; + outline: cadetblue solid 3px; +} +figure { + margin: 2%; } footer { padding-top: 2%; text-align: center; clear: both; } - footer a:any-link { color: white; } @@ -111,4 +139,23 @@ main { text-align: center; clear: both; color: rgb(64, 64, 64); +} + +/* For putting right / left boxes next to each other */ +.left { + width: 45%; + padding-right: 5%; + float: left; + clear: both; +} + +.right { + width: 45%; + padding-left: 5%; + float: right; +} + +.subtext { + color: rgb(69, 69, 69); + font-style: italic; } \ No newline at end of file From 4859d9cc5bf05e0de6c7f61cc433df9d88f45f49 Mon Sep 17 00:00:00 2001 From: Oliver Atkinson Date: Mon, 9 Jan 2023 12:05:27 -0700 Subject: [PATCH 25/38] text larger --- static/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/style.css b/static/style.css index 5831274..369d072 100644 --- a/static/style.css +++ b/static/style.css @@ -8,7 +8,7 @@ body { font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; - font-size: medium; + font-size: large; background: rgb(71, 71, 71); color: black; } From 314b17986d8c5baacd11045465526eb589cf3370 Mon Sep 17 00:00:00 2001 From: Oliver Atkinson Date: Thu, 9 Feb 2023 14:37:03 -0700 Subject: [PATCH 26/38] fixed homepage list issue --- archetypes/default.md | 2 +- layouts/_default/baseof.html | 1 - layouts/_default/list.html | 2 ++ 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/archetypes/default.md b/archetypes/default.md index 13d9021..167e8bb 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -2,6 +2,6 @@ title: "{{ replace .Name "-" " " | title }}" date: {{ .Date }} description: "Example" -tags: [''] +tags: ['blog'] draft: true --- \ No newline at end of file diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 5f4d497..bb2bb0e 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -13,7 +13,6 @@

{{ if not .IsHome }} {{ .Params.description }} {{ end }}

-
{{ block "main" . }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 601fc08..feb681c 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -3,6 +3,7 @@ {{- end }} {{ define "main" -}} {{ .Content }} +{{ if not .IsHome }}
    {{- range.Pages }}
  • @@ -18,3 +19,4 @@ {{- end }}
{{- end }} +{{ end }} From 52db615e2ba94a7533eb59d2d2dc54ab09f1c2db Mon Sep 17 00:00:00 2001 From: Oliver Atkinson Date: Thu, 16 Mar 2023 01:30:11 -0600 Subject: [PATCH 27/38] added gamer style --- static/gamer.style.css | 182 +++++++++++++++++++++++++++++++++++++++++ static/style.css | 28 ++++++- 2 files changed, 206 insertions(+), 4 deletions(-) create mode 100644 static/gamer.style.css diff --git a/static/gamer.style.css b/static/gamer.style.css new file mode 100644 index 0000000..e698250 --- /dev/null +++ b/static/gamer.style.css @@ -0,0 +1,182 @@ +body { + font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; + font-size: large; + background: rgb(40, 40, 40); + color: white; +} + +main { + max-width: 75%; + margin: auto; +} + +h1 { + text-align: center; +} + +h2 { + text-align: center; +} + +h3 { + text-align: center; +} + +h4 { + text-align: center; +} + +header h1 { + color: white; +} + +header h4 { + /* + The color half-way between the + background color and pure white + */ + color: rgb(163, 163, 163); +} + +a:link { + color: white; +} + +a:visited{ + color: rgb(174, 174, 174); +} + +article a:link { + color: white; +} + +article a:visited { + color: rgb(211, 211, 211); +} +hr { + border-top: 2px solid black; + border-radius: 4px; + animation: rgb-pulse 4s infinite alternate; +} + +br { + clear: both; +} + +pre { + /* + This has to be flagged important because somewhere in hugo a style + is being directly applied to pre blocks. Ill have to find it later. + */ + background-color: rgb(59, 59, 59) !important; + padding-top: 0px; + padding-bottom: 0px; + padding-left: 10px; + padding-right: 10px; + border-radius: 8px; + animation: rgb-pulse 4s infinite alternate; + outline: solid 3px; +} + +code { + font-size: large; + color: white; + /* + we need to re-define these + for times when a single backtick is used + */ + background-color: rgb(59, 59, 59); + padding-left: 3px; + padding-right: 3px; + padding-top: 1px; + border-radius: 4px; +} + +article { + background-color: black; + animation: rgb-pulse 4s infinite alternate; + outline: solid 5px; + padding: 3%; + border-radius: 10px; +} + +img { + border-radius: 4px; + max-width: 100%; + max-height: 100%; + animation: rgb-pulse 4s infinite alternate; + outline: solid 3px; +} + +figure { + margin: 2%; +} + +footer { + padding-top: 2%; + text-align: center; + clear: both; +} + +footer a:any-link { + color: white; +} + +/* For NEXTPREV.HTML */ +#nextprev { + /* The container for both the previous and next articles. */ + color: black; +} + +#nextprev a:any-link { + color: black; +} + +#nextart { + float: left ; + text-align: left ; +} + +#prevart { + float: right ; + text-align: right ; +} + +#nextart,#prevart { + max-width: 33% ; +} + +/* For TAGLIST.HTML */ +.taglist { + text-align: center; + clear: both; + color: rgb(64, 64, 64); +} + +/* For putting right / left boxes next to each other */ +.left { + width: 45%; + padding-right: 5%; + float: left; + clear: both; +} + +.right { + width: 45%; + padding-left: 5%; + float: right; +} + +.subtext { + color: rgb(151, 151, 151); + font-style: italic; +} + +@keyframes rgb-pulse { + 0% {outline: solid rgb(245, 78, 78);} + 20% {outline: solid rgb(105, 254, 105);} + 40% {outline: solid rgb(255, 255, 42);} + 60% {outline: solid rgb(111, 248, 255);} + 80% {outline: solid rgb(255, 70, 255);} + 100% {outline: solid rgb(245, 78, 78);} + } \ No newline at end of file diff --git a/static/style.css b/static/style.css index 369d072..5368a45 100644 --- a/static/style.css +++ b/static/style.css @@ -12,25 +12,32 @@ body { background: rgb(71, 71, 71); color: black; } + main { max-width: 75%; margin: auto; } + h1 { text-align: center; } + h2 { text-align: center; } + h3 { text-align: center; } + h4 { text-align: center; } + header h1 { color: white; } + header h4 { /* The color half-way between the @@ -38,31 +45,39 @@ header h4 { */ color: rgb(163, 163, 163); } + a:link { color: white; } + a:visited{ color: rgb(174, 174, 174); } + article a:link { color: rgb(0, 0, 0); } + article a:visited { color: rgb(64, 64, 64); } + article { background-color: burlywood; outline: cadetblue solid 5px; padding: 3%; border-radius: 10px; } + hr { border-top: 2px solid cadetblue; border-radius: 4px; } + br { clear: both; } + pre { /* This has to be flagged important because somewhere in hugo a style @@ -76,6 +91,7 @@ pre { border-radius: 8px; outline: cadetblue solid 3px; } + code { font-size: large; color: white; @@ -89,22 +105,27 @@ code { padding-top: 1px; border-radius: 4px; } + img { border-radius: 4px; } + article img { max-width: 100%; max-height: 100%; outline: cadetblue solid 3px; } + figure { margin: 2%; } + footer { padding-top: 2%; text-align: center; clear: both; } + footer a:any-link { color: white; } @@ -123,15 +144,14 @@ footer a:any-link { float: left ; text-align: left ; } + #prevart { float: right ; text-align: right ; } -@media screen and (max-width: 900px) { -main { - max-width: 100%; - margin: auto; +#nextart,#prevart { + max-width: 33% ; } /* For TAGLIST.HTML */ From 0511fd8a4bde59a8441833a3857491f1708cc3d6 Mon Sep 17 00:00:00 2001 From: Oliver Atkinson Date: Thu, 28 Sep 2023 11:45:06 -0600 Subject: [PATCH 28/38] removed gamer style --- static/gamer.style.css | 182 ----------------------------------------- 1 file changed, 182 deletions(-) delete mode 100644 static/gamer.style.css diff --git a/static/gamer.style.css b/static/gamer.style.css deleted file mode 100644 index e698250..0000000 --- a/static/gamer.style.css +++ /dev/null @@ -1,182 +0,0 @@ -body { - font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; - font-size: large; - background: rgb(40, 40, 40); - color: white; -} - -main { - max-width: 75%; - margin: auto; -} - -h1 { - text-align: center; -} - -h2 { - text-align: center; -} - -h3 { - text-align: center; -} - -h4 { - text-align: center; -} - -header h1 { - color: white; -} - -header h4 { - /* - The color half-way between the - background color and pure white - */ - color: rgb(163, 163, 163); -} - -a:link { - color: white; -} - -a:visited{ - color: rgb(174, 174, 174); -} - -article a:link { - color: white; -} - -article a:visited { - color: rgb(211, 211, 211); -} -hr { - border-top: 2px solid black; - border-radius: 4px; - animation: rgb-pulse 4s infinite alternate; -} - -br { - clear: both; -} - -pre { - /* - This has to be flagged important because somewhere in hugo a style - is being directly applied to pre blocks. Ill have to find it later. - */ - background-color: rgb(59, 59, 59) !important; - padding-top: 0px; - padding-bottom: 0px; - padding-left: 10px; - padding-right: 10px; - border-radius: 8px; - animation: rgb-pulse 4s infinite alternate; - outline: solid 3px; -} - -code { - font-size: large; - color: white; - /* - we need to re-define these - for times when a single backtick is used - */ - background-color: rgb(59, 59, 59); - padding-left: 3px; - padding-right: 3px; - padding-top: 1px; - border-radius: 4px; -} - -article { - background-color: black; - animation: rgb-pulse 4s infinite alternate; - outline: solid 5px; - padding: 3%; - border-radius: 10px; -} - -img { - border-radius: 4px; - max-width: 100%; - max-height: 100%; - animation: rgb-pulse 4s infinite alternate; - outline: solid 3px; -} - -figure { - margin: 2%; -} - -footer { - padding-top: 2%; - text-align: center; - clear: both; -} - -footer a:any-link { - color: white; -} - -/* For NEXTPREV.HTML */ -#nextprev { - /* The container for both the previous and next articles. */ - color: black; -} - -#nextprev a:any-link { - color: black; -} - -#nextart { - float: left ; - text-align: left ; -} - -#prevart { - float: right ; - text-align: right ; -} - -#nextart,#prevart { - max-width: 33% ; -} - -/* For TAGLIST.HTML */ -.taglist { - text-align: center; - clear: both; - color: rgb(64, 64, 64); -} - -/* For putting right / left boxes next to each other */ -.left { - width: 45%; - padding-right: 5%; - float: left; - clear: both; -} - -.right { - width: 45%; - padding-left: 5%; - float: right; -} - -.subtext { - color: rgb(151, 151, 151); - font-style: italic; -} - -@keyframes rgb-pulse { - 0% {outline: solid rgb(245, 78, 78);} - 20% {outline: solid rgb(105, 254, 105);} - 40% {outline: solid rgb(255, 255, 42);} - 60% {outline: solid rgb(111, 248, 255);} - 80% {outline: solid rgb(255, 70, 255);} - 100% {outline: solid rgb(245, 78, 78);} - } \ No newline at end of file From 223120da59c5f3c81ea7cb229490843e333cbb53 Mon Sep 17 00:00:00 2001 From: Oliver Atkinson Date: Thu, 28 Sep 2023 11:45:27 -0600 Subject: [PATCH 29/38] reactive css --- static/content.css | 37 +++++++++++++++++++++++ static/hugo.css | 46 ++++++++++++++++++++++++++++ static/style.css | 75 +++++++--------------------------------------- 3 files changed, 94 insertions(+), 64 deletions(-) create mode 100644 static/content.css create mode 100644 static/hugo.css diff --git a/static/content.css b/static/content.css new file mode 100644 index 0000000..5c3c0ab --- /dev/null +++ b/static/content.css @@ -0,0 +1,37 @@ +.content { + display:flex; + flex-direction: row; + flex-wrap: wrap; +} + +.content figure { + flex: 25%; + margin-left: auto; + margin-right: auto; + align-items: center; +} + +.content img { + display: block; + margin-left: auto; + margin-right: auto; + + max-width: 50%; + height: auto; + width: auto; + + outline: cadetblue solid 3px; +} + +.content p { + flex: 50%; +} + +@media only screen and (max-width: 600px) { + .content p { + flex:100%; + } + .content figure { + flex:100%; + } +} diff --git a/static/hugo.css b/static/hugo.css new file mode 100644 index 0000000..525cbc8 --- /dev/null +++ b/static/hugo.css @@ -0,0 +1,46 @@ + +/* For NEXTPREV.HTML */ +#nextprev { + /* The container for both the previous and next articles. */ + color: black; +} + +#nextprev a:any-link { + color: black; +} + +#nextart { + float: left ; + text-align: left ; +} + +#prevart { + float: right ; + text-align: right ; +} + +#nextart,#prevart { + max-width: 33% ; +} + +/* For TAGLIST.HTML */ +.taglist { + text-align: center; + clear: both; + color: rgb(64, 64, 64); +} + +/* For putting right / left boxes next to each other */ +.left { + width: 45%; + padding-right: 5%; + float: left; + clear: both; +} + +.right { + width: 45%; + padding-left: 5%; + float: right; +} + diff --git a/static/style.css b/static/style.css index 5368a45..97478b9 100644 --- a/static/style.css +++ b/static/style.css @@ -18,20 +18,9 @@ main { margin: auto; } -h1 { - text-align: center; -} - -h2 { - text-align: center; -} - -h3 { - text-align: center; -} - -h4 { +h1, h2, h3, h4 { text-align: center; + flex: 100%; } header h1 { @@ -108,12 +97,13 @@ code { img { border-radius: 4px; + margin: 0; } -article img { - max-width: 100%; - max-height: 100%; - outline: cadetblue solid 3px; +figcaption { + color: rgb(69, 69, 69); + font-style: italic; + text-align: center; } figure { @@ -130,52 +120,9 @@ footer a:any-link { color: white; } -/* For NEXTPREV.HTML */ -#nextprev { - /* The container for both the previous and next articles. */ - color: black; +@media only screen and (max-width: 600px) { + main { + max-width: 90%; + } } -#nextprev a:any-link { - color: black; -} - -#nextart { - float: left ; - text-align: left ; -} - -#prevart { - float: right ; - text-align: right ; -} - -#nextart,#prevart { - max-width: 33% ; -} - -/* For TAGLIST.HTML */ -.taglist { - text-align: center; - clear: both; - color: rgb(64, 64, 64); -} - -/* For putting right / left boxes next to each other */ -.left { - width: 45%; - padding-right: 5%; - float: left; - clear: both; -} - -.right { - width: 45%; - padding-left: 5%; - float: right; -} - -.subtext { - color: rgb(69, 69, 69); - font-style: italic; -} \ No newline at end of file From eb988203b708af28c93c9caa55b80d4630bb9838 Mon Sep 17 00:00:00 2001 From: Oliver Atkinson Date: Thu, 28 Sep 2023 11:46:14 -0600 Subject: [PATCH 30/38] merge head and baseof --- layouts/_default/baseof.html | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index bb2bb0e..6eced67 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,7 +1,21 @@ -{{ partial "head.html" . }} - + + {{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }} + + + + + + {{ with .Site.Params.favicon }} + {{ end -}} + + {{ if isset .Params "tags" }} + {{ end -}} + + + + {{ if .Site.Menus.main }}{{ partial "nav.html" . }}{{ end -}}
From d6a3c84806f1fe0c34246eef2cc479a8ef8b745c Mon Sep 17 00:00:00 2001 From: Oliver Atkinson <> Date: Mon, 1 Apr 2024 08:44:38 -0600 Subject: [PATCH 31/38] old style --- static/style.css | 176 +++++++++++++++++++++-------------------------- 1 file changed, 78 insertions(+), 98 deletions(-) diff --git a/static/style.css b/static/style.css index 97478b9..92733ef 100644 --- a/static/style.css +++ b/static/style.css @@ -7,122 +7,102 @@ } body { - font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; - font-size: large; - background: rgb(71, 71, 71); - color: black; + background-color: #222222; + color: #ffffff; + font-family: Arial, Helvetica, sans-serif; + margin: 0; + font-size: x-large; } -main { - max-width: 75%; - margin: auto; +header { + background-color: #344a70; + margin-top: 0; + margin-left: 0; + text-align: center; + padding: 0.75rem; + font-size: xx-large; } -h1, h2, h3, h4 { - text-align: center; - flex: 100%; +.article-header { + background-color: #454545; + color: #707070; + margin: 2rem; + margin-bottom: 0; + border-top-right-radius: 0.5rem; + border-top-left-radius: 0.5rem; } -header h1 { - color: white; -} - -header h4 { - /* - The color half-way between the - background color and pure white - */ - color: rgb(163, 163, 163); -} - -a:link { - color: white; -} - -a:visited{ - color: rgb(174, 174, 174); -} - -article a:link { - color: rgb(0, 0, 0); -} - -article a:visited { - color: rgb(64, 64, 64); +.spaced { + margin: 0; + padding: 1rem; } article { - background-color: burlywood; - outline: cadetblue solid 5px; - padding: 3%; - border-radius: 10px; + background-color: #303030; + padding: 1.5rem; + margin-left: 2rem; + margin-right: 2rem; + text-align: left; + border-bottom-left-radius: 0.5rem; + border-bottom-right-radius: 0.5em; } hr { - border-top: 2px solid cadetblue; - border-radius: 4px; -} - -br { - clear: both; -} - -pre { - /* - This has to be flagged important because somewhere in hugo a style - is being directly applied to pre blocks. Ill have to find it later. - */ - background-color: rgb(59, 59, 59) !important; - padding-top: 0px; - padding-bottom: 0px; - padding-left: 10px; - padding-right: 10px; - border-radius: 8px; - outline: cadetblue solid 3px; -} - -code { - font-size: large; - color: white; - /* - we need to re-define these - for times when a single backtick is used - */ - background-color: rgb(59, 59, 59); - padding-left: 3px; - padding-right: 3px; - padding-top: 1px; - border-radius: 4px; -} - -img { - border-radius: 4px; - margin: 0; -} - -figcaption { - color: rgb(69, 69, 69); - font-style: italic; - text-align: center; -} - -figure { - margin: 2%; + margin: 2rem; + height: 1px; + border: 0; + border-top: 1px solid #454545; + height: 1px; } footer { - padding-top: 2%; - text-align: center; - clear: both; + color: #606060; + text-align: center; } -footer a:any-link { - color: white; +p { + margin-left: 1rem; + margin-right: 1rem; + margin-top: 0; } -@media only screen and (max-width: 600px) { - main { - max-width: 90%; - } +h1,h2,h3,h4,h5,h6 { + margin: 0; + text-align: center; } +article h1 { + margin-bottom: 1rem; +} + +a { + color: #3e765d; +} + +a:hover { + color: #344a70; + text-decoration-line: none; +} + +header a { + color: inherit; + text-decoration-line: none; + font-weight: bold; +} + +header a:hover { + font-weight: bold; + color: inherit +} + +main { + max-width: 80%; + margin: auto; +} + +@media screen and (max-width: 900px) { +main { + max-width: 100%; + margin: auto; +} +} \ No newline at end of file From 3c988e5df85e9222eda80258264488df120bc265 Mon Sep 17 00:00:00 2001 From: Oliver Atkinson <> Date: Mon, 1 Apr 2024 08:45:01 -0600 Subject: [PATCH 32/38] rename to make it more obvious what it's from --- static/{hugo.css => lugo.css} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename static/{hugo.css => lugo.css} (100%) diff --git a/static/hugo.css b/static/lugo.css similarity index 100% rename from static/hugo.css rename to static/lugo.css From d39d12212c2242298e46b33f08713ec2a0923b11 Mon Sep 17 00:00:00 2001 From: Oliver Atkinson <> Date: Mon, 1 Apr 2024 08:45:17 -0600 Subject: [PATCH 33/38] un mess up the config --- config.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/config.toml b/config.toml index 3087762..90fc49e 100644 --- a/config.toml +++ b/config.toml @@ -6,9 +6,6 @@ languageCode = 'en-us' # "relatedtext" is the text that appears above the tag list at the bottom of pages. relatedtext = "Tags:" favicon = "favicon.ico" - showrss = true - nextprev = true - taglist = true #list items datesinlist = true From 3d7fd733b57360c8ef18a3ce422694207989fd4f Mon Sep 17 00:00:00 2001 From: Oliver Atkinson <> Date: Mon, 1 Apr 2024 08:45:44 -0600 Subject: [PATCH 34/38] add rss feed icon back --- layouts/partials/footer.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 45c0836..5ea4cb8 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,8 +1,7 @@
-

- Poem + Hugo = Pogo -

- Pogo by Oliver A -

+ Fund the web dev in XMR: +

wallet address here

+ {{ .Site.BaseURL }} + {{- if .Param "showrss" }}

RSS Feed{{ end }}
\ No newline at end of file From 53562106b2af900d69b6987dba52001b01e2be30 Mon Sep 17 00:00:00 2001 From: Oliver Atkinson <> Date: Mon, 1 Apr 2024 08:46:04 -0600 Subject: [PATCH 35/38] update stylesheets to match rename --- layouts/partials/head.html | 1 + 1 file changed, 1 insertion(+) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 306831d..d6610ff 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -3,6 +3,7 @@ + {{ with .Site.Params.favicon }} {{ end -}} From a0e296861c7644786d9637281e832ad08749f1fe Mon Sep 17 00:00:00 2001 From: Oliver Atkinson <> Date: Mon, 1 Apr 2024 08:46:28 -0600 Subject: [PATCH 36/38] use smaller baseof --- layouts/_default/baseof.html | 62 ++++++++++++------------------------ 1 file changed, 20 insertions(+), 42 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 6eced67..9d50c00 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,48 +1,26 @@ - - {{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }} - - - - - - {{ with .Site.Params.favicon }} - {{ end -}} - - {{ if isset .Params "tags" }} - {{ end -}} - - - - +{{ partial "head.html" . }} -{{ if .Site.Menus.main }}{{ partial "nav.html" . }}{{ end -}}
-
-

- {{ if .IsHome }} {{ .Site.Title }} {{ end }} - {{ block "title" . }} - {{ end }}

-

- {{ if not .IsHome }} {{ .Params.description }} {{ end }} -

-
-
-{{ block "main" . }} -{{ .Content }} -{{ end }} -{{ if not .IsHome }}


{{end -}} -{{ if .Param "nextprev" }}{{ partial "nextprev.html" . -}}{{ end -}} -{{ if .Param "taglist" }}{{ partial "taglist.html" . }}{{ end -}} -
-
-{{ block "footer" . }} - -{{ end }} + + {{ block "header" . }} + {{ partial "header.html" . }} + {{ end }} +
+
+

+ {{ .Page.Title }} +

+
+
+ {{ block "main" . }} + {{ .Content }} + {{ end }} +
+ {{ block "footer" . }} + {{ partial "footer.html" . }} + {{ end }} +
- \ No newline at end of file From 19ba6c71b8d8615d70103c5de027b63b841da952 Mon Sep 17 00:00:00 2001 From: Oliver Atkinson <> Date: Mon, 1 Apr 2024 08:46:56 -0600 Subject: [PATCH 37/38] idk what this was doing anyways --- static/content.css | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 static/content.css diff --git a/static/content.css b/static/content.css deleted file mode 100644 index 5c3c0ab..0000000 --- a/static/content.css +++ /dev/null @@ -1,37 +0,0 @@ -.content { - display:flex; - flex-direction: row; - flex-wrap: wrap; -} - -.content figure { - flex: 25%; - margin-left: auto; - margin-right: auto; - align-items: center; -} - -.content img { - display: block; - margin-left: auto; - margin-right: auto; - - max-width: 50%; - height: auto; - width: auto; - - outline: cadetblue solid 3px; -} - -.content p { - flex: 50%; -} - -@media only screen and (max-width: 600px) { - .content p { - flex:100%; - } - .content figure { - flex:100%; - } -} From 1a67da3165a3ab4d44a501c068b24f0363980719 Mon Sep 17 00:00:00 2001 From: Oliver Atkinson <> Date: Mon, 1 Apr 2024 08:53:03 -0600 Subject: [PATCH 38/38] un-heck the html --- layouts/_default/baseof.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 9d50c00..bfdb78a 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,8 +1,6 @@ {{ partial "head.html" . }} - -
{{ block "header" . }} {{ partial "header.html" . }}