From 182576a3cb20e5392bda24f64a7774c72c0d00a8 Mon Sep 17 00:00:00 2001 From: Folyd Date: Mon, 3 Jul 2023 00:18:13 +0800 Subject: [PATCH 1/3] Add sponsorship footer --- static/footer.css | 2 +- static/theme.css | 52 +++++++++++++++ templates/footer.html | 145 +++++++++++++++++++++++++++++------------- 3 files changed, 155 insertions(+), 44 deletions(-) diff --git a/static/footer.css b/static/footer.css index b887de0..bf2f567 100644 --- a/static/footer.css +++ b/static/footer.css @@ -1 +1 @@ -*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.absolute{position:absolute}.bottom-0{bottom:0}.left-0{left:0}.right-0{right:0}.top-16{top:4rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-bottom:.5rem;margin-top:.5rem}.my-4{margin-bottom:1rem;margin-top:1rem}.mb-28{margin-bottom:7rem}.mb-4{margin-bottom:1rem}.mt-12{margin-top:3rem}.block{display:block}.flex{display:flex}.h-5{height:1.25rem}.h-8{height:2rem}.w-12{width:3rem}.w-5{width:1.25rem}.max-w-sm{max-width:24rem}.grow{flex-grow:1}.translate-y-\[-9rem\]{--tw-translate-y:-9rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-col{flex-direction:column}.justify-center{justify-content:center}.border-2{border-width:2px}.border-solid{border-style:solid}.bg-\[\#0f1125\]{--tw-bg-opacity:1;background-color:rgb(15 17 37/var(--tw-bg-opacity))}.p-10{padding:2.5rem}.p-16{padding:4rem}.p-4{padding:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-20{padding-bottom:5rem;padding-top:5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-6{padding-bottom:1.5rem;padding-top:1.5rem}.pt-12{padding-top:3rem}.text-center{text-align:center}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.capitalize{text-transform:capitalize}.text-slate-100{--tw-text-opacity:1;color:rgb(241 245 249/var(--tw-text-opacity))}.text-slate-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity))}.hover\:underline:hover,.underline{text-decoration-line:underline}@media (min-width:640px){.sm\:flex-row{flex-direction:row}.sm\:justify-around{justify-content:space-around}.sm\:pt-0{padding-top:0}}@media (min-width:768px){.md\:px-4{padding-left:1rem;padding-right:1rem}.md\:text-2xl{font-size:1.5rem;line-height:2rem}} \ No newline at end of file +*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.absolute{position:absolute}.relative{position:relative}.bottom-0{bottom:0}.left-0{left:0}.right-0{right:0}.top-16{top:4rem}.z-10{z-index:10}.m-auto{margin:auto}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-bottom:.5rem;margin-top:.5rem}.my-4{margin-bottom:1rem;margin-top:1rem}.mb-28{margin-bottom:7rem}.mb-4{margin-bottom:1rem}.mt-12{margin-top:3rem}.mt-4{margin-top:1rem}.block{display:block}.flex{display:flex}.h-5{height:1.25rem}.h-8{height:2rem}.h-10{height:2.5rem}.h-14{height:3.5rem}.h-20{height:5rem}.w-12{width:3rem}.w-5{width:1.25rem}.w-28{width:7rem}.max-w-sm{max-width:24rem}.grow{flex-grow:1}.translate-y-\[-9rem\]{--tw-translate-y:-9rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.justify-center{justify-content:center}.border-2{border-width:2px}.border-solid{border-style:solid}.bg-\[\#0f1125\]{--tw-bg-opacity:1;background-color:rgb(15 17 37/var(--tw-bg-opacity))}.bg-\[\#f0ece8\]{--tw-bg-opacity:1;background-color:rgb(240 236 232/var(--tw-bg-opacity))}.p-10{padding:2.5rem}.p-16{padding:4rem}.p-4{padding:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-20{padding-bottom:5rem;padding-top:5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-6{padding-bottom:1.5rem;padding-top:1.5rem}.py-8{padding-bottom:2rem;padding-top:2rem}.pt-12{padding-top:3rem}.pt-20{padding-top:5rem}.pb-10{padding-bottom:2.5rem}.text-center{text-align:center}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.font-bold{font-weight:700}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.text-slate-100{--tw-text-opacity:1;color:rgb(241 245 249/var(--tw-text-opacity))}.text-slate-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity))}.hover\:underline:hover,.underline{text-decoration-line:underline}@media (min-width:640px){.sm\:h-12{height:3rem}.sm\:h-24{height:6rem}.sm\:flex-row{flex-direction:row}.sm\:justify-around{justify-content:space-around}.sm\:p-6{padding:1.5rem}.sm\:pt-0{padding-top:0}}@media (min-width:768px){.md\:px-4{padding-left:1rem;padding-right:1rem}.md\:text-2xl{font-size:1.5rem;line-height:2rem}} \ No newline at end of file diff --git a/static/theme.css b/static/theme.css index ce19500..ba9a76c 100644 --- a/static/theme.css +++ b/static/theme.css @@ -41,3 +41,55 @@ main, footer { .prose, .max-w-prose { max-width: 80ch !important; } + +/* ============== sponsorship styles ======================= */ +.hill { + position: absolute; + contain: paint; + height: 100%; + width: 100%; +} + +.hill::before { + z-index: 0; + border-top-left-radius: 100%; + border-top-right-radius: 100%; + position: absolute; + top: 2rem; +} + +.hill::before, :not(.has-ferris)>.hill::before { + background: rgb(240 236 232); + right: -16rem; + left: -16rem; + bottom: -8rem; + content: ""; +} + +.friendship-footer .friendship-tier h3 { + font-size: 22px; + color: rgb(122, 95, 79); + font-weight: 600; + position: relative; + margin-bottom: 1rem; +} + +.friendship-footer .friendship-tier h3::before { + content: ""; + display: block; + height: 1px; + width: 90%; + background-color: rgba(118,110,101,40%); + position: absolute; + top: 50%; + left: 50%; + transform: translateX(-50%); + max-width: 70rem; +} + +.friendship-footer .friendship-tier h3>span { + background-color: rgb(240 236 232); + position: relative; + padding-right: 2rem; + padding-left: 2rem; +} \ No newline at end of file diff --git a/templates/footer.html b/templates/footer.html index 36923e2..b81b772 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -1,54 +1,113 @@ -
-
-
- Subscriber: - - Newsletter, - RSS - +
+
+
+ Ferris the Crab +
+ -
-
-
- {{ site.name }} -
- {{ site.description }} +
+
+
+ Subscriber: + + Newsletter, + RSS +
-
-
-
-
Editors
- {% set authors = get_entity("authors") -%} - {% for author in authors|sort(attribute="id") -%} - {% if author.editor -%} - @{{ author.name }} - {% endif -%} - {% endfor -%} +
+
+
+ {{ site.name }} +
+ {{ site.description }} +
- {% set footer = load_json("footer.json") -%} - {% for column, items in footer | items -%} -
-
-
{{ column }}
- {% for item in items -%} - {{ item.name }} +
+
+
+
Editors
+ {% set authors = get_entity("authors") -%} + {% for author in authors|sort(attribute="id") -%} + {% if author.editor -%} + @{{ author.name }} + {% endif -%} + {% endfor -%} +
+ {% set footer = load_json("footer.json") -%} + {% for column, items in footer | items -%} +
+
+
{{ column }}
+ {% for item in items -%} + {{ item.name }} + {% endfor -%} +
{% endfor -%}
- {% endfor -%}
-
-
-
- cc-by-nc-sa - The content of the magazine is licensed under the - CC BY-NC-SA 4.0 LICENSE - by default unless otherwise specified. -
-
- Copyright © 2023 {{ site.name }} +
+
+ cc-by-nc-sa + The content of the magazine is licensed under the + CC BY-NC-SA 4.0 LICENSE + by default unless otherwise specified. +
+
+ Copyright © 2023 {{ site.name }} +
\ No newline at end of file From 296cf856ab2f2299ad866413eb8beef01c64fc49 Mon Sep 17 00:00:00 2001 From: Folyd Date: Wed, 5 Jul 2023 23:52:43 +0800 Subject: [PATCH 2/3] Fix rebase conflicts --- templates/footer.html | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/templates/footer.html b/templates/footer.html index b81b772..b0d1162 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -1,7 +1,7 @@
- Ferris the Crab + Ferris the Crab
- {% endfor -%}
+ {% endfor -%}
-
-
- cc-by-nc-sa - The content of the magazine is licensed under the - CC BY-NC-SA 4.0 LICENSE - by default unless otherwise specified. -
-
- Copyright © 2023 {{ site.name }} -
+
+
+
+ cc-by-nc-sa + The content of the magazine is licensed under the + CC BY-NC-SA 4.0 LICENSE + by default unless otherwise specified. +
+
+ Copyright © 2023 {{ site.name }}
\ No newline at end of file From 29384064654986e97553cc5a2e494ac6301746c3 Mon Sep 17 00:00:00 2001 From: Folyd Date: Thu, 6 Jul 2023 00:05:40 +0800 Subject: [PATCH 3/3] Hide sponsorship div if json is empty --- sponsors.json | 1 + static/footer.css | 2 +- templates/footer.html | 8 +++++--- 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 sponsors.json diff --git a/sponsors.json b/sponsors.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/sponsors.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/static/footer.css b/static/footer.css index bf2f567..8a615e2 100644 --- a/static/footer.css +++ b/static/footer.css @@ -1 +1 @@ -*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.absolute{position:absolute}.relative{position:relative}.bottom-0{bottom:0}.left-0{left:0}.right-0{right:0}.top-16{top:4rem}.z-10{z-index:10}.m-auto{margin:auto}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-bottom:.5rem;margin-top:.5rem}.my-4{margin-bottom:1rem;margin-top:1rem}.mb-28{margin-bottom:7rem}.mb-4{margin-bottom:1rem}.mt-12{margin-top:3rem}.mt-4{margin-top:1rem}.block{display:block}.flex{display:flex}.h-5{height:1.25rem}.h-8{height:2rem}.h-10{height:2.5rem}.h-14{height:3.5rem}.h-20{height:5rem}.w-12{width:3rem}.w-5{width:1.25rem}.w-28{width:7rem}.max-w-sm{max-width:24rem}.grow{flex-grow:1}.translate-y-\[-9rem\]{--tw-translate-y:-9rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.justify-center{justify-content:center}.border-2{border-width:2px}.border-solid{border-style:solid}.bg-\[\#0f1125\]{--tw-bg-opacity:1;background-color:rgb(15 17 37/var(--tw-bg-opacity))}.bg-\[\#f0ece8\]{--tw-bg-opacity:1;background-color:rgb(240 236 232/var(--tw-bg-opacity))}.p-10{padding:2.5rem}.p-16{padding:4rem}.p-4{padding:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-20{padding-bottom:5rem;padding-top:5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-6{padding-bottom:1.5rem;padding-top:1.5rem}.py-8{padding-bottom:2rem;padding-top:2rem}.pt-12{padding-top:3rem}.pt-20{padding-top:5rem}.pb-10{padding-bottom:2.5rem}.text-center{text-align:center}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.font-bold{font-weight:700}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.text-slate-100{--tw-text-opacity:1;color:rgb(241 245 249/var(--tw-text-opacity))}.text-slate-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity))}.hover\:underline:hover,.underline{text-decoration-line:underline}@media (min-width:640px){.sm\:h-12{height:3rem}.sm\:h-24{height:6rem}.sm\:flex-row{flex-direction:row}.sm\:justify-around{justify-content:space-around}.sm\:p-6{padding:1.5rem}.sm\:pt-0{padding-top:0}}@media (min-width:768px){.md\:px-4{padding-left:1rem;padding-right:1rem}.md\:text-2xl{font-size:1.5rem;line-height:2rem}} \ No newline at end of file +*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.absolute{position:absolute}.relative{position:relative}.bottom-0{bottom:0}.left-0{left:0}.right-0{right:0}.top-16{top:4rem}.z-10{z-index:10}.m-auto{margin:auto}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-bottom:.5rem;margin-top:.5rem}.my-4{margin-bottom:1rem;margin-top:1rem}.mb-28{margin-bottom:7rem}.mb-4{margin-bottom:1rem}.mt-12{margin-top:3rem}.mt-4{margin-top:1rem}.block{display:block}.flex{display:flex}.h-10{height:2.5rem}.h-14{height:3.5rem}.h-20{height:5rem}.h-5{height:1.25rem}.h-8{height:2rem}.w-12{width:3rem}.w-28{width:7rem}.w-5{width:1.25rem}.max-w-sm{max-width:24rem}.grow{flex-grow:1}.translate-y-\[-9rem\]{--tw-translate-y:-9rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.justify-center{justify-content:center}.border-2{border-width:2px}.border-solid{border-style:solid}.bg-\[\#0f1125\]{--tw-bg-opacity:1;background-color:rgb(15 17 37/var(--tw-bg-opacity))}.bg-\[\#f0ece8\]{--tw-bg-opacity:1;background-color:rgb(240 236 232/var(--tw-bg-opacity))}.p-16{padding:4rem}.p-4{padding:1rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-20{padding-bottom:5rem;padding-top:5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-6{padding-bottom:1.5rem;padding-top:1.5rem}.py-8{padding-bottom:2rem;padding-top:2rem}.py-24{padding-bottom:6rem;padding-top:6rem}.py-28{padding-bottom:7rem;padding-top:7rem}.pb-10{padding-bottom:2.5rem}.pt-12{padding-top:3rem}.text-center{text-align:center}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.text-slate-100{--tw-text-opacity:1;color:rgb(241 245 249/var(--tw-text-opacity))}.text-slate-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity))}.hover\:underline:hover,.underline{text-decoration-line:underline}@media (min-width:640px){.sm\:h-12{height:3rem}.sm\:h-24{height:6rem}.sm\:flex-row{flex-direction:row}.sm\:justify-around{justify-content:space-around}.sm\:p-6{padding:1.5rem}.sm\:pt-0{padding-top:0}}@media (min-width:768px){.md\:px-4{padding-left:1rem;padding-right:1rem}.md\:text-2xl{font-size:1.5rem;line-height:2rem}} \ No newline at end of file diff --git a/templates/footer.html b/templates/footer.html index b0d1162..f7b5325 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -1,11 +1,12 @@
+ {% set sponsors = load_json("sponsors.json") %} + {% if sponsors|length > 0 -%}
Ferris the Crab
-
+ {% endif -%} +
Subscriber: @@ -79,7 +81,7 @@

Editors
{% set authors = get_entity("authors") -%} {% for author in authors|sort(attribute="id") -%} - {% if author.editor -%} + {% if author.editor and not author.team -%} @{{ author.name }} {% endif -%} {% endfor -%}