Change up styling even more, fix recent posts

This commit is contained in:
Joshua Goins 2023-02-23 18:20:14 -05:00
parent 345f5a6756
commit c187fa1286
4 changed files with 17 additions and 5 deletions

View file

@ -232,11 +232,22 @@ td {
}
tr:nth-child(even) {
background-color: var(--extra-color);
background-color: var(--extra-color) !important;
}
tbody > tr {
background-color: var(--background-secondary);
}
table {
width: 100%;
border: 1px solid black;
border-radius: 3px;
background-color: var(--background-tertiary);
}
td {
border: 1px inset black;
}
#f-badges {

View file

@ -22,7 +22,7 @@
{{ end }}
</a>
<figcaption>{{ $.Text | safeHTML }}</figcaption>
<figcaption><i>{{ $.Text | safeHTML }}</i></figcaption>
</figure>
{{- else -}}
<em>Unable to find image {{ $url }}!</em>

View file

@ -2,7 +2,7 @@
<h2>{{ .Title }}</h2>
{{ if in .File.Dir "blog" }}
<p style="margin: 0">
<i style="margin: 0">
Posted on
<time datetime="{{ .Page.Lastmod.Format "Mon Jan 10 17:13:38 2020 -0700" }}" class="text-muted">
{{ $.Date.Format "January 02, 2006" }}
@ -11,7 +11,7 @@
<time datetime="{{ .Page.Lastmod.Format "Mon Jan 10 17:13:38 2020 -0700" }}" class="text-muted">
{{ $.Page.Lastmod.Format "January 02, 2006" }}
</time>)
</p>
</i>
{{ end }}
<hr>

View file

@ -2,8 +2,9 @@
<div class="generic-con">
{{ range first 3 (where .Site.Pages "Type" "blog").ByDate.Reverse }}
<li>
<li style="margin-left: 10px; list-style-type: square;">
<a href="{{ .Permalink }}">{{ .Title }}</a>
<p><i>{{ .Summary }}</i></p>
</li>
{{ end }}