“模板:Main page/featured/styles.css”与“模板:Main page/header”:页面之间的差异

来自NebulaeWiki
< 模板:Main page/featured(页面间差异)
无编辑摘要
 
无编辑摘要
 
第1行: 第1行:
#home-featured {
<div class="home-header"><div class="home-header">
overflow: hidden;
<div class="home-header__pretitle">欢迎来到</div>
}
<h1 class="home-header__title">星云维基百科</h1>
 
<p class="home-header__subtitle">这里是NebulaeCraft官方开设的线上知识库。</p>
#home-featured .home-card__background a {
<!--<div id="skin-citizen-search-trigger" class="home-header__search" role="button"><span class="home-header__searchIcon">[[File:WikimediaUI-Search.svg|16px|link=]]</span><span class="home-header__searchText">点击这里<span class="desktoponly">或按{{Key press|/}}</span>来开始搜索</span></div>-->
display: block;
</div><templatestyles src="Template:Main page/header/styles.css"/><noinclude><!-- For preview only --><templatestyles src="Template:Main page/shared/styles.css" />{{/doc}}</noinclude>
height: 100%;
}
 
#home-featured .home-card__background:after {
position: absolute;
pointer-events: none;
right: 0;
bottom: 0;
left: 0;
display: block;
height: 100%;
opacity: 0.2;
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:37的版本

欢迎来到

星云维基百科

这里是NebulaeCraft官方开设的线上知识库。

Template documentation[view][edit][history][purge]
This documentation is transcluded from 模板:Main page/header/doc. Changes can be proposed in the talk page.

This template is used on the main page. It is the header section including the hero title and subtitle text, and the search bar.