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; | |||
} | } |
Revision as of 09:32, 14 May 2012
/* CSS placed here will be applied to all skins */
/* Remove logo space */
#p-logo a, #p-logo a:hover {
display: none;
}
#column-one {
padding-top: 21px;
}
/* Custom table */
table.vwikitable {
margin: 1em 1em 1em 0;
background: #fafffa;
border: 1px #9EB19E solid;
border-collapse: collapse;
color: black;
}
.vwikitable th, .vwikitable td {
border: 1px #9EB19E solid;
padding: 0.2em;
}
.vwikitable th {
background: #ddeddd;
text-align: center;
}
.vwikitable caption {
font-weight: bold;
}
.vwikitable tr:hover {
background-color: #f6f6d1;
}
/* Custom alert table */
table.alert,
table.vwiki-alert {
margin-left:auto;
margin-right:auto;
background: #fff6f6;
border: 1px #B19E9E solid;
border-collapse: collapse;
color: black;
text-align: center;
}
.alert th, .alert td,
.vwiki-alert th, .vwiki-alert td {
border: 1px #B19E9E solid;
padding: 0.2em;
}
.alert th,
.vwiki-alert th {
background: #eddddd;
}
.alert caption,
.vwiki-alert caption {
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;
}