diff options
| author | Eltrac <hi@guhub.cn> | 2025-04-25 22:36:33 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-04-25 22:36:33 +0800 |
| commit | ef9ab146ce1518a605b5918960bdd25ee696c662 (patch) | |
| tree | f3e4118e8ff8e72bc3651a09c6b6ad24455a7165 /assets | |
| parent | d3c96c6e2a98c0384cb060d5e3fac734ced6bde8 (diff) | |
feat: separate cards and other pages in term page
Former-commit-id: 33198f399b7f85f235a4e1235af46cbced33a1a9
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/css/components/_postlist.scss | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/assets/css/components/_postlist.scss b/assets/css/components/_postlist.scss index d3df207b..5cc30856 100644 --- a/assets/css/components/_postlist.scss +++ b/assets/css/components/_postlist.scss @@ -105,7 +105,7 @@ } .term-list { - ul { + .term-list-posts { list-style: none; padding-inline-start: 0; display: flex; @@ -120,6 +120,22 @@ font-family: var(--mono-font-family); color: var(--secondary-text-color); } + .posts-subtitle { + color: var(--secondary-text-color); + } + } + } + .term-list-cards { + @media screen and (min-width: 768px) { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 1rem; + } + .card { + margin: 0; + h3 { + margin: 0; + } } } } |
