打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

“模板:首页/精选内容/styles.css”与“模板:首页/精选内容”:页面之间的差异

爱来自星云工艺喵!(づ。◕◡◡◕。)づ
(页面间差异)
Kuina留言 | 贡献
无编辑摘要
 
Kuina留言 | 贡献
无编辑摘要
 
第1行: 第1行:
#home-featured {
<div id="home-featured" class="home-card home-card--button home-card--col2 home-card--row1">
overflow: hidden;
<div class="home-card__background">[[文件:{{Main page/settings|featured-pic}}|x200px|{{Main page/settings|featured}}]]</div>
}
<div class="home-card__foreground">
 
<div class="home-card__label">精选内容</div>
#home-featured .home-card__background a {
<h3 class="home-card__header">{{Main page/settings|featured}}</h3>
display: block;
</div>
height: 10%;
</div>
}
<templatestyles src="Template:Main page/featured/styles.css"/>
 
<templatestyles src="Template:Main page/shared/styles.css"/>
#home-featured .home-card__background:after {
<noinclude>{{/doc}}</noinclude>
position: absolute;
pointer-events: none;
right: 0;
bottom: 0;
left: 0;
display: block;
height: 100%;
background: linear-gradient( to top, #000, transparent );
border-radius: 0 0 8px 8px;
content: '';
}
 
#home-featured .home-card__foreground {
pointer-events: none;
right: 15px;
bottom: 15px;
left: 15px;
}

2023年9月19日 (二) 14:23的版本

我们为您提供服务需要使用Cookie。使用我们的服务即表示您同意我们使用Cookie。