2,187
edits
(Added alert table) |
(Updates for MediaWiki v1.21) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
} | } | ||
/* Force content surround to be green */ | |||
div#content { | |||
border-color: #9EB19E; | |||
} | |||
/* Fix Geshi Syntax Highlighter size */ | |||
div.mw-geshi { | |||
font-size: 1em; | |||
} | |||
/* Custom table */ | /* Custom table */ | ||
Line 29: | Line 38: | ||
.vwikitable caption { | .vwikitable caption { | ||
font-weight: bold; | font-weight: bold; | ||
} | |||
.vwikitable tr:hover { | |||
background-color: #f6f6d1; | |||
} | |||
.even { | |||
background-color: #fffff0; | |||
} | |||
.even tr:hover { | |||
background-color: #ffffd1; | |||
} | |||
.num { | |||
text-align: right; | |||
} | |||
/* Custom equal-width table */ | |||
table.vwikitable-equal { | |||
margin: 1em 1em 1em 0; | |||
background: #fafffa; | |||
border: 1px #9EB19E solid; | |||
border-collapse: collapse; | |||
color: black; | |||
} | |||
.vwikitable-equal tr, .vwikitable-equal td { | |||
border: 1px #9EB19E solid; | |||
padding: 0.2em; | |||
} | |||
.vwikitable-equal th, .vwikitable-equal td { | |||
width:5%; | |||
} | |||
.vwikitable-equal th { | |||
background: #ddeddd; | |||
text-align: center; | |||
} | |||
.vwikitable-equal caption { | |||
font-weight: bold; | |||
} | |||
.vwikitable-equal tr:hover { | |||
background-color: #f6f6d1; | |||
} | } | ||
/* Custom alert table */ | /* Custom alert table */ | ||
table.alert { | table.alert, | ||
margin: | table.vwiki-alert { | ||
margin-left:auto; | |||
margin-right:auto; | |||
background: #fff6f6; | background: #fff6f6; | ||
border: 1px #B19E9E solid; | border: 1px #B19E9E solid; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
color: black; | color: black; | ||
text-align: center; | |||
} | } | ||
.alert th, .alert td { | .alert th, .alert td, | ||
.vwiki-alert th, .vwiki-alert td { | |||
border: 1px #B19E9E solid; | border: 1px #B19E9E solid; | ||
padding: 0.2em; | padding: 0.2em; | ||
} | } | ||
.alert th { | .alert th, | ||
.vwiki-alert th { | |||
background: #eddddd; | background: #eddddd; | ||
} | } | ||
.alert caption { | .alert caption, | ||
.vwiki-alert caption { | |||
font-weight: bold; | font-weight: bold; | ||
} | |||
/* Custom note table */ | |||
table.note, | |||
table.vwiki-note { | |||
margin-left:auto; | |||
margin-right:auto; | |||
background: #FFEDC8; | |||
border: 1px #DBCCAC solid; | |||
border-collapse: collapse; | |||
color: black; | |||
text-align: center; | |||
} | |||
.note th, .note td, | |||
.vwiki-note th, .vwiki-note td { | |||
border: none; | |||
padding: 0.2em; | |||
text-align: center; | |||
} | |||
.note th, | |||
.vwiki-note th { | |||
background: #FFEDC8; | |||
} | |||
/* Custom box-out table */ | |||
table.boxout, | |||
table.vwiki-boxout { | |||
margin-left:auto; | |||
margin-right:auto; | |||
background: #eef4ee; | |||
border: 1px #fafffa solid; | |||
border-collapse: collapse; | |||
border-style: solid none solid none; | |||
color: black; | |||
text-align: center; | |||
} | |||
.boxout th, .boxout td, | |||
.vwiki-boxout th, .vwiki-boxout td { | |||
border: none; | |||
padding: 0.2em; | |||
text-align: center; | |||
} | |||
.note th, | |||
.vwiki-boxout th { | |||
background: #eef4ee; | |||
} | } |