MediaWiki:Common.css

From Funtoo
Revision as of 04:20, 21 December 2012 by Daniel Robbins (Talk | contribs)

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: Clear the cache in Tools → Preferences
/* CSS placed here will be applied to all skins */
 
/* Note boxes from dokuwiki's note plugin */
.fancynote, .fancyimportant, .fancywarning, .fancytip {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
  margin-left: auto;
  margin-right: auto;
  width: 85% !important;
  min-height: 40px;
  clear: both;
  text-align: justify;
  vertical-align: left;
  border-collapse: collapse;
  padding: 15px 20px 15px 80px;
  background-position: 20px 50%;
  background-repeat: no-repeat;
  -moz-border-radius: 15px;
  -khtml-border-radius: 15px;
  border-radius: 15px;
  line-height: 1.2em;
}
 
.fancynote {
  border: 1px solid #99D;
  background-color: #eef;
  background-image: url(/images/3rdparty/note.png);
}
 
.fancyimportant {
  border: 1px solid #ffd300;
  background-color: #ffc;
  background-image: url(/images/3rdparty/important.png);
}
 
.fancywarning {
  border: 1px solid #d99;
  background-color: #fdd;
  background-image: url(/images/3rdparty/warning.png);
}
 
.fancytip {
  border: 1px solid #9d9;
  background-color: #dfd;
  background-image: url(/images/3rdparty/tip.png);
}