diff options
| author | Eltrac <hi@guhub.cn> | 2025-04-25 16:58:33 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-04-25 16:58:33 +0800 |
| commit | fcfd77fe5ac76ede7d4bee2bad7caf3e529eca18 (patch) | |
| tree | f4beabe39bd187ed84a2649cdd1d5c5e2c5f617f /assets/css | |
| parent | 09b01ccb70d596a10830dfd889d80f6d355ae6c5 (diff) | |
feat: remove header and add title image to card page
Diffstat (limited to 'assets/css')
| -rw-r--r-- | assets/css/components/_card.scss | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/assets/css/components/_card.scss b/assets/css/components/_card.scss index 932ce6a5..a5f2468c 100644 --- a/assets/css/components/_card.scss +++ b/assets/css/components/_card.scss @@ -86,3 +86,22 @@ } } } + +article.card-page { + margin-top: var(--page-header-top); + position: relative; + .title-image-container { + --size: 4rem; + @include roundSticker; + position: absolute; + top: -1rem; + right: -1rem; + width: var(--size); + height: var(--size); + z-index: 1; + transform: rotate(-5deg); + img { + width: 100%; + } + } +} |
