@require "../common/variables.styl"; $archive-year-font-size = 1.8em; $archive-year-count-font-size = 1.2em; $article-title-font-size = 1.2em; $article-date-font-size = 1em; .archive-list-container { .archive-item { margin-bottom: 58px; &:last-child { margin-bottom: 0; } .archive-item-header { margin-bottom: 10px; .archive-year { font-size: $archive-year-font-size; +ils-tablet() { font-size: $archive-year-font-size - 0.2em; } color: var(--second-text-color); font-weight: 600; margin-right: 6px; } .archive-year-post-count { font-size: $archive-year-count-font-size; +ils-tablet() { font-size: $archive-year-count-font-size - 0.1em; } color: var(--second-text-color); font-weight: 500; } } .article-list { padding-left: 10px; +ils-tablet() { padding-left: 0; } .article-item { margin-top: 18px; +ils-tablet() { margin-top: 16px; } +ils-mobile() { margin-top: 14px; } &:hover { color: var(--primary-color); } a.article-title { color: var(--default-text-color); &:hover { color: var(--primary-color); } } .article-date { font-size: $article-date-font-size; float: right; } } } } }