MediaWiki:Common.css — различия между версиями
Материал из Википедия «Русские Эмираты»
Emirates (обсуждение | вклад) |
Emirates (обсуждение | вклад) |
||
Строка 41: | Строка 41: | ||
.wp-templatelink { color:#9098A0 } /* {tl} */ | .wp-templatelink { color:#9098A0 } /* {tl} */ | ||
+ | |||
+ | /* [[Википедия:Оформление таблиц]] */ | ||
+ | table.standard, table.wide, table.prettytable | ||
+ | {border:1px solid #aaa; border-collapse: collapse} | ||
+ | table.standard th, table.wide th, table.prettytable th | ||
+ | {border:1px solid #aaa; padding-left:0.2em; padding-right:0.2em; background:#eef} | ||
+ | table.standard td, table.wide td, table.prettytable td | ||
+ | {border: 1px solid #aaa; padding-left:0.2em; padding-right:0.2em} | ||
+ | table.standard caption, table.wide caption, table.tiles caption | ||
+ | {font-weight:bold; padding-top: 0.2em; padding-bottom:0.2em} | ||
+ | table.wide {width: 100%} | ||
+ | |||
+ | table.simple {border-color:#aaa; border-collapse:collapse} | ||
+ | table.simple th, table.simple td {border-color:#aaa; padding-left:0.2em; padding-right:0.2em} | ||
+ | |||
+ | table.tiles {border-collapse:separate; border-spacing:2px} | ||
+ | table.tiles th {padding-left:0.2em; padding-right:0.2em; background:#eef} | ||
+ | table.tiles td {padding-left:0.2em; padding-right:0.2em; background:#f0f0f0} | ||
+ | |||
+ | table.graytable {background:#f0f0f0; padding:1em; width: 100%} | ||
+ | table.graytable caption {padding-top:0.5em; background:#f0f0f0; font-weight:bold} | ||
+ | table.graytable caption span.subcaption {font-size:80%; font-weight:normal} | ||
+ | table.graytable th, table.graytable td {font-size:80%} | ||
+ | |||
+ | |||
+ | tr.highlight th, table tr th.highlight {background:#eef} | ||
+ | tr.highlight td, table tr td.highlight {background:#ffe; font-weight:normal} | ||
+ | tr.bright th, table tr th.bright {background:#ccf} | ||
+ | tr.bright td, table tr td.bright {background:#fec} | ||
+ | tr.shadow th, tr.shadow td, table tr th.shadow, table tr td.shadow {background:#f0f0f0} | ||
+ | tr.dark th, tr.dark td, table tr th.dark, table tr td.dark {background:#ccc} | ||
+ | .transparent {background:transparent !important} | ||
+ | |||
+ | table.toccolours th {background:#ccf} |
Текущая версия на 23:43, 22 сентября 2011
.infobox {
border: 1px solid #aaa;
background: #f9f9f9;
margin-bottom: 0.5em;
margin-left: 1em;
padding:.4em;
float: right;
clear: right;
font-size: 90%;
width: 18em;
vertical-align: middle;
}
.infobox td, .infobox th {vertical-align:top}
table.infobox td p {margin:0} /* temporarily for [[Template:Карточка]]*/
/* {coord}s */
#coordinates {
position:absolute;
z-index:1;
right:9em;
top:3.7em;
float:right;
line-height:1.5em;
text-align:right;
font-size:85%;
white-space:nowrap;
}
#coordinates, .coordinates {
text-transform:none;
margin:0;
padding:0;
}
.geo-google, .geo-osm, .geo-yandex {
font-family:serif;
font-weight:bold;
line-height:1em;
}
.geo-geo-dec .geo-dec, .geo-geo-dms .geo-dms {display:inline}
.geo-geo-dec .geo-dms, .geo-geo-dms .geo-dec, .geo-multi-punct {display:none}
.geo-lat, .geo-lon {white-space:nowrap}
.wp-templatelink { color:#9098A0 } /* {tl} */
/* [[Википедия:Оформление таблиц]] */
table.standard, table.wide, table.prettytable
{border:1px solid #aaa; border-collapse: collapse}
table.standard th, table.wide th, table.prettytable th
{border:1px solid #aaa; padding-left:0.2em; padding-right:0.2em; background:#eef}
table.standard td, table.wide td, table.prettytable td
{border: 1px solid #aaa; padding-left:0.2em; padding-right:0.2em}
table.standard caption, table.wide caption, table.tiles caption
{font-weight:bold; padding-top: 0.2em; padding-bottom:0.2em}
table.wide {width: 100%}
table.simple {border-color:#aaa; border-collapse:collapse}
table.simple th, table.simple td {border-color:#aaa; padding-left:0.2em; padding-right:0.2em}
table.tiles {border-collapse:separate; border-spacing:2px}
table.tiles th {padding-left:0.2em; padding-right:0.2em; background:#eef}
table.tiles td {padding-left:0.2em; padding-right:0.2em; background:#f0f0f0}
table.graytable {background:#f0f0f0; padding:1em; width: 100%}
table.graytable caption {padding-top:0.5em; background:#f0f0f0; font-weight:bold}
table.graytable caption span.subcaption {font-size:80%; font-weight:normal}
table.graytable th, table.graytable td {font-size:80%}
tr.highlight th, table tr th.highlight {background:#eef}
tr.highlight td, table tr td.highlight {background:#ffe; font-weight:normal}
tr.bright th, table tr th.bright {background:#ccf}
tr.bright td, table tr td.bright {background:#fec}
tr.shadow th, tr.shadow td, table tr th.shadow, table tr td.shadow {background:#f0f0f0}
tr.dark th, tr.dark td, table tr th.dark, table tr td.dark {background:#ccc}
.transparent {background:transparent !important}
table.toccolours th {background:#ccf}