diff options
| author | Eltrac <hi@guhub.cn> | 2025-04-21 23:13:06 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-04-21 23:13:06 +0800 |
| commit | aa7d1febfbbc994e50fdb18285f78fa3c34430e6 (patch) | |
| tree | 6e7799e27df56b8e595ea262686dc33b71557272 /assets/css/components | |
| parent | 340635c8b6274c828b4a2315b8b3ccac7978a15a (diff) | |
feat: move novels here and add relevant page templates
Diffstat (limited to 'assets/css/components')
| -rw-r--r-- | assets/css/components/_fictions.scss | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/assets/css/components/_fictions.scss b/assets/css/components/_fictions.scss new file mode 100644 index 00000000..c235a5f2 --- /dev/null +++ b/assets/css/components/_fictions.scss @@ -0,0 +1,48 @@ +#fiction-section { + .fiction-welcome { + margin: 2rem 0; + display: flex; + align-items: center; + gap: 2rem; + @media screen and (max-width: 768px) { + gap: 1rem; + } + + .fiction-welcome-image img { + width: 10rem; + @media screen and (max-width: 768px) { + width: 7rem; + } + opacity: 0.8; + } + } + + .fiction-list { + margin: 4rem 0; + .fiction-item { + text-align: center; + margin: 2rem 0; + + .fiction-item-title { + margin: 0; + } + .fiction-item-meta { + color: var(--secondary-text-color); + } + } + } +} + +.fiction-page { + .fiction-header { + display: flex; + flex-direction: column; + align-items: center; + } +} + +.fiction-page-header { + display: flex; + flex-direction: column; + align-items: center; +} |
