ProleWiki:Main page/styles.css: Difference between revisions
From ProleWiki, the proletarian encyclopedia
More languages
More actions
m (Centralized main page CSS) |
m (Attempt to hide title) |
||
Line 11: | Line 11: | ||
} | } | ||
body.page-ProleWiki_Main_page.action-view h1.firstHeading, body.page-ProleWiki_Main_page.action-submit h1.firstHeading { display: none; } | |||
.firstHeading, | .firstHeading, |
Revision as of 01:00, 24 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;
}
body.page-ProleWiki_Main_page.action-view h1.firstHeading, body.page-ProleWiki_Main_page.action-submit h1.firstHeading { display: none; }
.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;
}