Difference between revisions of "MediaWiki:Common.css"

From Space Engineers Wiki
Jump to: navigation, search
(added frontpageboxbox)
m (Followup: Hide redirect message on Main Page)
 
(2 intermediate revisions by 2 users not shown)
Line 58: Line 58:
 
}
 
}
  
.frontPageBoxBox {
+
/* Hide Main Page Title */
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
+
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
    font-size: 14px;
+
/* ... and same for Main Page/editcopy */
    height: auto;
+
body.page-Main_Page_editcopy.action-view h1.firstHeading, body.page-Main_Page_editcopy.action-submit h1.firstHeading { display: none; }
    line-height: 20px;
+
/* ... and hide redirect message on Main PAge*/
    margin: 3px 5px 3px 5px;
+
.page-Main_Page #contentSub {
    min-height: 20px;
+
  display: none;
    padding: 9px;
 
 
}
 
}

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;
}