MediaWiki:Monobook.css: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(modified monobook to display featured article stars)
(added wikitable class)
Line 1: Line 1:
/* CSS placed here will affect users of the Monobook skin */
/* CSS placed here will affect users of the Monobook skin */


/* Forum formatting -Algorithm & -Splaka */
<nowiki>/*
.forumheader { border: 1px solid #aaa; background-color: #f9f9f9; margin-top: 1em; padding: 12px; }
.forumlist td.forum_edited a { color: black; text-decoration: none }
.forumlist td.forum_title a { padding-left: 20px; }
.forumlist td.forum_title a.forum_new { font-weight: bold; background: url(/images/4/4e/Forum_new.gif)
center left no-repeat; padding-left: 20px; }
.forumlist td.forum_title a.forum_new:visited { font-weight: normal; background: none; padding-left: 20px; }
.forumlist th.forum_title { padding-left: 20px; }
 
/* Featured star displayer */
/* Featured star displayer */
div.topicon {
div.topicon {
Line 17: Line 9:
   display: block !important;
   display: block !important;
}
}
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
  background: #f9f9f9;
  border: 1px #aaa solid;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaa solid;
  padding: 0.2em;
}
table.wikitable th,
table.prettytable th {
  background: #f2f2f2;
}
/* Infobox template style */
.infobox {
  border: 1px solid #aaa;
  background-color: #f9f9f9;
  color: black;
}
.infobox.bordered td,
.infobox.bordered th {
  border: 1px solid #aaa;
}
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
  border-top: 1px solid #aaa;
  border-right: 1px solid #aaa;
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
  border-right: 1px solid #aaa;
}
/*</nowiki>

Revision as of 13:43, January 18, 2007

/* CSS placed here will affect users of the Monobook skin */

<nowiki>/*
/* Featured star displayer */
div.topicon {
  position:absolute; 
  z-index:100; 
  top:10px;
  display: block !important;
}
/* wikitable/prettytable class for skinning normal tables */

table.wikitable,
table.prettytable {
  background: #f9f9f9;
  border: 1px #aaa solid;
}

table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaa solid;
  padding: 0.2em;
}

table.wikitable th,
table.prettytable th {
  background: #f2f2f2;
}

/* Infobox template style */

.infobox {
   border: 1px solid #aaa;
   background-color: #f9f9f9;
   color: black;
}

.infobox.bordered td,
.infobox.bordered th {
   border: 1px solid #aaa;
}

/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
   border-top: 1px solid #aaa;
   border-right: 1px solid #aaa;
}

.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
   border-right: 1px solid #aaa;
}
/*</nowiki>