短文配图:快发盒上传 + Twitter 式网格 + 全站 lightbox 预览;整卡点击进详情、时间线短文豁免首字
This commit is contained in:
1 parent
08250b58ef
commit
740d47bbf6
11 files changed
+519
-5
No files matched your search
@@ -128,6 +128,19 @@ html[data-ui='vivid'] .note .body a {color:var(--accent);font-weight:600;
|
||||
@media (hover: hover) and (pointer: fine) {
|
||||
html[data-ui='vivid'] .note .body a:hover {border-bottom-color:var(--accent)}
|
||||
}
|
||||
/* 短文配图:Twitter 式网格(快发盒上传,≤4 张) */
|
||||
html[data-ui='vivid'] .note .imgs {display:grid;gap:3px;margin-top:10px;
|
||||
border-radius:var(--radius);overflow:hidden;}
|
||||
html[data-ui='vivid'] .note .imgs img {display:block;width:100%;height:100%;
|
||||
object-fit:cover;cursor:zoom-in;}
|
||||
html[data-ui='vivid'] .note .imgs.n2,
|
||||
html[data-ui='vivid'] .note .imgs.n4 {grid-template-columns:1fr 1fr;}
|
||||
html[data-ui='vivid'] .note .imgs.n3 {grid-template-columns:1fr 1fr;}
|
||||
html[data-ui='vivid'] .note .imgs.n2 img,
|
||||
html[data-ui='vivid'] .note .imgs.n4 img {aspect-ratio:1;}
|
||||
html[data-ui='vivid'] .note .imgs.n3 img {aspect-ratio:1;}
|
||||
html[data-ui='vivid'] .note .imgs.n3 img:first-child {grid-row:span 2;
|
||||
aspect-ratio:auto;height:100%;}
|
||||
html[data-ui='vivid'] .note .tags {display:flex;gap:14px;flex-wrap:wrap;margin-top:8px}
|
||||
html[data-ui='vivid'] .pager {display:flex;gap:8px;align-items:center;justify-content:center;
|
||||
margin-top:36px;flex-wrap:wrap;}
|
||||
|
||||
Reference in new issue
Block a user