模板:Main page/header/styles.css:修订间差异

来自Dollan Infinity TH Wiki
无编辑摘要
无编辑摘要
第18行: 第18行:
margin-bottom: 1.5em;
margin-bottom: 1.5em;
text-align: center;
text-align: center;
background-color: #D3D3D3;
background-color: #D3D3D3;  
color: var( --color-surface-2 );
color: var( --color-surface-2 );
font-family: 'Minecraft AE' !important;
font-family: 'Minecraft AE' !important;
}
}
.header {
.header {
    pointer-events: none;
position: relative;
height: 100%;
     background-position: center center;
     width: 100%;
    display: block;
    padding: 2.5px 2.5px;
}
}
.mainpage_background {
/*.mainpage_background {
    background: url(2400px-Main_Page.png) no-repeat fixed linear-gradient(to top,#fff,transparent);
position: relative;
position: relative;
display: block;
display: block;
第53行: 第51行:
     left: 0;
     left: 0;
     display: block;
     display: block;
    background: linear-gradient(to top,#fff,transparent);
     content: "";
     content: "";
}
} */
.header_all {
    height: 200px;
}

2023年8月15日 (二) 00:50的版本

/*地狱代码*/
.title {
	font-size: 15px;
	line-height: 18px;
	margin-top: 3em;
	margin-bottom: 1em;
	text-align: center;
	font-family: 'Minecraft AE' !important;
}
.sub {
	font-size: 8px;
	margin-left: 20em;
}
.subtitle {
	width: 100%;
	font-size: 16px;
	margin-top: 1em;
	margin-bottom: 1.5em;
	text-align: center;
	background-color: #D3D3D3; 
	color: var( --color-surface-2 );
	font-family: 'Minecraft AE' !important;
}
.header {
	position: relative;
    background-position: center center;
}
/*.mainpage_background {
    background: url(2400px-Main_Page.png) no-repeat fixed linear-gradient(to top,#fff,transparent);
	position: relative;
	display: block;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-position: top center;
}
.mainpage_background img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.mainpage_background:after {
	position: absolute;
	pointer-events: none;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    content: "";
} */