Skip to content

Commit

Permalink
友链样式更新
Browse files Browse the repository at this point in the history
  • Loading branch information
Octl1bra committed Nov 10, 2024
1 parent f2c3c02 commit 9cc9ff1
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assets/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"baseUrl": ".",
"paths": {
"*": [
"../../../home/node/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/!cai!jimmy/hugo-theme-stack/[email protected]/assets/*"
"../../../../Library/Caches/hugo_cache/modules/filecache/modules/pkg/mod/github.com/!cai!jimmy/hugo-theme-stack/[email protected]/assets/*"
]
}
}
Expand Down
23 changes: 20 additions & 3 deletions assets/scss/custom.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
You can add your own custom styles here.
*/
//友情链接双栏
@media (min-width: 1024px) {
.article-list--compact.links {
display: grid;
grid-template-columns: 1fr 1fr;
background: none;
box-shadow: none;

article {
background: var(--card-background);
border: none;
box-shadow: var(--shadow-l2);
margin-bottom: 8px;
border-radius: 10px;
&:nth-child(odd) {
margin-right: 8px;
}
}
}
}

0 comments on commit 9cc9ff1

Please sign in to comment.