diff options
| author | Eltrac <hi@guhub.cn> | 2025-01-09 13:08:15 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-01-09 13:08:15 +0800 |
| commit | 2185a2b9d19535766607041c3873192a6119984b (patch) | |
| tree | 1accd42173e6c0506e3d81a6739f0dce0651fa95 /assets/css/components | |
| parent | 650e52a2800dadd1f46acb8b4911c2d2cfed8fda (diff) | |
fix(theme): missing style in term page
Diffstat (limited to 'assets/css/components')
| -rw-r--r-- | assets/css/components/_pages.scss | 68 |
1 files changed, 33 insertions, 35 deletions
diff --git a/assets/css/components/_pages.scss b/assets/css/components/_pages.scss index 75f0fa2d..3b6fd860 100644 --- a/assets/css/components/_pages.scss +++ b/assets/css/components/_pages.scss @@ -135,45 +135,43 @@ /* termlist */ -article { - .termlist-title { - font-size: 2rem; - text-align: center; - display: flex; - justify-content: center; - align-items: center; - - background-color: var(--block-background-color); - padding: 0.5rem 1rem; - border-radius: 1rem; - width: fit-content; - margin: 2rem auto; - margin-bottom: 0; - - &::before, - &::after { - margin: 0.5rem 0; - color: var(--secondary-text-color); - font-size: 0.75em - } +.termlist-title { + font-size: 2rem; + text-align: center; + display: flex; + justify-content: center; + align-items: center; + + background-color: var(--block-background-color); + padding: 0.5rem 1rem; + border-radius: 1rem; + width: fit-content; + margin: 2rem auto; + margin-bottom: 0; + + &::before, + &::after { + margin: 0.5rem 0; + color: var(--secondary-text-color); + font-size: 0.75em + } - &::before { - content: "《"; - } + &::before { + content: "《"; + } - &::after { - content: "》"; - } + &::after { + content: "》"; } +} - .termlist-subscribe { - text-align: center; - font-size: .9rem; - a { - color: var(--secondary-text-color); - &:hover { - text-decoration: none - } +.termlist-subscribe { + text-align: center; + font-size: .9rem; + a { + color: var(--secondary-text-color); + &:hover { + text-decoration: none } } } |
