diff options
author | Alan Pearce | 2023-09-24 13:22:08 +0200 |
---|---|---|
committer | Alan Pearce | 2023-09-24 13:22:08 +0200 |
commit | f67f64b4022b6324a399e3b399fec8132d63a142 (patch) | |
tree | cdfc7cf6339d2e7f2192547a8b898a92f6df1a96 | |
parent | 1828d352da665fffc73536d47018a79a81d55771 (diff) | |
download | website-f67f64b4022b6324a399e3b399fec8132d63a142.tar.lz website-f67f64b4022b6324a399e3b399fec8132d63a142.tar.zst website-f67f64b4022b6324a399e3b399fec8132d63a142.zip |
Use microformats class to style post listings
-rw-r--r-- | templates/feed-styles.xsl | 2 | ||||
-rw-r--r-- | templates/list.html | 2 | ||||
-rw-r--r-- | templates/style.css | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/templates/feed-styles.xsl b/templates/feed-styles.xsl index 6a684a6..a92ee4f 100644 --- a/templates/feed-styles.xsl +++ b/templates/feed-styles.xsl @@ -57,7 +57,7 @@ Visit Website </a> </nav> - <ul class="blog-posts"> + <ul class="h-feed"> <xsl:for-each select="/atom:feed/atom:entry"> <li> <span> diff --git a/templates/list.html b/templates/list.html index ae5b8e9..5716b06 100644 --- a/templates/list.html +++ b/templates/list.html @@ -24,7 +24,7 @@ </nav> </header> <main id="content"> - <ul class="h-feed blog-posts"> + <ul class="h-feed"> <li class="h-entry"> <span> <time diff --git a/templates/style.css b/templates/style.css index 23722e1..f141102 100644 --- a/templates/style.css +++ b/templates/style.css @@ -133,20 +133,20 @@ footer { } /* blog posts */ -ul.blog-posts { +ul.h-feed { list-style-type: none; padding: unset; } -ul.blog-posts li { +ul.h-feed li { display: flex; } -ul.blog-posts li span { +ul.h-feed li span { flex: 0 0 130px; } -ul.blog-posts li a:visited { +ul.h-feed li a:visited { color: #8b6fcb; } |