MediaWiki:Common.css: Difference between revisions
No edit summary |
(infobox css) |
||
| Line 3: | Line 3: | ||
.f{background:url(http://anotherwiki.dreamhart.org/images/0/00/Flags.png?4) no-repeat center left;padding-left:19px}.AR{background-position:0 4px}.AU{background-position:0 -36px}.AT{background-position:0 -76px}.BE{background-position:0 -116px}.BR{background-position:0 -156px}.CA{background-position:0 -196px}.CZ{background-position:0 -236px}.DK{background-position:0 -276px}.eng{background-position:0 -316px}.ES{background-position:0 -356px}.EE{background-position:0 -396px}.FI{background-position:0 -436px}.FR{background-position:0 -476px}.DE{background-position:0 -516px}.HR{background-position:0 -556px}.HU{background-position:0 -596px}.IE{background-position:0 -636px}.IL{background-position:0 -676px}.IT{background-position:0 -716px}.JP{background-position:0 -756px}.LT{background-position:0 -796px}.MX{background-position:0 -836px}.NL{background-position:0 -876px}.NO{background-position:0 -916px}.NZ{background-position:0 -956px}.PL{background-position:0 -996px}.PT{background-position:0 -1036px}.ZA{background-position:0 -1076px}.RU{background-position:0 -1116px}.SCO{background-position:0 -1156px}.CH{background-position:3px -1196px}.SE{background-position:0 -1236px}.TR{background-position:0 -1276px}.UA{background-position:0 -1316px}.USA{background-position:0 -1356px}.UK{background-position:0 -316px} |
.f{background:url(http://anotherwiki.dreamhart.org/images/0/00/Flags.png?4) no-repeat center left;padding-left:19px}.AR{background-position:0 4px}.AU{background-position:0 -36px}.AT{background-position:0 -76px}.BE{background-position:0 -116px}.BR{background-position:0 -156px}.CA{background-position:0 -196px}.CZ{background-position:0 -236px}.DK{background-position:0 -276px}.eng{background-position:0 -316px}.ES{background-position:0 -356px}.EE{background-position:0 -396px}.FI{background-position:0 -436px}.FR{background-position:0 -476px}.DE{background-position:0 -516px}.HR{background-position:0 -556px}.HU{background-position:0 -596px}.IE{background-position:0 -636px}.IL{background-position:0 -676px}.IT{background-position:0 -716px}.JP{background-position:0 -756px}.LT{background-position:0 -796px}.MX{background-position:0 -836px}.NL{background-position:0 -876px}.NO{background-position:0 -916px}.NZ{background-position:0 -956px}.PL{background-position:0 -996px}.PT{background-position:0 -1036px}.ZA{background-position:0 -1076px}.RU{background-position:0 -1116px}.SCO{background-position:0 -1156px}.CH{background-position:3px -1196px}.SE{background-position:0 -1236px}.TR{background-position:0 -1276px}.UA{background-position:0 -1316px}.USA{background-position:0 -1356px}.UK{background-position:0 -316px} |
||
/* Infobox template style */ |
|||
.infobox { |
|||
border: 1px solid #aaa; |
|||
background-color: #f9f9f9; |
|||
color: black; |
|||
margin: 0.5em 0 0.5em 1em; |
|||
padding: 0.2em; |
|||
float: right; |
|||
clear: right; |
|||
} |
|||
.infobox td, |
|||
.infobox th { |
|||
vertical-align: top; |
|||
} |
|||
.infobox caption { |
|||
font-size: larger; |
|||
} |
|||
.infobox.bordered { |
|||
border-collapse: collapse; |
|||
} |
|||
.infobox.bordered td, |
|||
.infobox.bordered th { |
|||
border: 1px solid #aaa; |
|||
} |
|||
.infobox.bordered .borderless td, |
|||
.infobox.bordered .borderless th { |
|||
border: 0; |
|||
} |
|||
.infobox.sisterproject { |
|||
width: 20em; |
|||
font-size: 90%; |
|||
} |
|||
.infobox.standard-talk { |
|||
border: 1px solid #c0c090; |
|||
background-color: #f8eaba; |
|||
} |
|||
.infobox.standard-talk.bordered td, |
|||
.infobox.standard-talk.bordered th { |
|||
border: 1px solid #c0c090; |
|||
} |
|||
/* styles for bordered infobox with merged rows */ |
|||
.infobox.bordered .mergedtoprow td, |
|||
.infobox.bordered .mergedtoprow th { |
|||
border: 0; |
|||
border-top: 1px solid #aaa; |
|||
border-right: 1px solid #aaa; |
|||
} |
|||
.infobox.bordered .mergedrow td, |
|||
.infobox.bordered .mergedrow th { |
|||
border: 0; |
|||
border-right: 1px solid #aaa; |
|||
} |
|||
/* Styles for geography infoboxes, eg countries, |
|||
country subdivisions, cities, etc. */ |
|||
.infobox.geography { |
|||
text-align: left; |
|||
border-collapse: collapse; |
|||
line-height: 1.2em; |
|||
font-size: 90%; |
|||
} |
|||
.infobox.geography td, |
|||
.infobox.geography th { |
|||
border-top: solid 1px #aaa; |
|||
padding: 0.4em 0.6em 0.4em 0.6em; |
|||
} |
|||
.infobox.geography .mergedtoprow td, |
|||
.infobox.geography .mergedtoprow th { |
|||
border-top: solid 1px #aaa; |
|||
padding: 0.4em 0.6em 0.2em 0.6em; |
|||
} |
|||
.infobox.geography .mergedrow td, |
|||
.infobox.geography .mergedrow th { |
|||
border: 0; |
|||
padding: 0 0.6em 0.2em 0.6em; |
|||
} |
|||
.infobox.geography .mergedbottomrow td, |
|||
.infobox.geography .mergedbottomrow th { |
|||
border-top: 0; |
|||
border-bottom: solid 1px #aaa; |
|||
padding: 0 0.6em 0.4em 0.6em; |
|||
} |
|||
.infobox.geography .maptable td, |
|||
.infobox.geography .maptable th { |
|||
border: 0; |
|||
padding: 0; |
|||
} |
|||
Revision as of 17:08, 23 January 2013
/* CSS placed here will be applied to all skins */
.f{background:url(http://anotherwiki.dreamhart.org/images/0/00/Flags.png?4) no-repeat center left;padding-left:19px}.AR{background-position:0 4px}.AU{background-position:0 -36px}.AT{background-position:0 -76px}.BE{background-position:0 -116px}.BR{background-position:0 -156px}.CA{background-position:0 -196px}.CZ{background-position:0 -236px}.DK{background-position:0 -276px}.eng{background-position:0 -316px}.ES{background-position:0 -356px}.EE{background-position:0 -396px}.FI{background-position:0 -436px}.FR{background-position:0 -476px}.DE{background-position:0 -516px}.HR{background-position:0 -556px}.HU{background-position:0 -596px}.IE{background-position:0 -636px}.IL{background-position:0 -676px}.IT{background-position:0 -716px}.JP{background-position:0 -756px}.LT{background-position:0 -796px}.MX{background-position:0 -836px}.NL{background-position:0 -876px}.NO{background-position:0 -916px}.NZ{background-position:0 -956px}.PL{background-position:0 -996px}.PT{background-position:0 -1036px}.ZA{background-position:0 -1076px}.RU{background-position:0 -1116px}.SCO{background-position:0 -1156px}.CH{background-position:3px -1196px}.SE{background-position:0 -1236px}.TR{background-position:0 -1276px}.UA{background-position:0 -1316px}.USA{background-position:0 -1356px}.UK{background-position:0 -316px}
/* Infobox template style */
.infobox {
border: 1px solid #aaa;
background-color: #f9f9f9;
color: black;
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
float: right;
clear: right;
}
.infobox td,
.infobox th {
vertical-align: top;
}
.infobox caption {
font-size: larger;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
.infobox.sisterproject {
width: 20em;
font-size: 90%;
}
.infobox.standard-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
border: 1px solid #c0c090;
}
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
border: 0;
border-top: 1px solid #aaa;
border-right: 1px solid #aaa;
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
border: 0;
border-right: 1px solid #aaa;
}
/* Styles for geography infoboxes, eg countries,
country subdivisions, cities, etc. */
.infobox.geography {
text-align: left;
border-collapse: collapse;
line-height: 1.2em;
font-size: 90%;
}
.infobox.geography td,
.infobox.geography th {
border-top: solid 1px #aaa;
padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
border-top: solid 1px #aaa;
padding: 0.4em 0.6em 0.2em 0.6em;
}
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
border: 0;
padding: 0 0.6em 0.2em 0.6em;
}
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
border-top: 0;
border-bottom: solid 1px #aaa;
padding: 0 0.6em 0.4em 0.6em;
}
.infobox.geography .maptable td,
.infobox.geography .maptable th {
border: 0;
padding: 0;
}