mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-28 19:43:31 +08:00
feat: modify links style
This commit is contained in:
parent
fb655f9c04
commit
44577f65d4
@ -101,4 +101,24 @@
|
||||
.db-card-comment {
|
||||
display: none
|
||||
}
|
||||
}
|
||||
|
||||
@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-l1);
|
||||
margin-bottom: 8px;
|
||||
border-radius: 5px;
|
||||
&:nth-child(odd) {
|
||||
margin-right: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user