From 93d876f46fdb1f5b619cab4bf572d92fa0f8d268 Mon Sep 17 00:00:00 2001 From: TaurusXin Date: Sat, 29 Apr 2023 09:18:44 +0100 Subject: [PATCH] refactor: friend links displays in grid --- assets/scss/custom.scss | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/assets/scss/custom.scss b/assets/scss/custom.scss index 54e6363..87593a5 100644 --- a/assets/scss/custom.scss +++ b/assets/scss/custom.scss @@ -54,3 +54,23 @@ } } } + +@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-l2); + margin-bottom: 8px; + border-radius: 10px; + &:nth-child(odd) { + margin-right: 8px; + } + } + } +}