MediaWiki:Common.css

From Thevviki
Jump to navigationJump to 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 / Edge: 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 */
 
/* Reference shrink and highlight */
ol.references { font-size: 0.9em; }
 
.references-small { font-size: 0.9em;}
 
ol.references > li:target {
 background-color: #DEF;
}
 
sup.reference:target { 
  background-color: #DEF;
}
 
/* Redirect highlight on Special:Allpages */
.allpagesredirect a { border-bottom: 2px dotted #00bbff; }
.allpagesredirect { font-style: italic; }
*/
 
/* How to get links underlined */
/* This is how: <nowiki><span class="underlinelink">[[link]]</span> <!-- don't use nowiki-tags --> */
.underlinelink a{ text-decoration: underline ! important; }
 
/* How to keep links no-underlined even when hovering cursor over them */
/* This is how: <nowiki><span class="nounderlinelink">[[link]]</span> <!-- don't use nowiki-tags --> */
.nounderlinelink a{ text-decoration: none ! important; }
 
/* Table and infobox styles */
/* table */
 
table {
 background-color:transparent;
}
 
/* othertable */
table.othertable {
 margin: 1em 1em 1em 0;
 background: #f2f8ff;
 border: 1px #a3b0bf solid;
 border-collapse: collapse;
}
 
table.othertable th, table.othertable td  {
 border: 1px #a3b0bf solid;
 padding: 0.2em;
}
 
table.othertable th {
 background: #cedff2;
 text-align: center;
}
 
table.othertable caption {
 margin-left: inherit;
 margin-right: inherit;
}
 
/* wikitable and prettytable */
table.wikitable, table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
  vertical-align: top;
}
 
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaaaaa solid;
  padding: 0.2em;
}
 
table.wikitable th,
table.prettytable th {
  background: #f2f2f2;
  text-align: center;
}
 
table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
}
 
/* infobox */
table.infobox {
 margin: 1em auto;
 clear: both;
}
 
/* prettybox */
table.prettybox {
 margin: 1em auto;
 clear: both;
 background:#f2f8ff;
 border:1px solid #a3b0bf;
 border-spacing:0;
}
 
table.prettybox th {
 background:#cedff2;
}
 
/* Button links */
span.buttonlink { border-style: outset; }
span.buttonlink:active { border-style: inset; }
 
/* Hide and seek function */
.hide { display: none }
.seek:hover .hide { display: inline !important }
 
/* Hiding the signature button from anywhere else except talk pages */
body.ns-0 img[title="Your signature with timestamp"] { display: none; }
body.ns-0 img#mw-editbutton-sig { display: none; }
 
/* False links */
/* falseblue */
 
.falseblue { cursor:pointer; color:#002bb8; }
.falseblue:hover { text-decoration:underline; cursor:pointer; color:#002bb8; }
.falseblue:active { cursor:pointer; color:#faa700; border-style:dotted; border-color:#faa700; border-width:1px; margin:0px; padding:0px; }
 
/* falsered */
.falsered {color: #cc0000;}
.falsered:hover { text-decoration:underline; cursor:pointer; color: #cc0000; }
.falsered:active { cursor:pointer; color:#cc0000; border-style:dotted; border-color:#cc0000; border-width:1px; margin:0px; padding:0px; }
 
 /* extfalse */
.extfalse { cursor:pointer; color:#4070c5; }
.extfalse:hover { text-decoration:underline; cursor:pointer; color:#4070c5; }
.extfalse:active { cursor:pointer; color:#4070c5; border-style:dotted; border-color:#4070c5; border-width:1px; margin:0px; padding:0px; }
 
#p-cactions { left: 11.5em !important; }
 
/* Colors for RC-list */
.newpage {color:green; font-weight:bold;}
.minoredit {color:gray;}
.minor {color:gray;}
.mw-plusminus-pos {color:#006400;}
.mw-plusminus-neg {color:#8B0000;}
 
/* Background canvas for system messages */
.ns-8 * #content, 
.ns-8 * #p-cactions li, 
.ns-8 * #p-cactions li a {background: #FFFFBB;}