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

来自Dollan Infinity TH Wiki
无编辑摘要
无编辑摘要
第12行: 第12行:
}
}
.subtitle {
.subtitle {
width: 100%;  
width: 1150px;  
font-size: 16px;
font-size: 16px;
margin-top: 1em;
margin-top: 1em;
第56行: 第56行:
.header_all {
.header_all {
     position: relative;
     position: relative;
    height: 200%;
}
}

2023年8月14日 (一) 20:44的版本

.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: 1150px; 
	font-size: 16px;
	margin-top: 1em;
	margin-bottom: 1.5em;
	text-align: center;
	background-color: #D3D3D3;
	color: #ffffff;
	font-family: 'Minecraft AE' !important;
}
.header {
    pointer-events: none;
	height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
}
.mainpage_background {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-position: center center;
}
.mainpage_background img {
	width: 100%;
	padding-bottom: 300px;
	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: "";
}
.header_all {
    position: relative;
}