@import "../base/variables"; // 日志 .journals { >.name { font-size: 1.5rem; font-weight: bold; line-height: 2.2rem; color: #262626; } >ul { >li { >.content { font-size: 1rem; color: #595959; } >.info { display: flex; justify-content: flex-end; font-size: 0.75rem; color: #8c8c8c; } } } // =========== 深色 =========== @include darkmode { >.name { color: #dbdbdb; } >ul { >li { >.content { color: #acacac; } >.info { color: #7d7d7d; } } } } // =========== 320px 设备 =========== @media (max-width: 320px) { >.name { padding: 2.5% 0; text-align: center; } >ul { >li { padding: 2.5% 0; >.info { padding: 1% 0; } } } } // =========== 768px 设备 =========== @media (min-width: 320px) and (max-width: 768px) { >ul { >li { padding: 2.5% 0; >.info { padding: 1% 0; } } } } }