From 44577f65d4767e309e79416c5219a523169f5612 Mon Sep 17 00:00:00 2001 From: aka <125674614+zhen-shi@users.noreply.github.com> Date: Wed, 7 Feb 2024 23:36:57 +0800 Subject: [PATCH] feat: modify links style --- assets/scss/custom.scss | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/assets/scss/custom.scss b/assets/scss/custom.scss index 7ac41f7..58ce604 100644 --- a/assets/scss/custom.scss +++ b/assets/scss/custom.scss @@ -101,4 +101,24 @@ .db-card-comment { display: none } + } + + @media (min-width: 1024px) { + .article-list--compact.links { + display: grid; + grid-template-columns: 1fr 1fr; + background: none; + box-shadow: none; + + article { + background: var(--card-background); + border: none; + box-shadow: var(--shadow-l1); + margin-bottom: 8px; + border-radius: 5px; + &:nth-child(odd) { + margin-right: 8px; + } + } + } } \ No newline at end of file