Improve no-CSS look

This commit is contained in:
JP Hastings-Spital 2024-04-09 11:39:14 +01:00
parent 7631c1ac4b
commit afbbff095c
7 changed files with 10 additions and 5 deletions

View file

@ -877,6 +877,10 @@ mark {
.homepage {
.content {
align-items: center;
.posts {
text-align: center;
}
}
.previews {

View file

@ -17,7 +17,7 @@
</div>
<br />
<hr />
<section class="posts" style="text-align:center">
<section class="posts">
{{ partial "about-me.html" .}}
<hr class="mini" />
{{ partial "post-previews.html" .}}

View file

@ -1,6 +1,6 @@
<div class="about-me" data-pagefind-body>
<div class="h-card vcard no-emoji">
<a href="https://byjp.me" rel="me" class="u-uid u-url"><img class="profile u-photo" src="profile-512.jpg" alt="A photo of me smiling, with short brown hair, a beard and glasses." /></a>
<a href="https://byjp.me" rel="me" class="u-uid u-url"><img class="profile u-photo" src="profile-512.jpg" height="64" alt="A photo of me smiling, with short brown hair, a beard and glasses." /></a>
<span class="p-note">Hello! I'm <em class="p-name fn always-accented"><span class="p-nickname">JP</span> <span class="p-family-name">Hastings-Spital</span></em>, a <span class="p-category category">maker</span>, <span class="p-category category">software engineer</span>, <span class="p-category category">swing dancer</span>, and all-round <span class="p-category category">miriscient chap</span> living in <span class="adr p-adr h-adr"><span class="p-locality locality">London</span>, <span class="p-country-name country-name">UK</span></span>. <span class="h-card no-emoji">Until recently I was <span clas="p-job-title">principal engineer</a> at <span class="p-org" rel="noopener">Deliveroo</span></span>, I'm now enjoying a career break until after my wedding in July.</span>
</div>
</div>

View file

@ -6,7 +6,7 @@
{{ if len .Site.Menus }}
{{ partial "menu.html" . }}
<span class="menu-trigger">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24">
<path d="M0 0h24v24H0z" fill="none"/>
<path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/>
</svg>

View file

@ -8,6 +8,7 @@
</a>
</span>
{{ end }}
{{ if and .Paginator.HasPrev .Paginator.HasNext }}&nbsp;{{ end }}
{{ if .Paginator.HasNext }}
<span class="button next">
<a href="{{ .Paginator.Next.URL }}">

View file

@ -16,7 +16,7 @@
</a>
</span>
{{ end }}
{{ if and .NextInSection .PrevInSection }}&nbsp;{{ end }}
{{ if .PrevInSection }}
<span class="button next">
<a href="{{ .PrevInSection.RelPermalink }}">

View file

@ -35,7 +35,7 @@
</a>
</span>
{{ end }}{{ end }}
{{ if and .Params.prev .Params.next }}&nbsp;{{ end }}
{{ if .Params.next }}{{ with .Site.GetPage .Params.next }}
<span class="button next">
<a href="{{ .RelPermalink }}">