MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary |
||
Line 245: | Line 245: | ||
/* Infobox Styling */ |
/* Infobox Styling */ |
||
.infobox { |
|||
#infoboxtable { |
|||
border: 1px solid #a2a9b1; |
|||
max-width:350px; |
|||
border-spacing: 3px; |
|||
width:100%; |
|||
background-color: #f8f9fa; |
|||
color: black; |
|||
/* @noflip */ |
|||
margin: 0.5em 0 0.5em 1em; |
|||
padding: 0.2em; |
|||
/* @noflip */ |
|||
float: right; |
|||
/* @noflip */ |
|||
clear: right; |
|||
font-size: 88%; |
|||
line-height: 1.5em; |
|||
} |
|||
.infobox caption { |
|||
font-size: 125%; |
|||
font-weight: bold; |
|||
padding: 0.2em; |
|||
text-align: center; |
|||
} |
|||
.infobox td, |
|||
.infobox th { |
|||
vertical-align: top; |
|||
/* @noflip */ |
|||
text-align: left; |
|||
} |
|||
.infobox.bordered { |
|||
border-collapse: collapse; |
|||
} |
|||
.infobox.bordered td, |
|||
.infobox.bordered th { |
|||
border: 1px solid #a2a9b1; |
|||
} |
|||
.infobox.bordered .borderless td, |
|||
.infobox.bordered .borderless th { |
|||
border: 0; |
|||
} |
} |
||
.infobox.sisterproject { |
|||
#infoboxheader { |
|||
width: 20em; |
|||
text-align:center; |
|||
font-size: 90%; |
|||
padding-top:5px; |
|||
padding-bottom:5px; |
|||
text-shadow: 0px 1.5px 0px rgba(0,0,0,0.2); |
|||
} |
} |
||
.infobox.standard-talk { |
|||
#infoboxsection { |
|||
border: 1px solid #c0c090; |
|||
background-color:#C133BD; |
|||
background-color: #f8eaba; |
|||
vertical-align:top; |
|||
} |
|||
padding-left:15px; |
|||
.infobox.standard-talk.bordered td, |
|||
padding-right:5px; |
|||
.infobox.standard-talk.bordered th { |
|||
width:105px; |
|||
border: 1px solid #c0c090; |
|||
border-color:#650048; |
|||
box-shadow: 0px 1px rgba(0,0,0,0.3); |
|||
color: white; |
|||
text-shadow: 0px 2px #00321f; |
|||
} |
} |
||
/* styles for bordered infobox with merged rows */ |
|||
#infoboxdetail { |
|||
.infobox.bordered .mergedtoprow td, |
|||
vertical-align:top; |
|||
.infobox.bordered .mergedtoprow th { |
|||
padding-left:3px; |
|||
border: 0; |
|||
padding-right:12px; |
|||
border-top: 1px solid #a2a9b1; |
|||
/* @noflip */ |
|||
border-right: 1px solid #a2a9b1; |
|||
} |
} |
||
.infobox.bordered .mergedrow td, |
|||
#infoboxdetail p { |
|||
.infobox.bordered .mergedrow th { |
|||
margin:0px; |
|||
border: 0; |
|||
/* @noflip */ |
|||
border-right: 1px solid #a2a9b1; |
|||
} |
} |
||
/* Styles for geography infoboxes, eg countries, |
|||
#infoboxfooter { |
|||
country subdivisions, cities, etc. */ |
|||
width:100%; |
|||
.infobox.geography { |
|||
padding-top:5px; |
|||
border-collapse: collapse; |
|||
line-height: 1.2em; |
|||
font-size: 90%; |
|||
} |
|||
.infobox.geography td, |
|||
.infobox.geography th { |
|||
border-top: 1px solid #a2a9b1; |
|||
padding: 0.4em 0.6em 0.4em 0.6em; |
|||
} |
|||
.infobox.geography .mergedtoprow td, |
|||
.infobox.geography .mergedtoprow th { |
|||
border-top: 1px solid #a2a9b1; |
|||
padding: 0.4em 0.6em 0.2em 0.6em; |
|||
} |
} |
||
.infobox.geography .mergedrow td, |
|||
#infoboxdetail ul { |
|||
.infobox.geography .mergedrow th { |
|||
margin: 0em 0px 0px 0.9em; |
|||
border: 0; |
|||
padding: 0 0.6em 0.2em 0.6em; |
|||
} |
} |
||
.infobox.geography .mergedbottomrow td, |
|||
#infoboxsep { |
|||
.infobox.geography .mergedbottomrow th { |
|||
text-align:center; |
|||
border-top: 0; |
|||
background-color:#C133BD; |
|||
border-bottom: 1px solid #a2a9b1; |
|||
vertical-align:top; |
|||
padding: 0 0.6em 0.4em 0.6em; |
|||
border-color:#650048; |
|||
box-shadow: 0px 1px rgba(0,0,0,0.3); |
|||
color: white; |
|||
text-shadow: 0px 2px #00321f; |
|||
} |
} |
||
.infobox.geography .maptable td, |
|||
.pixelperfect, #pixelperfect { |
|||
.infobox.geography .maptable th { |
|||
image-rendering:-moz-crisp-edges; |
|||
border: 0; |
|||
image-rendering:-o-crisp-edges; |
|||
padding: 0; |
|||
image-rendering:-webkit-optimize-contrast; |
|||
-ms-interpolation-mode:nearest-neighbor; |
|||
image-rendering:crisp-edges; |
|||
image-rendering:pixelated; |
|||
} |
} |
||