Difference between revisions of "MediaWiki:Monobook.css"

From Emersion
Jump to: navigation, search
m
(added more css classes for use globally)
Line 17: Line 17:
 
   background-color: #FEEFB3;
 
   background-color: #FEEFB3;
 
   background-image: url('/wiki/warning.png');
 
   background-image: url('/wiki/warning.png');
 +
}
 +
 +
/* Dean added a continuation of the above for all the diff notification bars so they can be used globally
 +
  Using id's isn't really a good idea when arbitrarily throwing in a custom notify, so using classes instead.
 +
*/
 +
.eme-info, .eme-success, .eme-warning, .eme-error {
 +
  border: 1px solid;
 +
  margin: 10px 0px;
 +
  padding:15px 10px 15px 50px;
 +
  background-repeat: no-repeat;
 +
  background-position: 10px center;
 +
}
 +
.eme-info {
 +
  color: #00529B;
 +
  background-color: #BDE5F8;
 +
  background-image: url('info.png');
 +
}
 +
.eme-success {
 +
  color: #4F8A10;
 +
  background-color: #DFF2BF;
 +
  background-image:url('success.png');
 +
}
 +
.eme-warning {
 +
  color: #9F6000;
 +
  background-color: #FEEFB3;
 +
  background-image: url('warning.png');
 +
}
 +
.eme-error {
 +
  color: #D8000C;
 +
  background-color: #FFBABA;
 +
  background-image: url('error.png');
 
}
 
}

Revision as of 10:05, 6 April 2011

/* CSS placed here will affect users of the Monobook skin */

#ca-talk { display:none!important; }
#ca-history { display:none!important; }
#ca-viewsource { display:none!important; }

/* Dean added these - cause he clearly can't ready normal text! */
#mw-missingsummary {
/* generic */
  border: 1px solid;
  margin: 10px 0px;
  padding:15px 10px 15px 50px;
  background-repeat: no-repeat;
  background-position: 10px center;
/* warning */
  color: #9F6000;
  background-color: #FEEFB3;
  background-image: url('/wiki/warning.png');
}

/* Dean added a continuation of the above for all the diff notification bars so they can be used globally
   Using id's isn't really a good idea when arbitrarily throwing in a custom notify, so using classes instead.
*/
.eme-info, .eme-success, .eme-warning, .eme-error {
  border: 1px solid;
  margin: 10px 0px;
  padding:15px 10px 15px 50px;
  background-repeat: no-repeat;
  background-position: 10px center;
}
.eme-info {
  color: #00529B;
  background-color: #BDE5F8;
  background-image: url('info.png');
}
.eme-success {
  color: #4F8A10;
  background-color: #DFF2BF;
  background-image:url('success.png');
}
.eme-warning {
  color: #9F6000;
  background-color: #FEEFB3;
  background-image: url('warning.png');
}
.eme-error {
  color: #D8000C;
  background-color: #FFBABA;
  background-image: url('error.png');
}