|  1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 | //  ~\blog\assets\scss\custom.scss
//--------------------------------------------------
//链接三栏
@media (min-width: 1024px) {
	.article-list--compact.links {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr; //三个1fr即为三栏,两个1fr则为双栏,以此类推即可.
		background: none;
		box-shadow: none;
		gap: 1rem;
		article {
			background: var(--card-background);
			border: none;
			box-shadow: var(--shadow-l2);
			margin-bottom: 8px;
			border-radius: var(--card-border-radius);
			&:nth-child(odd) {
				margin-right: 8px;
			}
		}
	}
}
 |