Difference between revisions of "MediaWiki:Common.css"

From S.H.O.
Jump to: navigation, search
Line 4: Line 4:
  
 
.tocnumber { display: none; }
 
.tocnumber { display: none; }
 +
 +
/* Fix sidebar */
 +
div#mw-panel { position: fixed;
 +
  overflow: auto;
 +
  top: 0px;
 +
  bottom: 0px;
 +
  height: 100%;
 +
  /* Prevent content overlay when sidewards scrolling */
 +
  background-color: #F6F6F6;
 +
  border-right: 1px solid #A7D7F9;
 +
}
 +
/* Prevent sidewards scrolling in pre elements */
 +
pre {
 +
  overflow: auto;
 +
  max-height: 25em;
 +
}

Revision as of 13:05, 23 April 2016

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

body.page-HQ.action-view h1.firstHeading, body.page-HQ.action-submit h1.firstHeading { display: none; }

.tocnumber { display: none; }

/* Fix sidebar */
div#mw-panel { position: fixed;
  overflow: auto;
  top: 0px;
  bottom: 0px;
  height: 100%;
  /* Prevent content overlay when sidewards scrolling */
  background-color: #F6F6F6;
  border-right: 1px solid #A7D7F9;
}
/* Prevent sidewards scrolling in pre elements */
pre {
  overflow: auto;
  max-height: 25em;
}