Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
m (Added table row highlight on hover) |
(Added note table) |
||
Line 52: | Line 52: | ||
.alert caption { | .alert caption { | ||
font-weight: bold; | font-weight: bold; | ||
} | |||
/* Custom note table */ | |||
table.note { | |||
align: center; | |||
margin: 1em 1em 1em 0; | |||
background: #FFEDC8; | |||
border: 1px #DBCCAC solid; | |||
border-collapse: collapse; | |||
color: black; | |||
} | |||
.note th, .note td { | |||
border: none; | |||
padding: 0.2em; | |||
text-align: center; | |||
} | |||
.note th { | |||
background: #FFEDC8; | |||
} | } |
Revision as of 10:48, 11 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 {
margin: 1em 1em 1em 0;
background: #fff6f6;
border: 1px #B19E9E solid;
border-collapse: collapse;
color: black;
}
.alert th, .alert td {
border: 1px #B19E9E solid;
padding: 0.2em;
text-align: center;
}
.alert th {
background: #eddddd;
}
.alert caption {
font-weight: bold;
}
/* Custom note table */
table.note {
align: center;
margin: 1em 1em 1em 0;
background: #FFEDC8;
border: 1px #DBCCAC solid;
border-collapse: collapse;
color: black;
}
.note th, .note td {
border: none;
padding: 0.2em;
text-align: center;
}
.note th {
background: #FFEDC8;
}