Difference between revisions of "MediaWiki:Common.css"
From Space Engineers Wiki
(added front page responsiveness) |
Cryptkeeper (talk | contribs) m (Followup: Hide redirect message on Main Page) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 56: | Line 56: | ||
min-height: 20px; | min-height: 20px; | ||
padding: 9px; | padding: 9px; | ||
+ | } | ||
+ | |||
+ | /* Hide Main Page Title */ | ||
+ | body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } | ||
+ | /* ... and same for Main Page/editcopy */ | ||
+ | body.page-Main_Page_editcopy.action-view h1.firstHeading, body.page-Main_Page_editcopy.action-submit h1.firstHeading { display: none; } | ||
+ | /* ... and hide redirect message on Main PAge*/ | ||
+ | .page-Main_Page #contentSub { | ||
+ | display: none; | ||
} | } |
Latest revision as of 07:09, 26 August 2017
/* CSS placed here will be applied to all skins */
.frontPageBoxDark {
-webkit-border-image: none;
-webkit-box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 1px 0px inset;
box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 1px 0px inset;
background-color: #eeeeee;
border-radius: 3px;
border-style: solid;
border-width: 1px;
border-color: #AFAFAF;
color: #333;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 14px;
height: auto;
line-height: 20px;
margin: 3px 5px 3px 5px;
min-height: 20px;
padding: 9px;
}
.frontPageBoxLight {
-webkit-border-image: none;
-webkit-box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 1px 0px inset;
box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 1px 0px inset;
background-color: whiteSmoke;
border-radius: 3px;
border-style: solid;
border-width: 1px;
border-color: #E3E3E3;
color: #333;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 14px;
height: auto;
line-height: 20px;
margin: 3px 5px 3px 5px;
min-height: 20px;
padding: 9px;
}
.frontPageResponsive {
-webkit-border-image: none;
-webkit-box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 1px 0px inset;
box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 1px 0px inset;
background-color: whiteSmoke;
border-radius: 3px;
border-style: solid;
border-width: 1px;
border-color: #E3E3E3;
color: #333;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 14px;
height: auto;
line-height: 20px;
margin: auto;
float: left;
min-height: 20px;
padding: 9px;
}
/* Hide Main Page Title */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
/* ... and same for Main Page/editcopy */
body.page-Main_Page_editcopy.action-view h1.firstHeading, body.page-Main_Page_editcopy.action-submit h1.firstHeading { display: none; }
/* ... and hide redirect message on Main PAge*/
.page-Main_Page #contentSub {
display: none;
}