Difference between revisions of "MediaWiki: Common.css"

From OC Systems Wiki!
Jump to: navigation, search
(Created page with "CSS placed here will be applied to all skins: .mw-highlight pre { font-size: 90%; }")
 
Line 2: Line 2:
 
.mw-highlight pre {
 
.mw-highlight pre {
 
font-size: 90%;
 
font-size: 90%;
 +
}
 +
 +
 +
.watermark {
 +
  width: 300px;
 +
  height: 100px;
 +
  display: block;
 +
  position: relative;
 +
}
 +
 +
.watermark::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; 
 
}
 
}

Revision as of 15:57, 13 March 2017

/* CSS placed here will be applied to all skins */
.mw-highlight pre {
	font-size: 90%;
}


.watermark {
  width: 300px;
  height: 100px;
  display: block;
  position: relative;
}

.watermark::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;   
}