From 3e758581dae026f6cf20a1ba781b1b8798e78787 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Tue, 12 Nov 2024 19:36:23 -0500 Subject: [PATCH] coherence --- layouts/partials/list-item.html | 2 -- layouts/shortcodes | 2 +- static/css/theme.css | 20 ++++++++++++-------- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/layouts/partials/list-item.html b/layouts/partials/list-item.html index 3d111d7..73a7da5 100644 --- a/layouts/partials/list-item.html +++ b/layouts/partials/list-item.html @@ -1,5 +1,4 @@
-

{{.Title}}

{{if .Params.audio}} {{partial "item-audio" .}} @@ -8,5 +7,4 @@

{{if .Date }}{{.Date | time.Format "Jan 02 2006"}}{{end}} {{$author.name}}

{{.Params.description}}

{{if .GetTerms "tags"}}{{ range (.GetTerms "tags")}}{{.LinkTitle}}{{end}} {{end}}
-
\ No newline at end of file diff --git a/layouts/shortcodes b/layouts/shortcodes index 98ec2bb..7a5be89 160000 --- a/layouts/shortcodes +++ b/layouts/shortcodes @@ -1 +1 @@ -Subproject commit 98ec2bb929108c79d434df0a5cc28b6648998054 +Subproject commit 7a5be891296c7bb0f00808c6620201be31050850 diff --git a/static/css/theme.css b/static/css/theme.css index 356692d..94fc426 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -22,6 +22,10 @@ body { main{ width:100vw; } +main>p{ + max-width:60rem; + width:100%; +} .background-photo { position: fixed; @@ -833,7 +837,7 @@ article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"]))::after { .list-item{ display:flex; - flex-direction: row; + flex-direction: column; background-color:rgba(128, 128, 128, 0.15); margin:1.5rem; border-radius:25px; @@ -847,7 +851,10 @@ article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"]))::after { background-position: center center; backdrop-filter:opacity(0.15); font-size:18px; - +} +.list-item>*{ + width:100%; + text-align: center; } @media screen and (orientation:portrait) { @@ -873,16 +880,13 @@ article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"]))::after { max-width:10vw; height:min-content; } -.list-item>div { - flex-direction: column; - align-items: flex-start; -} + .item-tags{ display:flex; flex-direction: row; - flex-wrap: wrap; align-items: center; justify-content: center; + width:100%; } .item-tag{ margin:0.15rem; @@ -899,7 +903,7 @@ article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"]))::after { justify-content: center; } -.hero { +.hero2 { color:var(--theme-color-secondary); background-color: var(--hero-color); background:linear-gradient(45deg, var(--theme-color-primary) 0%, var(--hero-color) 45%,var(--hero-color) 55%, var(--theme-color-primary) 100%);