diff options
| author | Eltrac <hi@guhub.cn> | 2025-04-02 18:28:02 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-04-02 18:28:02 +0800 |
| commit | bbedeb0eaf43472ea51fbdbf76aec420e8045e8b (patch) | |
| tree | 3407cf16fc155461cf9298a3a44715efc97233b5 /assets/css | |
| parent | ebfe153b8527ba7feb5b6826dfd75168fb683a1c (diff) | |
| parent | 5b17aaa86f546e12ffdaee4e1417eca020b5b565 (diff) | |
Merge branch 'master' of https://github.com/BigCoke233/geek-death-project
Former-commit-id: 2fce6568356f731fed20198efc886f936b4a38f8
Diffstat (limited to 'assets/css')
| -rw-r--r-- | assets/css/components/_card.scss | 16 | ||||
| -rw-r--r-- | assets/css/components/_library.scss | 3 |
2 files changed, 18 insertions, 1 deletions
diff --git a/assets/css/components/_card.scss b/assets/css/components/_card.scss index 3735c861..9dd10d32 100644 --- a/assets/css/components/_card.scss +++ b/assets/css/components/_card.scss @@ -66,3 +66,19 @@ } } } + +.card-list { + .pagination { + display: flex; + @media screen and (min-width: 768px) { + padding: 1rem; + } + .pagination-prev, .pagination-next { + font-size: 2rem; + padding: 0.2rem 0.6rem; + text-decoration: none; + background-color: var(--block-background-color); + border-radius: 50%; + } + } +} diff --git a/assets/css/components/_library.scss b/assets/css/components/_library.scss index 0031df12..54b75c86 100644 --- a/assets/css/components/_library.scss +++ b/assets/css/components/_library.scss @@ -88,7 +88,8 @@ } #book-page &, #post-content & { - margin: 0; + margin: 0 auto; + max-width: 50%; @media screen and (min-width: 768px) { display: inxwline-block; float: left; |
