Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Added note table) |
(Updated vWiki custom table formats) |
||
Line 35: | Line 35: | ||
/* 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 */ | /* Custom note table */ | ||
table.note { | table.note, | ||
table.vwiki-note { | |||
margin: | margin-left:auto; | ||
margin-right:auto; | |||
background: #FFEDC8; | background: #FFEDC8; | ||
border: 1px #DBCCAC solid; | border: 1px #DBCCAC solid; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
color: black; | color: black; | ||
text-align: center; | |||
} | } | ||
.note th, .note td { | .note th, .note td, | ||
.vwiki-note th, .vwiki-note td { | |||
border: none; | border: none; | ||
padding: 0.2em; | padding: 0.2em; | ||
text-align: center; | text-align: center; | ||
} | } | ||
.note th { | .note th, | ||
.vwiki-note th { | |||
background: #FFEDC8; | 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; | |||
} | } |