diff options
| author | Eltrac <hi@guhub.cn> | 2025-07-15 16:47:25 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-07-15 16:47:25 +0800 |
| commit | ef16dffd81595af3bc03efea78d45032d0b467a2 (patch) | |
| tree | 5f1588e9bab0a8ab8f18852fa26001cc11873412 /layouts/cards/section.html | |
| parent | 6c76369a20223f1f67f75450a99cf7691c7e908a (diff) | |
refactor: replace _card.scss with UnoCSS
Diffstat (limited to 'layouts/cards/section.html')
| -rw-r--r-- | layouts/cards/section.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/cards/section.html b/layouts/cards/section.html index 89ec474b..58ae859c 100644 --- a/layouts/cards/section.html +++ b/layouts/cards/section.html @@ -6,13 +6,13 @@ {{- $pages := $cards.Pages }} {{- $featured := first 6 $pages }} {{- $rest := after 6 $pages }} - <div class="cards-grid outbox small"> + <div class="grid! md:grid-cols-2 gap-[1rem] outbox small"> {{- range $featured }} {{ partial "items/card" (dict "context" . "summary" true) }} {{- end }} </div> - <ul class="cards-list"> + <ul class="flex gap-[1rem] flex-wrap justify-around list-none text-[1.2rem]"> {{- range $rest }} <li> <a href="{{ .RelPermalink }}">{{ .Title }}</a> |
