ProleWiki:Main page/styles.css: Difference between revisions
From ProleWiki, the proletarian encyclopedia
More languages
More actions
m (Some main page CSS need to be in Common.css) |
m (Making way for the Main page CSS (new style)) |
||
Line 1: | Line 1: | ||
.mainpage-body { | |||
margin:auto; | |||
} | |||
#mainpage-banner span | |||
{ | |||
display: inline-block; | |||
width: 100%; | |||
content: url(https://shared.prolewiki.org/uploads/1/11/Mainpageheader2.png); | |||
border-radius:12px; | |||
} | |||
.mainpage-banner-overlay { | |||
position: absolute; | |||
top: 65px; | |||
width: 100%; | |||
} | |||
.mainpage-header { | |||
display: flex; | |||
margin: 2.6em 1.75em 1.5em; | |||
} | |||
.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 { | |||
flex: 1; | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
margin-top: -1em; | |||
} | |||
.header-stats ul { | |||
list-style: none; | |||
} | |||
@media screen and (max-width: 800px) { | |||
.mainpage-header { | |||
flex-direction: column; | |||
padding:0 2em; | |||
} | |||
.header-stats { | |||
padding:2em 0; | |||
} | |||
} | |||
/*************** | /*************** | ||
* General CSS | * General CSS |
Revision as of 19:32, 3 February 2022
.mainpage-body {
margin:auto;
}
#mainpage-banner span
{
display: inline-block;
width: 100%;
content: url(https://shared.prolewiki.org/uploads/1/11/Mainpageheader2.png);
border-radius:12px;
}
.mainpage-banner-overlay {
position: absolute;
top: 65px;
width: 100%;
}
.mainpage-header {
display: flex;
margin: 2.6em 1.75em 1.5em;
}
.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 {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
margin-top: -1em;
}
.header-stats ul {
list-style: none;
}
@media screen and (max-width: 800px) {
.mainpage-header {
flex-direction: column;
padding:0 2em;
}
.header-stats {
padding:2em 0;
}
}
/***************
* General CSS
****************/
#pw-mp-banner span
{
display: inline-block;
width: 100%;
content: url(https://shared.prolewiki.org/uploads/f/f9/Mainpageheader.png);
border-radius:12px;
}
/******************************
* CSS for mobile main page
******************************/
@media all and (min-width: 768px) {
.prolewiki-mainpage-column {
float: left;
width: 50%;
}
.prolewiki-mainpage-column-first {
padding-right: 5px;
}
.prolewiki-mainpage-column-second {
padding-left: 5px;
}
.prolewiki-mainpage-sister-projects {
text-align: center;
}
}
body.action-view .firstHeading {
display: none;
}
body.action-view #contentSub {
display: none;
}
#firstHeading {
display: none;
}
.firstHeading {
display: none;
}