Difference between revisions of "MediaWiki:Common.css"

From wiki.vg
Jump to navigation Jump to search
(Created page with "→‎CSS placed here will be applied to all skins: .box { padding-left: 6px; } .box-alert { background-color: #F0E7E7; border: 1px solid #cc3333; }")
 
m
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
 +
 +
/* Hide the main page title */
 +
body.page-Main_Page h1.firstHeading { display:none; }
 +
 +
/* Styling for the Note and Quote templates. */
 
.box {
 
.box {
 
   padding-left: 6px;
 
   padding-left: 6px;
Line 7: Line 12:
 
     background-color: #F0E7E7;
 
     background-color: #F0E7E7;
 
     border: 1px solid #cc3333;
 
     border: 1px solid #cc3333;
 +
}
 +
 +
.box-note {
 +
  background-color: #F0F0E7;
 +
  border: 1px solid #cc9933;
 +
}
 +
 +
/* Restyling the MCDevs pages to be similar to the old site. */
 +
.page-MCDevs_rules {
 +
    background-color: white;
 +
}
 +
 +
.page-MCDevs_rules #mw-navigation,
 +
.page-MCDevs_rules #mw-page-base,
 +
.page-MCDevs_rules #footer {
 +
  display: none;
 +
}
 +
 +
.page-MCDevs_rules #content {
 +
    border: none;
 +
    width: 600px;
 +
    margin-left: auto;
 +
    margin-right: auto;
 
}
 
}

Latest revision as of 18:00, 15 July 2013

/* CSS placed here will be applied to all skins */

/* Hide the main page title */
body.page-Main_Page h1.firstHeading { display:none; }

/* Styling for the Note and Quote templates. */
.box {
   padding-left: 6px;
}

.box-alert {
    background-color: #F0E7E7;
    border: 1px solid #cc3333;
}

.box-note {
   background-color: #F0F0E7;
   border: 1px solid #cc9933;
}

/* Restyling the MCDevs pages to be similar to the old site. */
.page-MCDevs_rules {
    background-color: white;
}

.page-MCDevs_rules #mw-navigation,
.page-MCDevs_rules #mw-page-base,
.page-MCDevs_rules #footer {
   display: none;
}

.page-MCDevs_rules #content {
    border: none;
    width: 600px;
    margin-left: auto;
    margin-right: auto;
}