Cleaning up some styles

This commit is contained in:
Brandon Rozek 2023-01-03 21:00:27 -05:00
parent cd5ccf78dc
commit aa68e11c56
No known key found for this signature in database
GPG key ID: 26E457DA82C9F480
12 changed files with 74 additions and 102 deletions

View file

@ -4,7 +4,7 @@
Powered by <a href="https://gohugo.io/">Hugo</a>
using a modified version of the <a href="https://github.com/koirand/pulp/">pulp</a> theme.
</p>
<div class="footer-navs">
<div class="footer-navs block-center">
<nav>
<p>Content Pages</p>
<ul id="footer-nav-sections">

View file

@ -1,5 +1,5 @@
<header class="header-top">
<div class="header-flex">
<div class="header-flex block-center">
{{ $headerTitle := .Scratch.Get "customTitleHeader" }}
{{ $headerLink := .Scratch.Get "customTitleHeaderLink" }}

View file

@ -26,7 +26,7 @@
{{ if gt (len .photos) 0 }}
<div class="toot-photos">
<div class="toot-photos space-evenly">
{{ range .photos}}
{{ $small_url := replace .url "square" "small"}}
{{ $original_url := replace .url "square" "original"}}

View file

@ -11,7 +11,7 @@
<div class="e-content p-name">
{{ .content | safeHTML }}
{{ if gt (len .media_attachments) 0 }}
<div class="toot-photos">
<div class="toot-photos space-evenly">
{{ range .media_attachments}}
{{ if eq .type "image" }}
<img src="{{ .preview_url }}" alt="{{ .description }}"/>