MediaWiki:Common.css — различия между версиями
WikiSysop (обсуждение | вклад) |
WikiSysop (обсуждение | вклад) |
||
Строка 20: | Строка 20: | ||
font-size: 125%; | font-size: 125%; | ||
font-weight: bold; | font-weight: bold; | ||
− | |||
− | |||
− | |||
− | |||
} | } | ||
.infobox th { | .infobox th { | ||
+ | vertical-align: top; | ||
width: 20%; | width: 20%; | ||
} | } | ||
.infobox td { | .infobox td { | ||
width: 80%; | width: 80%; | ||
+ | vertical-align: middle; | ||
} | } | ||
/* temporarily for [[Template:Карточка]] */ | /* temporarily for [[Template:Карточка]] */ |
Версия 18:46, 18 июля 2015
/*[[Шаблон:Карточка]]*/ /*См. также: MediaWiki:Mobile.css*/ .infobox { border: 1px solid #aaa; background: #f9f9f9; margin-bottom: 0.5em; margin-left: 1em; padding: .4em; float: right; clear: right; font-size: 88%; width: 22em; vertical-align: middle; text-align: left; line-height: 1.5em; border-collapse: separate; border-spacing: 2px; } .infobox > caption { font-size: 125%; font-weight: bold; } .infobox th { vertical-align: top; width: 20%; } .infobox td { width: 80%; vertical-align: middle; } /* temporarily for [[Template:Карточка]] */ table.infobox td p { margin: 0 !important; } .infobox th { text-align:right; } /* списки в карточках */ .infobox th>ul, .infobox td>ul { list-style-type: none; list-style-image: none; margin: 0; } .infobox th>ol, .infobox td>ol { line-height: 1.1em; margin: 0 0 0 2em; } .infobox li { margin-bottom: 0; } /*[[Шаблон:Карточка]]*/ /*{Навигационная полоса}, {Hider}, ... */ div.Boxmerge, div.NavFrame { margin:0; padding:2px; border:1px solid #aaa; text-align:center; border-collapse:collapse; font-size:95%; } div.Boxmerge div.NavFrame { border-style:none; border-style:hidden; } div.NavFrame + div.NavFrame { border-top-style:none; border-top-style:hidden; } div.NavPic { background:#fff; margin:0; padding:2px; float:left; } div.NavFrame div.NavHead { height:1.6em; font-weight:bold; font-size:100%; background:#efefef; position:relative; } div.NavFrame p, div.NavFrame div.NavContent, div.NavFrame div.NavContent p { font-size: 100% } div.NavEnd { margin:0; padding:0; line-height:1px; clear:both; } a.NavToggle { float:right; top:0; right:11px; font-weight:normal; font-size:smaller; } .messagebox.standard-talk { border: 1px solid #c0c090; background: #f8eaba } .messagebox .floatleft { vertical-align: middle; clear: both; margin: 2px; padding: 0 } .messagebox .image { margin: 0; padding: 0 } /*hider*/ /* make the Cite extension list of references look smaller and highlight clicked reference in blue */ ol.references { font-size: 90%; } ol.references > li:target { background-color: #ddeeff; } sup.reference:target { background-color: #ddeeff; } #addthistoolbar { /*AddThis Toolbar Fix for Chrome*/ width: 280px; /*AddThis Toolbar Fix for Chrome*/ top: -20px !important; position: absolute !important; right: 0px !important; padding: 0px !important; margin: 0px !important; border-width: 0px !important; } /*Стилизация примечаний в начале страницы*/ .rellink { font-style: italic !important; padding-left: 1.6em !important; }