Common.css

Revision as of 11:06, 5 November 2019 by Registered User

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */

/* Hide author's name on the top right of the page */
.page-tool-text :last-child {
    display:none;
}

/* Hide discussions on all pages */
.bs-data-after-content-socialtopics, .bs-icon-talk {
    display:none;
}

/*To hide section attachements in all wiki pages*/
/* Hide stash on all pages */
.bs-data-after-content-socialwikipagestash {
	display:none;
}

/*This part is to reenable the attachment section on the page "Pagename", this must be changed to the title of the page you want the attachments to reappear. But be aware that this will break when the page is moved. The CSS must be adjusted when renaming pages that are styled this wa*/
/* Show stash on specific pages */
.page-Pagename .bs-data-after-content-socialwikipagestash {
	display:inherit;
}

/*** added by NSA for portal pages***/

.portalbox {
  float: left; 
  width: 220px;
  height: 300px; 
  padding: 5px; 
  margin: 2px; 
  background-color: #ffffff ; 
  text-align: center;
}
.portalbox a {
  color: #39a9dc!important;
}

/*** around 4 items per line ***/
.boxwrapper {
  width: 100%;
  margin: 0 auto; 
  float: none;
}

/*** around 3 items per line ***/
.boxwrapper3items {
  width: 75%; 
  margin: 0 auto; 
  float: none;
}

/*** around 2 items per line ***/
.boxwrapper2items {
  width: 75%; 
  margin: 0 auto; 
  float: none;
}
/*** around 1 item per line ***/
.boxwrapper1item {
  width: 50%; 
  margin: 0 auto; 
  float: none;
}

/***Added by Christophe Rehm for removing Export menu temporarily (until ST template has been setup) ***/
#bs-ta-uemodulepdf, #pdf-subpages { 
	display: none; 
}

/*** Added by Jean-Christophe Trotin to make images responsive ***/
.res-img img {
	max-width:100%;
	height:auto;
}

/*** Added by Jean-Christophe Trotin to freeze the first row and the
first column of tables ***/
table.freezable tbody {
  display:block;
  overflow:auto;
  height:100%;
  width:inherit;
}

table.freezable th {
	position: -webkit-sticky; /* for Safari */
	position: sticky;
	top: 0;
	background: white;
}

table.freezable th:first-child {
	left: 0;
	z-index: 1;
}

table.freezable td:first-child {
	position: -webkit-sticky; /* for Safari */
	position: sticky;
	left: 0;
	background: white;
}

/*** Added by Jean-Christophe Trotin to disable the vertical scrolling in
"syntax-highlighted" blocks ***/
.mw-highlight.noscroll > pre {
	overflow-y: visible;
	max-height: none !important;
}