ProleWiki:Main page/styles.css: Difference between revisions
From ProleWiki, the proletarian encyclopedia
More languages
More actions
Sakaearisu (talk | contribs) (Correcting CSS) |
m (Centralized main page CSS) |
||
Line 1: | Line 1: | ||
/*************** | |||
* 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; | |||
} | |||
.firstHeading, | |||
#siteSub, | |||
#n-mainpage-description | |||
{ display: none; } | |||
/****************************** | /****************************** | ||
* | * CSS for mobile main page | ||
******************************/ | ******************************/ | ||
Revision as of 22:06, 23 December 2021
/***************
* 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;
}
.firstHeading,
#siteSub,
#n-mainpage-description
{ display: none; }
/******************************
* 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;
}