MediaWiki:Common.css — различия между версиями
WikiSysop (обсуждение | вклад) |
WikiSysop (обсуждение | вклад) |
||
(не показаны 34 промежуточные версии этого же участника) | |||
Строка 1: | Строка 1: | ||
− | /* | + | /*[[Шаблон:Карточка]]*/ |
+ | /*См. также: MediaWiki:Mobile.css*/ | ||
.infobox { | .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 img { | ||
+ | width: 100%; | ||
+ | height: auto; | ||
+ | } | ||
+ | |||
+ | /* списки в карточках */ | ||
+ | .infobox th > ul, | ||
+ | .infobox td > ul { | ||
+ | list-style-type: none; | ||
+ | list-style-image: none; | ||
+ | list-style: none; | ||
+ | margin: 0; | ||
+ | } | ||
+ | |||
+ | .infobox th > ol, | ||
+ | .infobox td > ol { | ||
+ | line-height: 1.1em; | ||
+ | margin: 0 0 0 2em; | ||
+ | } | ||
+ | |||
+ | .infobox li { | ||
+ | margin-bottom: 0; | ||
+ | } | ||
+ | |||
+ | /*[[Шаблон:Карточка]]*/ | ||
/*{Навигационная полоса}, {Hider}, ... */ | /*{Навигационная полоса}, {Hider}, ... */ | ||
div.Boxmerge, | div.Boxmerge, | ||
div.NavFrame { | div.NavFrame { | ||
− | + | margin: 0; | |
− | + | padding: 2px; | |
− | + | border: 1px solid #aaa; | |
− | + | text-align: center; | |
− | + | border-collapse: collapse; | |
− | + | font-size: 95%; | |
} | } | ||
+ | |||
div.Boxmerge div.NavFrame { | div.Boxmerge div.NavFrame { | ||
− | + | border-style: none; | |
− | + | border-style: hidden; | |
} | } | ||
+ | |||
div.NavFrame + div.NavFrame { | div.NavFrame + div.NavFrame { | ||
− | + | border-top-style: none; | |
− | + | border-top-style: hidden; | |
} | } | ||
+ | |||
div.NavPic { | div.NavPic { | ||
− | + | background: #fff; | |
− | + | margin: 0; | |
− | + | padding: 2px; | |
− | + | float: left; | |
} | } | ||
+ | |||
div.NavFrame div.NavHead { | div.NavFrame div.NavHead { | ||
− | + | height: 1.6em; | |
− | + | font-weight: bold; | |
− | + | font-size: 100%; | |
− | + | background: #efefef; | |
− | + | position: relative; | |
} | } | ||
+ | |||
div.NavFrame p, | div.NavFrame p, | ||
div.NavFrame div.NavContent, | div.NavFrame div.NavContent, | ||
div.NavFrame div.NavContent p { | div.NavFrame div.NavContent p { | ||
− | + | font-size: 100% | |
} | } | ||
+ | |||
div.NavEnd { | div.NavEnd { | ||
− | + | margin: 0; | |
− | + | padding: 0; | |
− | + | line-height: 1px; | |
− | + | clear: both; | |
} | } | ||
+ | |||
a.NavToggle { | a.NavToggle { | ||
− | + | float: right; | |
− | + | top: 0; | |
− | + | right: 11px; | |
− | + | font-weight: normal; | |
− | + | font-size: smaller; | |
} | } | ||
− | |||
.messagebox.standard-talk { | .messagebox.standard-talk { | ||
− | + | border: 1px solid #c0c090; | |
− | + | background: #f8eaba | |
} | } | ||
+ | |||
.messagebox .floatleft { | .messagebox .floatleft { | ||
− | + | vertical-align: middle; | |
− | + | clear: both; | |
− | + | margin: 2px; | |
− | + | padding: 0 | |
} | } | ||
+ | |||
.messagebox .image { | .messagebox .image { | ||
− | + | margin: 0; | |
− | + | padding: 0 | |
} | } | ||
/*hider*/ | /*hider*/ | ||
/* make the Cite extension list of references look smaller and highlight clicked reference in blue */ | /* make the Cite extension list of references look smaller and highlight clicked reference in blue */ | ||
− | ol.references { font-size: 90%; } | + | ol.references { |
− | ol.references > li:target { background-color: #ddeeff; | + | font-size: 90%; |
− | + | } | |
+ | |||
+ | ol.references > li:target { | ||
+ | background-color: #ddeeff; | ||
+ | } | ||
+ | sup.reference:target { | ||
+ | background-color: #ddeeff; | ||
+ | } | ||
− | |||
#addthistoolbar { | #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 { | .rellink { | ||
font-style: italic !important; | font-style: italic !important; | ||
padding-left: 1.6em !important; | padding-left: 1.6em !important; | ||
− | |||
} | } | ||
− | . | + | |
− | + | /*Temp fix search result*/ | |
+ | .mw-search-results { | ||
+ | float: none !important; | ||
+ | } | ||
+ | |||
+ | .widget-vimeo { | ||
+ | display: inline-block; | ||
} | } |
Текущая версия на 11:25, 16 сентября 2018
/*[[Шаблон:Карточка]]*/ /*См. также: 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 img { width: 100%; height: auto; } /* списки в карточках */ .infobox th > ul, .infobox td > ul { list-style-type: none; list-style-image: none; list-style: 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; } /*Temp fix search result*/ .mw-search-results { float: none !important; } .widget-vimeo { display: inline-block; }