ProleWiki:Main page/Header/styles.css: Difference between revisions
From ProleWiki, the proletarian encyclopedia
More languages
More actions
m (FelipeForte moved page ProleWiki:Main Page/Header/styles.css to ProleWiki:Main page/Header/styles.css without leaving a redirect: OCD) |
Sakaearisu (talk | contribs) (Put CSS from gambiarra here) |
||
Line 1: | Line 1: | ||
.page-ProleWiki_Main_page .firstHeading { | |||
display: none; | |||
} | |||
#pw-mp-banner span { | |||
display: inline-block; | |||
width: 100%; | |||
object-fit: contain; | |||
object-position: center; | |||
content: url(https://shared.prolewiki.org/uploads/f/f9/Mainpageheader.png); | |||
} | |||
.wd-mp-header { | .wd-mp-header { | ||
overflow: hidden; | overflow: hidden; |
Revision as of 23:54, 3 January 2021
.page-ProleWiki_Main_page .firstHeading {
display: none;
}
#pw-mp-banner span {
display: inline-block;
width: 100%;
object-fit: contain;
object-position: center;
content: url(https://shared.prolewiki.org/uploads/f/f9/Mainpageheader.png);
}
.wd-mp-header {
overflow: hidden;
position: relative;
text-align: center;
margin-bottom: 10px;
color: #484848;
}
.wd-mp-headerimage {
width: 100%;
object-fit: contain;
object-position: center;
}
.wd-mp-overlay {
height: 0;
left: 50%;
margin: 0 0 0 -50%;
position: absolute;
top: 65px;
width: 100%;
}
.wd-mp-headerbox {
background: #ddd;
background: rgba(221, 221, 221, 0.85);
display: inline-block;
padding: 2em;
font-size: 1.2em;
line-height: 2em;
}
.wd-mp-subheader {
margin-top:10px;
}
.wd-mp-subheader > div {
overflow: hidden;
position: relative;
background-color:white;
background-color:rgba(221, 221, 221, 0.85);
display: inline-block;
width: auto;
margin: 0 auto;
padding-left: 1em;
padding-right: 1em;
text-align: center;
box-sizing: border-box;
}