mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 01:35:56 +01:00
Improve no-CSS look
This commit is contained in:
parent
7631c1ac4b
commit
afbbff095c
7 changed files with 10 additions and 5 deletions
|
@ -877,6 +877,10 @@ mark {
|
|||
.homepage {
|
||||
.content {
|
||||
align-items: center;
|
||||
|
||||
.posts {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.previews {
|
||||
|
|
|
@ -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" .}}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
</a>
|
||||
</span>
|
||||
{{ end }}
|
||||
{{ if and .Paginator.HasPrev .Paginator.HasNext }} {{ end }}
|
||||
{{ if .Paginator.HasNext }}
|
||||
<span class="button next">
|
||||
<a href="{{ .Paginator.Next.URL }}">
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
</a>
|
||||
</span>
|
||||
{{ end }}
|
||||
|
||||
{{ if and .NextInSection .PrevInSection }} {{ end }}
|
||||
{{ if .PrevInSection }}
|
||||
<span class="button next">
|
||||
<a href="{{ .PrevInSection.RelPermalink }}">
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
</a>
|
||||
</span>
|
||||
{{ end }}{{ end }}
|
||||
|
||||
{{ if and .Params.prev .Params.next }} {{ end }}
|
||||
{{ if .Params.next }}{{ with .Site.GetPage .Params.next }}
|
||||
<span class="button next">
|
||||
<a href="{{ .RelPermalink }}">
|
||||
|
|
Loading…
Reference in a new issue