/* post series */ #post-series-list { display: flex; gap: 0.5rem; @media screen and (min-width: 768px) { margin: 2rem 0; gap: 1rem; } .post-series-item { display: flex; flex-direction: column; overflow: hidden; transition: 0.3s; cursor: pointer; @include bordered; .post-series-cover { img { display: block; width: 8rem; } } .post-series-text { background-color: var(--block-background-color); h3 { margin: 0; text-align: center; } } &:hover { text-decoration: none; box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2); transform: translateY(-0.5rem); } } } /* termlist */ .termlist-page { .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: "《"; } &::after { content: "》"; } } .termlist-subscribe { text-align: center; font-size: 0.9rem; a { color: var(--secondary-text-color); &:hover { text-decoration: none; } } } } @media screen and (max-width: 600px) { .posts-line { font-size: 16px; } .markdown-body { font-size: 16px; } .post-title { font-size: 2rem; } .post-content p { letter-spacing: 0.05em; } .post-content .post-gallery img { width: 100%; } } @media screen and (max-width: 48em) { .posts-category { display: none; } } /* posts archive */ #posts-archive { @mixin section-title { display: flex; justify-content: space-between; align-items: center; small { color: var(--secondary-text-color); font-size: 0.8rem; } } .posts-year-archive { width: 100%; .posts-year-title { border-bottom: 2px solid var(--border-color); padding: 0.5rem 0; font-size: 1.5rem; @include section-title; } } .posts-month-archive { summary { display: flex; align-items: center; border-bottom: 1px dashed var(--border-color); padding: 0.5rem 0.25rem; .posts-month-title { font-size: 1.1rem; display: inline-block; width: 100%; margin: 0; @include section-title; } } } } #previous-post-link { display: block; width: fit-content; margin: 2rem auto; &::before, &::after { content: "-"; margin: 0 0.5rem; text-decoration: none; } }