MediaWiki:Common.css

From Issuepedia
Jump to navigation Jump 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 */


/* hierarchical (outline-style) numbering */

ol {
  counter-reset: listNum;
  list-style-type: none;
}

ol > li:before {
  counter-increment: listNum;
  content: counters(listNum, ".") ".";
}

/* for Dark Arts Portal - brighter link colors */

.dark A:link  {
    color: #00ddff;
}
.dark A:hover {
    color: #ffff00;
}
.dark A:visited {
    color: #ffdd00;
}
.dark A:active {
    color: #ff0000;
}
.dark {
    background: #000000;
    color: #ffffff;
}

/* for highlighting different speakers in a discussion log (IRC, IM, etc.) */

.spkr-1 {
   background: #ccccff;
}
.spkr-2 {
   background: #bbdddd;
}
.spkr-3 {
   background: #ccffcc;
}

/*--------------------------------------------------|
| dTree 2.05 | www.destroydrop.com/javascript/tree/ |
|---------------------------------------------------|
| Copyright (c) 2002-2003 Geir Landr                |
|--------------------------------------------------*/
 
.dtree {
        font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
        font-size: 11px;
        color: #666;
/*        white-space: nowrap; */
        white-space: normal;
}
.dtree img {
        border: 0px;
        vertical-align: middle;
}
.dtree a {
        color: #333;
        text-decoration: none;
}
.dtree a.node, .dtree a.nodeSel {
        /* white-space: nowrap; */
        white-space: normal;
        padding: 1px 2px 1px 2px;
}
.dtree a.node:hover, .dtree a.nodeSel:hover {
        color: #333;
        text-decoration: underline;
}
.dtree a.nodeSel {
        background-color: #c0d2ec;
}
.dtree .clip {
        /* overflow: hidden; */
        overflow: auto;
        padding-bottom: 1px;
}

/* nice formatting for tables */
table.listing {
	border: 1px solid black;
	background: radial-gradient(yellow, green);
	box-shadow: 5px 5px 3px 1px #999;
}
table.listing tr th {
	background: #aaf;
}
table.listing tr td {
	background: white;
}
table.listing tr.odd td {
	background: #eef;
}
table.listing tr.even td {
	background: #fff;
}
table.listing tr.void td {
	color: #888;
	text-decoration:line-through;
}