From d5f1c211c80f06f8d2f15e7cf4f52e3b3f4962c5 Mon Sep 17 00:00:00 2001 From: pat owens <4166052+patowens@users.noreply.github.com> Date: Tue, 6 May 2025 14:40:53 +1000 Subject: [PATCH 1/7] tweaks to run in lateset hugo --- config.toml | 7 +++++-- themes/hello-friend-ng/layouts/partials/head.html | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/config.toml b/config.toml index f9608b972..38fff1c13 100644 --- a/config.toml +++ b/config.toml @@ -6,7 +6,8 @@ theme = "hello-friend-ng" PygmentsCodeFences = true PygmentsStyle = "monokai" -paginate = 10 +[pagination] + pagerSize = 10 rssLimit = 10 # Maximum number of items in the RSS feed. copyright = "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License." # This message is only used by the RSS template. @@ -135,7 +136,7 @@ disableHugoGeneratorInject = false # logoCursorAnimate = "2s" # Commento is more than just a comments widget you can embed — - # it’s a return to the roots of the internet. + # it's a return to the roots of the internet. # An internet without the tracking and invasions of privacy. # An internet that is simple and lightweight. # An internet that is focused on interesting discussions, not ads. @@ -165,6 +166,8 @@ disableHugoGeneratorInject = false name = "reddit" url = "https://www.reddit.com/r/dogecoindev" + googleAnalytics = "" + [languages] ############################## diff --git a/themes/hello-friend-ng/layouts/partials/head.html b/themes/hello-friend-ng/layouts/partials/head.html index 3528f6a1e..f34d086dd 100644 --- a/themes/hello-friend-ng/layouts/partials/head.html +++ b/themes/hello-friend-ng/layouts/partials/head.html @@ -33,7 +33,7 @@ {{ end }} {{ $options := (dict "targetPath" "main.css" "outputStyle" "compressed" "enableSourceMap" true) }} -{{ $style := resources.Get "scss/main.scss" | resources.ToCSS $options | resources.Fingerprint }} +{{ $style := resources.Get "scss/main.scss" | css.Sass $options | resources.Fingerprint }} {{ range $val := $.Site.Params.customCSS }} @@ -85,6 +85,6 @@ {{- end }} -{{- if .Site.GoogleAnalytics }} +{{- if site.Params.googleAnalytics }} {{ template "_internal/google_analytics.html" . }} {{- end}} From 9a2905e45b87fc0393761901f3adfc529ea046e1 Mon Sep 17 00:00:00 2001 From: Mark Thorp Date: Tue, 6 May 2025 17:19:04 +1200 Subject: [PATCH 2/7] Change max-width to 1440px --- themes/hello-friend-ng/assets/scss/_header.scss | 2 +- themes/hello-friend-ng/assets/scss/_main.scss | 2 +- themes/hello-friend-ng/layouts/dogeathon-2025/list.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/hello-friend-ng/assets/scss/_header.scss b/themes/hello-friend-ng/assets/scss/_header.scss index 6d7523411..120762e41 100644 --- a/themes/hello-friend-ng/assets/scss/_header.scss +++ b/themes/hello-friend-ng/assets/scss/_header.scss @@ -36,7 +36,7 @@ justify-content: space-between; margin: 0 auto; width: 100%; - max-width: 1200px; + max-width: 1440px; } &.minimize { diff --git a/themes/hello-friend-ng/assets/scss/_main.scss b/themes/hello-friend-ng/assets/scss/_main.scss index 6af679323..75a7fa40d 100644 --- a/themes/hello-friend-ng/assets/scss/_main.scss +++ b/themes/hello-friend-ng/assets/scss/_main.scss @@ -550,7 +550,7 @@ hr { /* override default max-width */ @media (min-width: 1400px) { .container { - max-width: 1200px !important; + max-width: 1440px !important; } } diff --git a/themes/hello-friend-ng/layouts/dogeathon-2025/list.html b/themes/hello-friend-ng/layouts/dogeathon-2025/list.html index 6fc80004f..a19295545 100644 --- a/themes/hello-friend-ng/layouts/dogeathon-2025/list.html +++ b/themes/hello-friend-ng/layouts/dogeathon-2025/list.html @@ -9,7 +9,7 @@ - + From 106287311b13459c7ce08906394adc52058572ab Mon Sep 17 00:00:00 2001 From: Mark Thorp Date: Tue, 6 May 2025 17:55:12 +1200 Subject: [PATCH 3/7] Remove old css and change max-width Changes: - Remove old css files (mis-labelled 2015) - Force background colour on webflow site (only) - Force 0 padding on 'container' on webflow site (only) - Top menu weight, colour and text-decoration --- ....webflow.css => dogeathon-2025.webflow.css} | 18 ++++++++---------- .../hello-friend-ng/assets/scss/_footer.scss | 2 +- themes/hello-friend-ng/assets/scss/_menu.scss | 5 ++++- .../layouts/dogeathon-2025/list.html | 6 ++++++ 4 files changed, 19 insertions(+), 12 deletions(-) rename static/dogeathon-2025/css/{dogeathon-2015.webflow.css => dogeathon-2025.webflow.css} (99%) diff --git a/static/dogeathon-2025/css/dogeathon-2015.webflow.css b/static/dogeathon-2025/css/dogeathon-2025.webflow.css similarity index 99% rename from static/dogeathon-2025/css/dogeathon-2015.webflow.css rename to static/dogeathon-2025/css/dogeathon-2025.webflow.css index 0650b26ae..e260b5b3f 100644 --- a/static/dogeathon-2025/css/dogeathon-2015.webflow.css +++ b/static/dogeathon-2025/css/dogeathon-2025.webflow.css @@ -1981,7 +1981,6 @@ figcaption { } .modal { - margin: auto; padding: var(--_measurements---section-padding-y) var(--_measurements---section-padding-x); grid-column-gap: 3rem; grid-row-gap: 3rem; @@ -2080,6 +2079,7 @@ figcaption { color: var(--base-color-brand--blue); transform: rotate(-7deg); } + @media screen and (min-width: 1280px) { .button { padding-top: .75rem; @@ -2153,10 +2153,11 @@ figcaption { .hero-heading { font-size: 4rem; } + .activities { grid-column-gap: 3rem; grid-row-gap: 2rem; - } + } } @media screen and (max-width: 991px) { @@ -2461,7 +2462,7 @@ figcaption { } .section-backround-skew { - /*width: 800px;*/ + width: 100%; top: 5rem; } @@ -2606,9 +2607,10 @@ figcaption { .modal { border-radius: 1.5rem; } + .activities { font-size: 1.5rem; - } + } } @media screen and (max-width: 767px) { @@ -3112,11 +3114,6 @@ figcaption { .qr-code { width: 30%; } - - .list-cards, .list-cards{ - display: block; - } - .card-border, .card-calendar, .card-guest, .card-accomodation{ margin: 5px;} } @media screen and (max-width: 479px) { @@ -3436,11 +3433,12 @@ figcaption { width: auto; height: 8rem; } + .activities { grid-column-gap: 1rem; grid-row-gap: .5rem; font-size: 1.25rem; - } + } } #w-node-f63cbc6a-01b0-c56e-95d4-065080c06ed5-5d943133 { diff --git a/themes/hello-friend-ng/assets/scss/_footer.scss b/themes/hello-friend-ng/assets/scss/_footer.scss index 1be85c938..e41062df7 100644 --- a/themes/hello-friend-ng/assets/scss/_footer.scss +++ b/themes/hello-friend-ng/assets/scss/_footer.scss @@ -71,7 +71,7 @@ } } -@media screen and (max-width: 1200px) { +@media screen and (max-width: 1440px) { .footer-column1 { padding-left: 20px; } diff --git a/themes/hello-friend-ng/assets/scss/_menu.scss b/themes/hello-friend-ng/assets/scss/_menu.scss index 99c479976..af76256d7 100644 --- a/themes/hello-friend-ng/assets/scss/_menu.scss +++ b/themes/hello-friend-ng/assets/scss/_menu.scss @@ -53,9 +53,12 @@ display: inline-block; margin-right: 15px; text-decoration: none; + font-weight: bold; + color: white; + font-size: 1rem !important; &:hover { - text-decoration: underline; + text-decoration: none; } &:last-of-type { diff --git a/themes/hello-friend-ng/layouts/dogeathon-2025/list.html b/themes/hello-friend-ng/layouts/dogeathon-2025/list.html index a19295545..e93bda232 100644 --- a/themes/hello-friend-ng/layouts/dogeathon-2025/list.html +++ b/themes/hello-friend-ng/layouts/dogeathon-2025/list.html @@ -19,11 +19,17 @@