@require "common/variables.styl" @require "common/magic-theme.styl" .home-content-container { .home-article-list { .home-article-item { position: relative; .top-icon { position: absolute; top: 6px; right: 10px; font-size: 1.8em; transform: rotate(50deg); } background: var(--background-color); if (hexo-config('magic.enable')) { magic-container(1.02, 1.02, 30px); margin-bottom: $component-interspace; +ils-tablet() { magic-container(1.01, 1.01, 20px); margin-bottom: $component-interspace - 10px; } } else { margin-bottom: 70px; } .home-article-title { position: relative; font-weight: 600; color: var(--second-text-color); font-size: 1.5em; line-height: 1.5em; +ils-tablet() { font-size: 1.3em; } +ils-mobile() { font-size: 1.2em; } margin: 0; if (hexo-config('magic.enable')) { //TODO: .... } else { a { color: var(--second-text-color); } } } .home-article-content { text-align: justify; if (hexo-config('magic.enable') == true) { margin: 20px 0; } else { margin: 30px 0; } line-height: 2em; } .home-article-meta-info-container { display: flex; justify-content: space-between; align-items: center; color: var(--third-text-color); if (hexo-config('magic.enable') == true) { font-size: 1em; } else { font-size: 0.9em; } .home-article-meta-info { letter-spacing: 0.5px; span { margin-right: 10px; &:last-child { margin-right: 0; } ul, li { display: inline; } } .home-article-category { +ils-mobile() { display: none; } } .home-article-tag { +ils-tablet() { display: none; } } } hr { border: none; flex: 1; height: 1px; background: var(--border-color); margin: 0 10px; } a { color: var(--third-text-color); &:hover { color: var(--primary-color) } } } } } }