From c1a73070b89a7abc75f917bc8cdeef30e490966a Mon Sep 17 00:00:00 2001 From: lushisang Date: Tue, 2 Jul 2024 13:14:29 +0800 Subject: [PATCH] content: update --- src/pages/xyy/index.astro | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/pages/xyy/index.astro b/src/pages/xyy/index.astro index bfea699..9cde451 100644 --- a/src/pages/xyy/index.astro +++ b/src/pages/xyy/index.astro @@ -22,14 +22,17 @@ const posts = (await getCollection("xyy")).sort( ul { display: flex; flex-wrap: wrap; - gap: 1rem; + gap: 0.5rem; list-style-type: none; justify-content: flex-start; margin: 0; padding: 0; } ul li { - width: calc(50% - 1rem); + width: 160px; + height: 80px; + border: solid rgba(189, 195, 255, 1); + padding: 4px; } ul li * { text-decoration: none; @@ -46,10 +49,12 @@ const posts = (await getCollection("xyy")).sort( margin: 0; color: rgb(var(--black)); line-height: 1; + font-size: medium; } .date { margin: 0; color: rgb(var(--gray)); + font-size: medium; } ul li a:hover .title, ul li a:hover .date {