MediaWiki:Monobook.css

From JCWiki
(Difference between revisions)
Jump to: navigation, search
 
(Adding code for sortable table extension)
Line 1: Line 1:
 
/* edit this file to customize the monobook skin for the entire site */
 
/* edit this file to customize the monobook skin for the entire site */
 +
 +
/* Tags for the Soratable Table Extension */
 +
.sort-table {
 +
  font: Icon;
 +
  border: 1px Solid ThreeDShadow;
 +
  background: Window;
 +
  color: WindowText;
 +
}
 +
 +
.sort-table thead {
 +
  background: ButtonFace;
 +
}
 +
 +
.sort-table td {
 +
  padding: 2px 5px;
 +
}
 +
 +
.sort-table thead td {
 +
  border: 1px solid;
 +
  border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
 +
  cursor: default;
 +
}
 +
 +
.sort-table thead td:active {
 +
  border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
 +
  padding: 3px 4px 1px 6px;
 +
}
 +
 +
.sort-table thead td[_sortType=None]:active {
 +
  border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
 +
  padding: 2px 5px;
 +
}
 +
 +
.sort-arrow {
 +
  width: 11px;
 +
  height: 11px;
 +
  background-position: center center;
 +
  background-repeat: no-repeat;
 +
  margin: 0 2px;
 +
}
 +
 +
.sort-arrow.descending {
 +
  background-image: url("/od/images/downsimple.png");
 +
}
 +
 +
.sort-arrow.ascending {
 +
  background-image: url("/od/images/upsimple.png");
 +
}
 +
 +
code {
 +
  font-size: 1em;
 +
}
 +
 +
/* extra rules for even and odd rows on Sortable Tables */
 +
.even {
 +
  background:#eee;
 +
}
 +
 +
.odd {
 +
  background:#ddd;
 +
}

Revision as of 10:03, 25 April 2006

/* edit this file to customize the monobook skin for the entire site */

/* Tags for the Soratable Table Extension */
.sort-table {
  font: Icon;
  border: 1px Solid ThreeDShadow;
  background: Window;
  color: WindowText;
}

.sort-table thead {
  background: ButtonFace;
}

.sort-table td {
  padding: 2px 5px;
}

.sort-table thead td {
  border: 1px solid;
  border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
  cursor: default;
}

.sort-table thead td:active {
  border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
  padding: 3px 4px 1px 6px;
}

.sort-table thead td[_sortType=None]:active {
  border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
  padding: 2px 5px;
}

.sort-arrow {
  width: 11px;
  height: 11px;
  background-position: center center;
  background-repeat: no-repeat;
  margin: 0 2px;
}

.sort-arrow.descending {
  background-image: url("/od/images/downsimple.png");
}

.sort-arrow.ascending {
  background-image: url("/od/images/upsimple.png");
}

code {
  font-size: 1em;
}

/* extra rules for even and odd rows on Sortable Tables */
.even {
  background:#eee;
}

.odd {
  background:#ddd;
}
Personal tools