MediaWiki: Common.css

From OC Systems Wiki!
Jump to: navigation, search

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: 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 */
.mw-highlight pre {
	font-size: 90%;
}

/* toc fix */

#toc {
   word-break: break-word;
}
/*

Following are attempts to add watermark to pages so we can say "Work In Progress".

At the moment, z-index: -1 means the watermark is hidden behind things like code blocks,
and the syntax highlighter makes each line a div which I don't think will work well with this.
A high z-index means the image is always upfront, but then it blocks the edit window--I had to 
undo a revision via this page's history to get back control.

.mw-content-ltr::after {
  content: "";
 background:url(https://www.google.co.in/images/srpr/logo11w.png);
  opacity: 0.2;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;   
    transform:rotate(300deg);
    -webkit-transform:rotate(300deg);
}


.mw-body-content::after {
  content: "";
 background:url(https://www.google.co.in/images/srpr/logo11w.png);
  opacity: 0.2;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;   
    transform:rotate(300deg);
    -webkit-transform:rotate(300deg);
}
*/