“Widget:首页”的版本间差异

添加290字节 、​ 2023年2月13日 (一) 14:44
format
(//使用页面/文本对比查看器快速编辑)
Zth讨论 | 贡献
(format)
 
(未显示2个用户的7个中间版本)
<noinclude>{{doc|content=因为[[project:首页|首页]]用到的CSS很多,却只在个别页面使用,因此独立成Widget。}}[[category:纯CSS小部件]]</noinclude><includeonly><!--{if !isset($wgWidgetMainpage) || !$wgWidgetMainpage}--><!--{assign var="wgWidgetMainpage" value=true scope="global"}--><style id="mainpage-style">
/* </includeonly>CSS样式表:<pre lang="css"> */
.page-LLWiki_首页 h1, .page-LLWiki_首页 .mw-indicators {
display: none;
.mainpage-news-content {
margin-left: 0.5em;
}
.mainpage-date + .mainpage-date::before {
content: "、";
}
@media screen and (min-width:900px) {
display: flex;
}
.skin-vector .mainpage-news-time, .skin-minervavector .mainpage-news-content,
.skin-vector .mainpage-date {
display: block;
.skin-vector .mainpage-news-time {
white-space: nowrap;
}
.skin-vector .mainpage-date + .mainpage-date::before {
content: none;
}
}
width: 49%;
margin-bottom: 40px;
}
.skin-vector .mainpage-project.centered {
transform: translateX(50%);
}
.skin-minerva .mainpage-project {
min-width: 5em;
}
/* </pre><includeonly> */
</style><!--{/if}--></includeonly>
14,963

个编辑