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

@ -9,7 +9,7 @@
{{ $postCount := len $posts }}
{{ range last 1 $posts }}
{{ $tags := .Site.Taxonomies.tags }}
<div class='bloglist-teaser'>
<div class='bloglist-teaser block-center'>
Hello! This page contains <strong>{{ $postCount | lang.NumFmt 0 }} posts</strong>
written in the past <strong>{{ div (sub now.Unix .Date.Unix) 31536000 }} years</strong>
spanning

View file

@ -3,7 +3,7 @@
<main>
{{ partial "search.html" . }}
<!-- contents -->
<div id="feedList">
<div id="feedList" class="block-center">
{{ $listPageDateFormat := .Site.Params.listPageDateFormat | default "January, 2006"}}
{{ range $index, $value := .Pages.GroupByDate $listPageDateFormat }}
{{ range .Pages }}

View file

@ -21,7 +21,7 @@
</p>
<!-- Site Navigation -->
<nav class="nav-home">
<ul>
<ul class="space-evenly">
{{ range .Site.Menus.main }}
<li><a href="{{ .URL }}" aria-label="{{ .Identifier }}">{{ .Pre }}<br>{{ .Name }}</a></li>
{{ end }}
@ -30,7 +30,7 @@
<!-- Social Navigation -->
<p>You can also find me on:</p>
<nav class="nav-home">
<ul>
<ul class="space-evenly">
{{ range .Site.Menus.profile }}
<li><a href="{{ .URL }}" rel="me" aria-label="{{ .Identifier }}">{{ .Pre }}<br>{{ .Name }}</a></li>
{{ end }}

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 }}"/>

View file

@ -1,7 +1,7 @@
{{ define "main"}}
{{ partial "header.html" . }}
<main>
<div class='bloglist-teaser' style="margin-top: 2rem;">
<div class='bloglist-teaser block-center' style="margin-top: 2rem;">
Here you'll find <strong>{{ len .Pages | lang.NumFmt 0 }} posts</strong>
about <u>{{ .Title }}</u> </strong>.
</div>

View file

@ -5,7 +5,7 @@
{{ $postCount := len $posts }}
{{ range last 1 $posts }}
{{ $tags := .Site.Taxonomies.tags }}
<div class='bloglist-teaser'>
<div class='bloglist-teaser block-center'>
Here you'll find <strong>{{ $postCount | lang.NumFmt 0 }} posts</strong>
written spanning <strong>{{ len $tags }} topics</strong>.
</div>

View file

@ -3,7 +3,7 @@
<main>
{{ partial "search.html" . }}
<!-- contents -->
<div id="feedList">
<div id="feedList" class="block-center">
{{ $listPageDateFormat := .Site.Params.listPageDateFormat | default "January, 2006"}}
{{ range $index, $value := .Pages.GroupByDate $listPageDateFormat }}
{{ range .Pages }}