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

来自NebulaeWiki
(页面间差异)
无编辑摘要
标签已被回退
 
(已保护“模板:主页搜索框/styles.css”([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期)))
 
第1行: 第1行:
<div id="home-featured" class="home-card home-card--button home-card--col2 home-card--row1">
.mw-ui-input
<div class="home-card__background">[[文件:HanamiRoadStation.png]]</div>
{
<div class="home-card__foreground">
    /* border-color: rgb(0 0 0 / 5%); */
<div class="home-card__label">精选内容</div>
    border-radius: 5px;
<h3 class="home-card__header">#上屿#花见路站周边夜景</h3>
    letter-spacing: 1px;
</div>
    background: var( --color-surface-1 );
</div>
    box-shadow: inset 0px 2px 2px #d3d3d3;
<templatestyles src="Template:Main page/featured/styles.css"/>
    width: 80%;
<templatestyles src="Template:Main page/shared/styles.css"/>
    height: 100%;
<noinclude>{{/doc}}</noinclude>
    object-fit: cover;
}
.mw-ui-button
{
background-color: #3366cc;
    color: #ffffff;
    border-radius:5px;
    width: 18%;
    padding:5px;
    min-width: 3em;
}
.home__search
{
max-width: 600px;
padding: 0.6rem 0.8rem;
margin: 0.8rem auto 1.6rem auto;
display: flex;
    justify-content: center;
background:transparent;
border-radius: 100px;
color: var( --color-base--subtle );
cursor: pointer;
font-size:1.1rem;
}

2023年9月23日 (六) 22:23的最新版本

.mw-ui-input 
{
    /* border-color: rgb(0 0 0 / 5%); */
    border-radius: 5px;
    letter-spacing: 1px;
    background: var( --color-surface-1 );
    box-shadow: inset 0px 2px 2px #d3d3d3;
    width: 80%;
    height: 100%;
    object-fit: cover;
}
.mw-ui-button 
{
	background-color: #3366cc;
    color: #ffffff;
    border-radius:5px;
    width: 18%;
    padding:5px;
    min-width: 3em;
}
.home__search 
{
	max-width: 600px;
	padding: 0.6rem 0.8rem;
	margin: 0.8rem auto 1.6rem auto;
	display: flex;
    justify-content: center;
	background:transparent;
	border-radius: 100px;
	color: var( --color-base--subtle );
	cursor: pointer;
	font-size:1.1rem;
}