Difference between revisions of "MediaWiki:Common.css"

From WikiCorporates
Jump to navigation Jump to search
Line 2: Line 2:
 
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
 
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
  
 +
 +
/* Sidebar: get rid of the div's top border image */
 +
div#mw-panel div.portal {
 +
  background-image: none;
 +
}
  
 
/* Sidebar:
 
/* Sidebar:
 
  * let's have a decent top space between groups
 
  * let's have a decent top space between groups
−
  * pad the h3 a bit more so is in line
+
  * pad the h3 a bit more so is in line w/all text
 
  * we don't want any borders */
 
  * we don't want any borders */
 
div#mw-panel div.portal h3 {
 
div#mw-panel div.portal h3 {
Line 11: Line 16:
 
   padding: 0.25em 0 0.25em 0.7em;
 
   padding: 0.25em 0 0.25em 0.7em;
 
   border: 0;
 
   border: 0;
 +
}
 +
 +
/* Sidebar: give the div for the text links a top border image */
 +
div#mw-panel div.portal div.body {
 +
  margin-left: 0.6em;
 +
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAAABCAAAAAAphRnkAAAAJ0lEQVQIW7XFsQEAIAyAMPD/b7uLWz8wS5youFW1UREfiIpH1Q2VBz7fGPS1dOGeAAAAAElFTkSuQmCC);
 +
  background-repeat: no-repeat;
 
}
 
}

Revision as of 17:53, 19 June 2017

/* CSS placed here will be applied to all skins */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }


/* Sidebar: get rid of the div's top border image */
div#mw-panel div.portal {
  background-image: none;
}

/* Sidebar:
 * let's have a decent top space between groups
 * pad the h3 a bit more so is in line w/all text
 * we don't want any borders */
div#mw-panel div.portal h3 {
  margin: 0.5em 0 0 0;
  padding: 0.25em 0 0.25em 0.7em;
  border: 0;
}

/* Sidebar: give the div for the text links a top border image */
div#mw-panel div.portal div.body {
  margin-left: 0.6em;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAAABCAAAAAAphRnkAAAAJ0lEQVQIW7XFsQEAIAyAMPD/b7uLWz8wS5youFW1UREfiIpH1Q2VBz7fGPS1dOGeAAAAAElFTkSuQmCC);
  background-repeat: no-repeat;
}