Difference between revisions of "MediaWiki:Common.css"

From CloudScale
Jump to: navigation, search
(Created page with "- CSS placed here will be applied to all skins: #p-logo a, #p-logo a:hover { display: block; height: 155px; width: 12.2em; background-repeat: no-repeat; background-position: 3…")
 
 
Line 8: Line 8:
 
text-decoration: none;
 
text-decoration: none;
 
background-size: 90%;
 
background-size: 90%;
  +
}
  +
  +
/* Wikitable (Prettytable) class for skinning normal tables */
  +
table.wikitable,
  +
table.prettytable {
  +
margin: 1em 1em 1em 0;
  +
background: #f9f9f9;
  +
border: 1px #aaaaaa solid;
  +
border-collapse: collapse;
  +
empty-cells: show;
  +
}
  +
table.wikitable th, table.wikitable td,
  +
table.prettytable th, table.prettytable td {
  +
border: 1px #aaaaaa solid;
  +
padding: 0.2em 0.4em;
  +
}
  +
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3,
  +
table.prettytable th, table.prettytable td.hl3, table.wikitable th.hl3 {
  +
background: #8da7d6;
  +
text-align: center;
  +
}
  +
table.wikitable td.hl1, table.wikitable th.hl1,
  +
table.prettytable td.hl1, table.wikitable th.hl1 {
  +
background: #c5d8fc;
  +
text-align: center;
  +
}
  +
table.wikitable td.hl2, table.wikitable th.hl2,
  +
table.prettytable td.hl2, table.wikitable th.hl2 {
  +
background: #a7c1f2;
  +
text-align: center;
  +
}
  +
table.wikitable caption,
  +
table.prettytable caption {
  +
margin-left: inherit;
  +
margin-right: inherit;
  +
font-weight: bold;
 
}
 
}

Latest revision as of 15:26, 7 February 2013

/* CSS placed here will be applied to all skins */
#p-logo a, #p-logo a:hover {
display: block;
height: 155px;
width: 12.2em;
background-repeat: no-repeat;
background-position: 35% 25% !important;
text-decoration: none;
background-size: 90%;
}

/* Wikitable (Prettytable) class for skinning normal tables */
table.wikitable,
table.prettytable {
	margin: 1em 1em 1em 0;
	background: #f9f9f9;
	border: 1px #aaaaaa solid;
	border-collapse: collapse;
	empty-cells: show;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
	border: 1px #aaaaaa solid;
	padding: 0.2em 0.4em;
}
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3,
table.prettytable th, table.prettytable td.hl3, table.wikitable th.hl3 {
	background: #8da7d6;
	text-align: center;
}
table.wikitable td.hl1, table.wikitable th.hl1,
table.prettytable td.hl1, table.wikitable th.hl1 {
	background: #c5d8fc;
	text-align: center;
}
table.wikitable td.hl2, table.wikitable th.hl2,
table.prettytable td.hl2, table.wikitable th.hl2 {
	background: #a7c1f2;
	text-align: center;
}
table.wikitable caption,
table.prettytable caption {
	margin-left: inherit;
	margin-right: inherit;
	font-weight: bold;
}