You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
1.9 KiB
69 lines
1.9 KiB
.list {
|
|
display: flex;
|
|
gap: 15px;
|
|
flex-wrap: wrap;
|
|
|
|
&.blog {
|
|
|
|
>* {
|
|
width: calc(25% - 15px * 3 / 4);
|
|
}
|
|
|
|
/* ≥1024px 默认4列;介于768px-1023px 显示3列 */
|
|
@media (max-width: 1023px) {
|
|
>* {
|
|
width: calc(33.3333% - 15px * 2 / 3);
|
|
}
|
|
}
|
|
|
|
/* 介于640px-767px 显示2列 */
|
|
@media (max-width: 767px) {
|
|
>* {
|
|
width: calc(50% - 15px * 1 / 2);
|
|
}
|
|
}
|
|
|
|
/* <640px 显示1列,并优化间距与字号 */
|
|
@media (max-width: 639px) {
|
|
gap: 12px;
|
|
|
|
>* {
|
|
width: 100%;
|
|
}
|
|
|
|
.article-card {
|
|
padding: 14px;
|
|
}
|
|
|
|
.article-title {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.article-meta {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.article-desc {
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.list a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.material-symbols-light--info-rounded {
|
|
display: inline-block;
|
|
width: 24px;
|
|
height: 24px;
|
|
--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 16.5q.214 0 .357-.144T12.5 16v-4.5q0-.213-.144-.356T11.999 11t-.356.144t-.143.356V16q0 .213.144.356t.357.144M12 9.577q.262 0 .439-.177t.176-.438t-.177-.439T12 8.346t-.438.177t-.177.439t.177.438t.438.177M12.003 21q-1.867 0-3.51-.708q-1.643-.709-2.859-1.924t-1.925-2.856T3 12.003t.709-3.51Q4.417 6.85 5.63 5.634t2.857-1.925T11.997 3t3.51.709q1.643.708 2.859 1.922t1.925 2.857t.709 3.509t-.708 3.51t-1.924 2.859t-2.856 1.925t-3.509.709'/%3E%3C/svg%3E");
|
|
background-color: currentColor;
|
|
-webkit-mask-image: var(--svg);
|
|
mask-image: var(--svg);
|
|
-webkit-mask-repeat: no-repeat;
|
|
mask-repeat: no-repeat;
|
|
-webkit-mask-size: 100% 100%;
|
|
mask-size: 100% 100%;
|
|
}
|