diff --git a/layouts/404.html b/layouts/404.html index 64ce4d9..f11dcf3 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -14,7 +14,7 @@

Unfortunately this isn't a real page (yet?).
If you believe this is a mistake please get in touch.

A search function is in the works...

-

Please consider Supporting this work

+

Please consider Supporting this work

{{partial "footer" .}} diff --git a/layouts/index.html b/layouts/index.html index a8e9a60..d393c3d 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -10,15 +10,9 @@ {{partial "banner" .}} {{partial "spritesheet" .}}
- -
-
- {{.Content}} -
-
- +
+ {{.Content}} +
{{ partial "footer" .}} diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 45faf1b..98f0aad 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -1,12 +1,3 @@ -{{if .Site.Taxonomies.categories.featured}} - -

Featured

-{{range .Site.Taxonomies.categories.featured.Pages.Reverse}} -{{ partial "item" .}} - -{{end}} -{{end}} -

Recent Content

{{range first 3 .Site.RegularPages}} {{ partial "item" .}} diff --git a/layouts/shortcodes/recent-items.html b/layouts/shortcodes/recent-items.html new file mode 100644 index 0000000..a247d74 --- /dev/null +++ b/layouts/shortcodes/recent-items.html @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/layouts/shortcodes/relevant-items.html b/layouts/shortcodes/relevant-items.html new file mode 100644 index 0000000..3150d37 --- /dev/null +++ b/layouts/shortcodes/relevant-items.html @@ -0,0 +1,7 @@ + + \ No newline at end of file diff --git a/static/css/theme.css b/static/css/theme.css index b7551d7..a4ef717 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -278,7 +278,9 @@ article .media-container { align-items: center; width: 100%; } - +article section { + width:100%; +} .media-container a { width: 100%; display: flex; @@ -415,6 +417,7 @@ video { #sidebar { padding-top: 0; align-items: flex-start; + min-width: 540px; } .recent *, @@ -575,23 +578,20 @@ video { margin:0; } -.image-container { +.media-container { margin-bottom: 1rem; } -.image-container, -.image-container a { +.media-container, +.media-container a { width: fit-content; display: flex; flex-direction: column; justify-content: center; } -.image-container .caption { +.media-container .caption { width: fit-content; - border: 1px solid var(--theme-accent); - padding: 0.5rem; - border-radius: 0.5rem; } .gallery>* { @@ -740,4 +740,14 @@ svg{ from{background-color: rgba(0, 0, 0, 0.25);} to{background-color: transparent;backdrop-filter: blur(0px);} } -} \ No newline at end of file +} + +article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"])) {text-decoration: none !important;} +article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"]))::after {content:"↗️";font-size:18px;margin:5px;text-decoration: none !important;} +.media-container a::after, .liberapay-container a::after, .tags a::after, .listing a::after, #tags a::after{ + content: "" !important;margin:0 !important;font-size:0; +} +.media-container a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"]))::after {content:"↗️" !important;font-size:18px;margin:5px;text-decoration: none !important;} +.media-container a{ + flex-direction: row; +}