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

普罗百科:首页/styles.css:修订间差异

来自普罗百科,无产者的百科全书
更多语言
(创建页面,内容为“.mainpage-body { margin:auto; } #mainpage-banner span { display: inline-block; width: 100%; content: url(/resources/assets/mainpage/mainpageheader_en.png); border-radius:12px; } .mainpage-banner-overlay { position: absolute; top: 65px; width: 100%; } .mainpage-header { display: flex; margin: 2em 5em; align-items:baseline; } .header-intro { flex: 2; } .header-intro h1 { font-size: 2.5em; border: none; margin: 0 0 .15em; } .he…”)
 
(Removed Contribution scores title (redundant))
 
(未显示同一用户的2个中间版本)
第7行: 第7行:
display: inline-block;
display: inline-block;
width: 100%;
width: 100%;
content: url(/resources/assets/mainpage/mainpageheader_en.png);
content: url(/resources/assets/mainpage/mainpageheader_zh.png);
border-radius:12px;
border-radius:12px;
第90行: 第90行:
.frame-body {
.frame-body {
padding: 1em;
padding: 1em;
}
.contributionscores-title {
display:none;
}
}

2022年8月12日 (五) 14:09的最新版本

.mainpage-body {
	margin:auto;
}

#mainpage-banner span
{
	display: inline-block;
	width: 100%;
	content: url(/resources/assets/mainpage/mainpageheader_zh.png);
	border-radius:12px;
	
}
.mainpage-banner-overlay {
	position: absolute;
	top: 65px;
	width: 100%;
}

.mainpage-header {
    display: flex;
	margin: 2em 5em;
	align-items:baseline;
}

.header-intro {
    flex: 2;
}

.header-intro h1 {
    font-size: 2.5em;
    border: none;
    margin: 0 0 .15em;
}

.header-intro p {
    font-size: 1.1em;
    line-height: 1.7em;
}

.header-stats {
    display: flex;
    align-items: center;
    margin:auto;
}
.header-stats ul {
        list-style: none;
}

@media screen and (max-width: 800px) {
	.mainpage-header {
		flex-direction: column;
		margin:2em;
	}
}

.mainpage-frame {
	box-shadow: 0 0 .3em #999;
	border-radius: 1em;
	width:100%;
}
.mainpage-frame:after {
	display: block;
	content: "";
	clear: both;
}
.separator {
	width:5%;
	margin:1em auto;
}
.frame-header {
	background-color:#b50014;
	border-radius: 1em 1em 0.25em 0.25em;
	color: #fff;
	padding: .4em .8em .5em;
	font-weight: bold;
}
.frame-header:before {
	display: inline-block;
	/* Add some content in order to get normal line height, then make it transparent */
	content: "x";
	color: transparent;
	width: 40px;
	opacity: .7;
	/*[[File:Hamsickwhite.svg]]*/
	background-image: url(https://shared.prolewiki.org/uploads/3/3d/Hamsickwhite.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: left center;
}
.frame-body {
	padding: 1em;
}
.contributionscores-title {
	display:none;
}