Difference between revisions of "MediaWiki:Common.css"
From Space Engineers Wiki
m |
Cryptkeeper (talk | contribs) m (Followup: Hide redirect message on Main Page) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
− | . | + | .frontPageBoxDark { |
-webkit-border-image: none; | -webkit-border-image: none; | ||
-webkit-box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 1px 0px inset; | -webkit-box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 1px 0px inset; | ||
Line 19: | Line 19: | ||
} | } | ||
− | . | + | .frontPageBoxLight { |
-webkit-border-image: none; | -webkit-border-image: none; | ||
-webkit-box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 1px 0px inset; | -webkit-box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 1px 0px inset; | ||
Line 36: | Line 36: | ||
min-height: 20px; | min-height: 20px; | ||
padding: 9px; | 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; | ||
} | } |
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;
}