User:Internoob/colour.css

From Wiktionary, the free dictionary
Jump to navigation Jump to search

Note: You may have to bypass your browser’s cache to see the changes. In addition, after saving a sitewide CSS file such as MediaWiki:Common.css, it will take 5-10 minutes before the changes take effect, even if you clear your cache.

  • Mozilla / Firefox / Safari: hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Command-R on a Macintosh);
  • Konqueror and Chrome: click Reload or press F5;
  • Opera: clear the cache in Tools → Preferences;
  • Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5.

/* To be used by importing User:Internoob/colour.js */
h2 .mw-headline:before {
 content: url('http://upload.wikimedia.org/wikipedia/commons/thumb/9/96/Books-aj.svg_aj_ashton_01g.svg/22px-Books-aj.svg_aj_ashton_01g.svg.png');
 }
h2 #Translingual:before {
 content: url('http://upload.wikimedia.org/wikipedia/commons/thumb/8/87/Ambox_globe.svg/16px-Ambox_globe.svg.png') " "; /*a space*/
 }
h2 {
 background: #ffffee;
 border-bottom: 1px solid #dfdf00;
 margin-top: 10px;
 }
#toctitle h2 { /*don't do the above for table of contents*/
 background: inherit;
 border: 0px;
 } 
hr {
 display: none;
 }
ol {
 padding-left: 2em;
 margin-left: 1.2em; /*Vector skin gives 3.2em, minus the padding*/
 border: 2px solid #dfdf00; 
 -moz-border-radius: 5px;
 -webkit-border-radius: 5px;
 border-radius: 5px;
 }
ol.references, ol ol {
 border: 0px;
}