MediaWiki:Common.css: различия между версиями
Перейти к навигации
Перейти к поиску
Admin (обсуждение | вклад) Нет описания правки |
Karaby (обсуждение | вклад) м обновление данных из вики |
||
| Строка 1: | Строка 1: | ||
/*MediaWiki interface*/ | /*MediaWiki interface*/ | ||
.allpagesredirect, span.redirect-in-category a {font-style:italic} | .allpagesredirect, | ||
span.redirect-in-category a { | |||
font-style: italic; | |||
} | |||
#mw-subcategories, #mw-pages { clear:both } | #mw-subcategories, | ||
#mw-pages { | |||
clear: both; | |||
} | |||
.gallerybox .thumb img, | .gallerybox .thumb img, | ||
.filehistory a img, | .filehistory a img, | ||
#file img | #file img { | ||
background: url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat; | |||
} | } | ||
#wpSave {font-weight:bold} | #wpSave { | ||
font-weight: bold; | |||
} | |||
.mw-tag-markers { | .mw-tag-markers { | ||
font: italic 90% sans-serif; | |||
} | } | ||
.warningbox { | .warningbox { | ||
background: #ff9; | |||
border: 1px solid #ee0; | |||
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/62/Nuvola_apps_important.png/30px-Nuvola_apps_important.png); | |||
} | } | ||
.informationbox { | .informationbox { | ||
background: #f4fbff; | |||
border: 1px solid #d5d9e6; | |||
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/2/28/Information.svg/30px-Information.svg.png); | |||
} | } | ||
.warningbox, .informationbox { | .warningbox, | ||
.informationbox { | |||
padding: 10px 10px 10px 50px; | |||
background-position: 10px center; | |||
background-repeat: no-repeat; | |||
vertical-align: middle; | |||
font-size: smaller; | |||
} | } | ||
pre { | pre { | ||
overflow-x: auto; | |||
overflow-y: hidden; | |||
} | |||
pre, | |||
textarea { | |||
tab-size: 4; | |||
} | } | ||
/* rm white border */ | /* rm white border */ | ||
div.thumb {border: none} | div.thumb { | ||
div.tright {border: none; margin: 0.5em 0 0.8em 1.4em} | border: none; | ||
div.tleft | } | ||
div.tright { | |||
border: none; | |||
margin: 0.5em 0 0.8em 1.4em; | |||
} | |||
div.tleft { | |||
border: none; | |||
margin: 0.5em 1.4em 0.8em 0; | |||
} | |||
div.thumb img.thumbimage { | div.thumb img.thumbimage { | ||
background-color: #fff; | |||
} | } | ||
| Строка 52: | Строка 74: | ||
.skin-modern .hlist dl, | .skin-modern .hlist dl, | ||
.skin-vector .hlist dl { | .skin-vector .hlist dl { | ||
line-height: 1.5em; | |||
} | } | ||
.hlist dl, | .hlist dl, | ||
.hlist ol, | .hlist ol, | ||
.hlist ul { | .hlist ul { | ||
display: inline; | |||
margin: 0; | |||
} | } | ||
.hlist dd, | .hlist dd, | ||
.hlist dt, | .hlist dt, | ||
.hlist li { | .hlist li { | ||
display: inline; | |||
} | } | ||
/* Display nested lists inline */ | /* Display nested lists inline */ | ||
| Строка 69: | Строка 91: | ||
.hlist ol ol, | .hlist ol ol, | ||
.hlist ul ul { | .hlist ul ul { | ||
display: inline; | |||
} | } | ||
/* Generate interpuncts */ | /* Generate interpuncts */ | ||
.hlist dt:after { | .hlist dt:after { | ||
content: ":"; | |||
} | } | ||
.hlist dd:after, | .hlist dd:after, | ||
.hlist li:after { | .hlist li:after { | ||
content: " •"; | |||
} | } | ||
.hlist dd:last-child:after, | .hlist dd:last-child:after, | ||
.hlist dt:last-child:after, | .hlist dt:last-child:after, | ||
.hlist li:last-child:after { | .hlist li:last-child:after { | ||
content: none; | |||
} | } | ||
/* for IE 8 */ | /* for IE 8 */ | ||
| Строка 88: | Строка 110: | ||
.hlist dt.hlist-last-child:after, | .hlist dt.hlist-last-child:after, | ||
.hlist li.hlist-last-child:after { | .hlist li.hlist-last-child:after { | ||
content: none; | |||
} | } | ||
/* Add parens around nested lists */ | /* Add parens around nested lists */ | ||
| Строка 94: | Строка 116: | ||
.hlist ol ol li:first-child:before, | .hlist ol ol li:first-child:before, | ||
.hlist ul ul li:first-child:before { | .hlist ul ul li:first-child:before { | ||
content: "("; | |||
} | } | ||
.hlist dl dl dd:last-child:after, | .hlist dl dl dd:last-child:after, | ||
.hlist ol ol li:last-child:after, | .hlist ol ol li:last-child:after, | ||
.hlist ul ul li:last-child:after { | .hlist ul ul li:last-child:after { | ||
content: ")"; | |||
font-weight: normal; | |||
} | } | ||
/* For IE8 */ | /* For IE8 */ | ||
| Строка 106: | Строка 128: | ||
.hlist ol ol li.hlist-last-child:after, | .hlist ol ol li.hlist-last-child:after, | ||
.hlist ul ul li.hlist-last-child:after { | .hlist ul ul li.hlist-last-child:after { | ||
content: ")"; | |||
font-weight: normal; | |||
} | } | ||
/* Put numbers in ordered lists */ | /* Put numbers in ordered lists */ | ||
.hlist.hnum ol li { | .hlist.hnum ol li { | ||
counter-increment: level1; | |||
} | } | ||
.hlist.hnum ol li:before { | .hlist.hnum ol li:before { | ||
content: counter(level1) " "; | |||
} | } | ||
.hlist.hnum ol ol li { | .hlist.hnum ol ol li { | ||
counter-increment: level2; | |||
} | } | ||
.hlist.hnum ol ol li:first-child:before { | .hlist.hnum ol ol li:first-child:before { | ||
content: "(" counter(level2) " "; | |||
} | } | ||
.hlist.hnum ol ol li:before { | .hlist.hnum ol ol li:before { | ||
content: counter(level2) " "; | |||
} | } | ||
/* [[Википедия:Оформление таблиц]] */ | /* [[Википедия:Оформление таблиц]] */ | ||
table.standard, table.wide, table.prettytable | table.standard, | ||
table.wide, | |||
table.standard th, table.wide th, table.prettytable th | table.prettytable { | ||
border: 1px solid #aaa; | |||
table.standard td, table.wide td, table.prettytable td | border-collapse: collapse; | ||
} | |||
table.standard caption, table.wide caption, table.tiles caption | table.standard th, | ||
table.wide th, | |||
table.wide {width: 100%} | 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 { | ||
table.simple th, table.simple td {border-color:#aaa; padding-left:0.2em; padding-right:0.2em} | 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 { | ||
table.tiles th {padding-left:0.2em; padding-right:0.2em; background:#eef} | border-collapse: separate; | ||
table.tiles td {padding-left:0.2em; padding-right:0.2em; | 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%; | |||
} | |||
table. | 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; | |||
} | |||
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */ | /* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */ | ||
th.mbox-text, td.mbox-text { /* The message body cell(s) */ | th.mbox-text, | ||
td.mbox-text { /* The message body cell(s) */ | |||
border: none; | |||
/* @noflip */ | |||
padding: 0.25em 0.9em; /* 0.9em left/right */ | |||
width: 100%; /* Make all mboxes the same width regardless of text length */ | |||
} | } | ||
td.mbox-image { /* The left image cell */ | td.mbox-image { /* The left image cell */ | ||
border: none; | |||
/* @noflip */ | |||
padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */ | |||
text-align: center; | |||
} | } | ||
td.mbox-imageright { /* The right image cell */ | td.mbox-imageright { /* The right image cell */ | ||
border: none; | |||
/* @noflip */ | |||
padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */ | |||
text-align: center; | |||
} | } | ||
td.mbox-empty-cell { /* An empty narrow cell */ | td.mbox-empty-cell { /* An empty narrow cell */ | ||
border: none; | |||
padding: 0px; | |||
width: 1px; | |||
} | } | ||
/* Image message box styles */ | /* Image message box styles */ | ||
table.imbox { | table.imbox { | ||
margin: 4px 10%; | |||
border-collapse: collapse; | |||
border: 3px solid #1e90ff; /* Default "notice" blue */ | |||
background: #fbfbfb; | |||
} | } | ||
.imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */ | .imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */ | ||
margin: 0 -0.5em; /* 0.9 - 0.5 = 0.4em left/right. */ | |||
display: block; /* Fix for webkit to force 100% width. */ | |||
} | } | ||
.mbox-inside .imbox { /* For imboxes inside other templates. */ | .mbox-inside .imbox { /* For imboxes inside other templates. */ | ||
margin: 4px; | |||
} | } | ||
table.imbox-notice { | table.imbox-notice { | ||
border: 3px solid #1e90ff; /* Blue */ | |||
} | } | ||
table.imbox-speedy { | table.imbox-speedy { | ||
border: 3px solid #b22222; /* Red */ | |||
background: #fee; /* Pink */ | |||
} | } | ||
table.imbox-delete { | table.imbox-delete { | ||
border: 3px solid #b22222; /* Red */ | |||
} | } | ||
table.imbox-content { | table.imbox-content { | ||
border: 3px solid #f28500; /* Orange */ | |||
} | } | ||
table.imbox-style { | table.imbox-style { | ||
border: 3px solid #f4c430; /* Yellow */ | |||
} | } | ||
table.imbox-move { | table.imbox-move { | ||
border: 3px solid #9932cc; /* Purple */ | |||
} | } | ||
table.imbox-protection { | table.imbox-protection { | ||
border: 3px solid #bba; /* Gray-gold */ | |||
} | } | ||
table.imbox-license { | table.imbox-license { | ||
border: 3px solid #88a; /* Dark gray */ | |||
background: #f7f8ff; /* Light gray */ | |||
} | } | ||
table.imbox-featured { | table.imbox-featured { | ||
border: 3px solid #cba135; /* Brown-gold */ | |||
} | } | ||
/* Category message box styles */ | /* Category message box styles */ | ||
table.cmbox { | table.cmbox { | ||
margin: 3px 10%; | |||
border-collapse: collapse; | |||
border: 1px solid #aaa; | |||
background: #dfe8ff; /* Default "notice" blue */ | |||
} | } | ||
table.cmbox-notice { | table.cmbox-notice { | ||
background: #d8e8ff; /* Blue */ | |||
} | } | ||
table.cmbox-speedy { | table.cmbox-speedy { | ||
margin-top: 4px; | |||
margin-bottom: 4px; | |||
border: 4px solid #b22222; /* Red */ | |||
background: #ffdbdb; /* Pink */ | |||
} | } | ||
table.cmbox-delete { | table.cmbox-delete { | ||
background: #ffdbdb; /* Red */ | |||
} | } | ||
table.cmbox-content { | table.cmbox-content { | ||
background: #ffe7ce; /* Orange */ | |||
} | } | ||
table.cmbox-style { | table.cmbox-style { | ||
background: #fff9db; /* Yellow */ | |||
} | } | ||
table.cmbox-move { | table.cmbox-move { | ||
background: #e4d8ff; /* Purple */ | |||
} | } | ||
table.cmbox-protection { | table.cmbox-protection { | ||
background: #efefe1; /* Gray-gold */ | |||
} | } | ||
/* Other pages message box styles */ | /* Other pages message box styles */ | ||
table.ombox { | table.ombox { | ||
margin: 4px 10%; | |||
border-collapse: collapse; | |||
border: 1px solid #aaa; /* Default "notice" gray */ | |||
background: #f9f9f9; | |||
} | } | ||
table.ombox-notice { | table.ombox-notice { | ||
border: 1px solid #aaa; /* Gray */ | |||
} | } | ||
table.ombox-speedy { | table.ombox-speedy { | ||
border: 2px solid #b22222; /* Red */ | |||
background: #fee; /* Pink */ | |||
} | } | ||
table.ombox-delete { | table.ombox-delete { | ||
border: 2px solid #b22222; /* Red */ | |||
} | } | ||
table.ombox-content { | table.ombox-content { | ||
border: 1px solid #f28500; /* Orange */ | |||
} | } | ||
table.ombox-style { | table.ombox-style { | ||
border: 1px solid #f4c430; /* Yellow */ | |||
} | } | ||
table.ombox-move { | table.ombox-move { | ||
border: 1px solid #9932cc; /* Purple */ | |||
} | } | ||
table.ombox-protection { | table.ombox-protection { | ||
border: 2px solid #bba; /* Gray-gold */ | |||
} | } | ||
/* Talk page message box styles */ | /* Talk page message box styles */ | ||
table.tmbox { | table.tmbox { | ||
margin: 4px 10%; | |||
border-collapse: collapse; | |||
border: 1px solid #c0c090; /* Default "notice" gray-brown */ | |||
background: #f8eaba; | |||
} | } | ||
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */ | .mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */ | ||
margin: 2px 0; /* this declaration overrides other styles (including mbox-small above) */ | |||
width: 100%; /* For Safari and Opera */ | |||
} | } | ||
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */ | .mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */ | ||
line-height: 1.5em; /* also "nested", so reset styles that are */ | |||
font-size: 100%; /* set in "mbox-small" above. */ | |||
} | } | ||
table.tmbox-speedy { | table.tmbox-speedy { | ||
border: 2px solid #b22222; /* Red */ | |||
background: #fee; /* Pink */ | |||
} | } | ||
table.tmbox-delete { | table.tmbox-delete { | ||
border: 2px solid #b22222; /* Red */ | |||
} | } | ||
table.tmbox-content { | table.tmbox-content { | ||
border: 2px solid #f28500; /* Orange */ | |||
} | } | ||
table.tmbox-style { | table.tmbox-style { | ||
border: 2px solid #f4c430; /* Yellow */ | |||
} | } | ||
table.tmbox-move { | table.tmbox-move { | ||
border: 2px solid #9932cc; /* Purple */ | |||
} | } | ||
table.tmbox-protection, | table.tmbox-protection, | ||
table.tmbox-notice { | table.tmbox-notice { | ||
border: 1px solid #c0c090; /* Gray-brown */ | |||
} | } | ||
/* {ambox} */ | /* {ambox} */ | ||
table.ambox { | table.ambox { | ||
width: auto; | |||
margin: 0 10%; | |||
border-collapse: collapse; | |||
background: #fbfbfb; | |||
border: 1px solid #aaa; | |||
border-left: 10px solid #1e90ff; | |||
} | } | ||
table.ambox th, table.ambox td { | table.ambox th, | ||
table.ambox td { | |||
padding: 0.25em 0.5em; | |||
} | } | ||
table.ambox td.ambox-widthhack { | table.ambox td.ambox-widthhack { | ||
padding: 0; | |||
} | } | ||
table.ambox td.ambox-text { | table.ambox td.ambox-text { | ||
width: 100%; | |||
} | } | ||
table.ambox td.ambox-text .ambox-text-small { | table.ambox td.ambox-text .ambox-text-small { | ||
font-size: smaller; | |||
} | } | ||
table.ambox td.ambox-image { | table.ambox td.ambox-image { | ||
width: 52px; | |||
padding: 2px 0 2px 0.5em; | |||
text-align: center; | |||
} | } | ||
table.ambox td.ambox-imageright { | table.ambox td.ambox-imageright { | ||
width: 52px; | |||
padding: 2px 4px 2px 0; | |||
text-align: center; | |||
} | } | ||
table.ambox td.ambox-image div, | table.ambox td.ambox-image div, | ||
table.ambox td.ambox-imageright div { | table.ambox td.ambox-imageright div { | ||
/* Фикс для изображений разной ширины */ | |||
width: 52px; | |||
} | |||
table.ambox-delete, | table.ambox-delete, | ||
table.ambox-serious { | table.ambox-serious { | ||
border-left: 10px solid #b22222; | |||
} | } | ||
table.ambox-content { | table.ambox-content { | ||
border-left: 10px solid #f28500; | |||
} | } | ||
table.ambox-style { | table.ambox-style { | ||
border-left: 10px solid #f4c430; | |||
} | } | ||
table.ambox-good { | table.ambox-good { | ||
border-left: 10px solid #66cc44; | |||
} | } | ||
table.ambox-discussion { | table.ambox-discussion { | ||
border-left: 10px solid #339966; | |||
} | } | ||
table.ambox-notice { | table.ambox-notice { | ||
border-left: 10px solid #1e90ff; | |||
} | } | ||
table.ambox-merge { | table.ambox-merge { | ||
border-left: 10px solid #9932cc; | |||
} | } | ||
table.ambox.ambox-mini { | table.ambox.ambox-mini { | ||
float: right; | |||
clear: right; | |||
margin: 0 0 0.5em 1em; | |||
width: 20%; | |||
} | } | ||
/* Footer and header message box styles */ | /* Footer and header message box styles */ | ||
table.fmbox { | table.fmbox { | ||
clear: both; | |||
margin: 0.2em 0; | |||
width: 100%; | |||
border: 1px solid #aaa; | |||
/* Default "system" gray */ | |||
background: #f9f9f9; | |||
} | } | ||
table.fmbox-system { | table.fmbox-system { | ||
background: #f9f9f9; | |||
} | } | ||
table.fmbox-warning { | table.fmbox-warning { | ||
border: 1px solid #bb7070; /* Dark pink */ | |||
background: #ffdbdb; /* Pink */ | |||
} | } | ||
table.fmbox-editnotice { | table.fmbox-editnotice { | ||
background: transparent; | |||
} | } | ||
/* Div based "warning" style fmbox messages. */ | /* Div based "warning" style fmbox messages. */ | ||
| Строка 419: | Строка 528: | ||
div.mw-cascadeprotectedwarning, | div.mw-cascadeprotectedwarning, | ||
div#mw-protect-cascadeon { | div#mw-protect-cascadeon { | ||
clear: both; | |||
margin: 0.2em 0; | |||
border: 1px solid #bb7070; | |||
background: #ffdbdb; | |||
padding: 0.25em 0.9em; | |||
} | } | ||
/* Div based "system" style fmbox messages. | /* Div based "system" style fmbox messages. | ||
Used in [[MediaWiki:Readonly lag]]. */ | |||
div.mw-lag-warn-normal, | div.mw-lag-warn-normal, | ||
div.fmbox-system { | div.fmbox-system { | ||
clear: both; | |||
margin: 0.2em 0; | |||
border: 1px solid #aaa; | |||
background: #f9f9f9; | |||
padding: 0.25em 0.9em; | |||
} | } | ||
/* These mbox-small classes must be placed after all other | /* These mbox-small classes must be placed after all other | ||
ambox/tmbox/ombox etc classes. "body.mediawiki" is so | |||
they override "table.ambox + table.ambox" above. */ | |||
body.mediawiki table.mbox-small { /* For the "small=yes" option. */ | body.mediawiki table.mbox-small { /* For the "small=yes" option. */ | ||
/* @noflip */ | |||
clear: right; | |||
/* @noflip */ | |||
float: right; | |||
/* @noflip */ | |||
margin: 4px 0 4px 1em; | |||
width: 238px; | |||
font-size: 88%; | |||
line-height: 1.25em; | |||
} | } | ||
body.mediawiki table.mbox-small-left { /* For the "small=left" option. */ | body.mediawiki table.mbox-small-left { /* For the "small=left" option. */ | ||
/* @noflip */ | |||
margin: 4px 1em 4px 0; | |||
width: 238px; | |||
border-collapse: collapse; | |||
font-size: 88%; | |||
line-height: 1.25em; | |||
} | } | ||
.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 td, | |||
.infobox th { | |||
vertical-align: top; | |||
} | |||
/* temporarily for [[Template:Карточка]] */ | |||
table.infobox td p { | |||
margin: 0 !important; | |||
} | |||
/* списки в карточках */ | |||
.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; | |||
} | } | ||
.notice { | .notice { | ||
text-align: justify; | |||
margin: 1em 0.5em; | |||
padding: 0.5em; | |||
} | } | ||
.messagebox { | .messagebox { | ||
border: thin solid #aaa; | |||
background: #f9f9f9; | |||
width: 88%; | |||
margin: 0 auto 1em auto; | |||
padding: .4em; | |||
vertical-align: middle; | |||
font-size: 90% | |||
} | } | ||
blockquote { | blockquote { | ||
margin: 0.7em 0 0.7em 5%; | |||
padding: 0.7em 2% 0.7em 4%; | |||
background: #f5f5f5; | |||
} | } | ||
ol.references {font-size:100%} | ol.references { | ||
.references-small {font-size:90%} | font-size: 100%; | ||
} | |||
.references-small { | |||
font-size: 90%; | |||
} | |||
/* highlight focused footnotes and references in some browsers */ | /* highlight focused footnotes and references in some browsers */ | ||
sup.reference:target, ol.references li:target, .highlight-target:target, cite:target, span.citation:target {background:#DEF} | sup.reference:target, | ||
sup.reference:target {font-weight:bold} | ol.references li:target, | ||
.highlight-target:target, | |||
cite:target, | |||
span.citation:target { | |||
background: #DEF; | |||
} | |||
sup.reference:target { | |||
font-weight: bold; | |||
} | |||
/* scrollable references */ | /* scrollable references */ | ||
.references-scroll { | .references-scroll { | ||
overflow: auto; | |||
padding: 3px; | |||
} | } | ||
/* fix for line-breaking references */ | /* fix for line-breaking references */ | ||
sup | sub, | ||
sup { | |||
line-height: 1em; | |||
} | |||
.plainlinksneverexpand, .plainlinksneverexpand a | .plainlinksneverexpand, | ||
.plainlinksneverexpand a { | |||
background: none !important; | |||
padding: 0 !important; | |||
} | |||
.plainlinksneverexpand a.external.text:after, | .plainlinksneverexpand a.external.text:after, | ||
.plainlinksneverexpand a.external.autonumber:after, | .plainlinksneverexpand a.external.autonumber:after, | ||
.plainlinksneverexpand .urlexpansion | .plainlinksneverexpand .urlexpansion { | ||
display: none !important; | |||
} | |||
.clickable-image a:hover {text-decoration: none} | .clickable-image a:hover { | ||
text-decoration: none; | |||
} | |||
.printonly {display:none} | .printonly { | ||
display: none; | |||
} | |||
.dablink, .rellink {font-style:italic; padding-left:1.6em} | .dablink, | ||
.rellink { | |||
font-style: italic; | |||
padding-left: 1.6em; | |||
} | |||
#disambig {border-top: 3px double # | #disambig { | ||
border-top: 3px double #ccc; | |||
border-bottom: 3px double #ccc; | |||
} | |||
/*{TOClimit} & TOC w/o numbers*/ | /*{TOClimit} & TOC w/o numbers*/ | ||
| Строка 531: | Строка 701: | ||
.toclimit-5 .toclevel-5, | .toclimit-5 .toclevel-5, | ||
.toclimit-6 .toclevel-6, | .toclimit-6 .toclevel-6, | ||
.toclimit-7 .toclevel-7, | .toclimit-7 .toclevel-7, | ||
.nonumtoc .tocnumber | .nonumtoc .tocnumber { | ||
display: none; | |||
} | |||
| Строка 542: | Строка 714: | ||
a[href*=".PDF?"].external, | a[href*=".PDF?"].external, | ||
a[href*=".PDF#"].external, | a[href*=".PDF#"].external, | ||
span.PDFlink a {background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) center right no-repeat !important; padding-right: 18px !important} | span.PDFlink a { | ||
background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) center right no-repeat !important; | |||
padding-right: 18px !important; | |||
} | |||
/* Clickable speaker in {Template:Audio} ... */ | /* Clickable speaker in {Template:Audio} ... */ | ||
.audiolink a { | .audiolink a { | ||
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/11px-Loudspeaker.svg.png) center left no-repeat !important; | |||
padding-left: 16px !important; | |||
padding-right: 0 !important; | |||
} | } | ||
/* Medialist templates {Listen}, {Multi-listen_start}, {Video}, {Multi-video_start} */ | /* Medialist templates {Listen}, {Multi-listen_start}, {Video}, {Multi-video_start} */ | ||
div.listenlist { | div.listenlist { | ||
background: url(//upload.wikimedia.org/wikipedia/commons/3/3f/Gnome_speakernotes_30px.png); | |||
padding-left: 40px; | |||
} | } | ||
div.videolist, div.multivideolist { | div.videolist, | ||
div.multivideolist { | |||
background: url(//upload.wikimedia.org/wikipedia/en/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png); | |||
padding-left: 50px; | |||
} | } | ||
div.medialist { | div.medialist { | ||
min-height: 50px; | |||
margin: 1em; | |||
background-position: top left; | |||
background-repeat: no-repeat; | |||
} | } | ||
div.medialist ul { | div.medialist ul { | ||
list-style-type: none; | |||
list-style-image: none; | |||
margin: 0; | |||
} | } | ||
div.medialist ul li { | div.medialist ul li { | ||
padding-bottom: 0.5em; | |||
} | } | ||
div.medialist ul li li { | div.medialist ul li li { | ||
font-size: 91%; | |||
padding-bottom: 0; | |||
} | } | ||
| Строка 582: | Строка 758: | ||
table.navigation-box th, | table.navigation-box th, | ||
table.navigation-box td { | table.navigation-box td { | ||
vertical-align: middle; | |||
height: 30px; | |||
} | } | ||
/*{Навигационная полоса}, {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; | |||
} | } | ||
/* {coord}s */ | /* {coord}s */ | ||
#coordinates { | #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 { | #coordinates, | ||
.coordinates { | |||
text-transform: none; | |||
margin: 0; | |||
padding: 0; | |||
} | } | ||
.geo-google, .geo-osm, .geo-yandex { | .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:# | /* {tl} */ | ||
.wp-templatelink { | |||
color: #9098a0; | |||
} | |||
/* FlaggedRevs */ | /* FlaggedRevs */ | ||
.mw-fr-reviewlink, .fr-hist-basic-user, .fr-hist-basic-auto {font-weight:normal; font-size:smaller} | .mw-fr-reviewlink, | ||
.flaggedrevs-pending {background:#ffc} | .fr-hist-basic-user, | ||
.sitedir-ltr div.flaggedrevs_short {float:none; padding:1px} | .fr-hist-basic-auto { | ||
.sitedir-ltr div.flaggedrevs_short_details {width:95%; display:none} | font-weight: normal; | ||
font-size: smaller; | |||
} | |||
.flaggedrevs-pending { | |||
background: #ffc; | |||
} | |||
.sitedir-ltr div.flaggedrevs_short { | |||
float: none; | |||
padding: 1px; | |||
} | |||
.sitedir-ltr div.flaggedrevs_short_details { | |||
width: 95%; | |||
display: none; | |||
} | |||
| Строка 712: | Строка 896: | ||
body.ns-talk a.external[href*="//ru.wikipedia.org/"], | body.ns-talk a.external[href*="//ru.wikipedia.org/"], | ||
body.ns-4 a.external[href*="//ru.wikipedia.org/"] { | body.ns-4 a.external[href*="//ru.wikipedia.org/"] { | ||
background: none !important; | |||
padding-right: 0 !important; | |||
} | |||
.sitedir-ltr .mw-dismissable-notice-body { | |||
margin-right: 5em !important; /* was 20% */ | |||
} | |||
/* {Навигационная таблица} - старый CSS */ | |||
table.navbox th { | |||
background: #ccf; | |||
padding-left: 1em; | |||
padding-right: 1em; | |||
text-align: right; | |||
} | } | ||
/* Default style for navigation boxes */ | |||
.navbox { /* Navbox container style */ | |||
background: #f9f9f9; | |||
border: 1px solid #aaa; | |||
clear: both; | |||
font-size: 90%; | |||
margin: 1em 0em 0em; | |||
padding: 2px; | |||
width: 100%; | |||
margin: auto; | |||
} | |||
.navbox-inner, | |||
.navbox-subgroup { | |||
width: 100%; | |||
} | |||
.navbox-group, | |||
.navbox-title, | |||
.navbox-abovebelow { | |||
padding: 0.25em 1em; /* Title, group and above/below styles */ | |||
line-height: 1.5em; | |||
text-align: center; | |||
} | |||
th.navbox-group { /* Group style */ | |||
white-space: nowrap; | |||
/* @noflip */ | |||
text-align: right; | |||
} | |||
.navbox, | |||
.navbox-subgroup { | |||
background: #fdfdfd; /* Background color */ | |||
} | |||
.navbox-list { | |||
line-height: 1.8em; | |||
border-color: #fdfdfd; /* Must match background color */ | |||
} | |||
.navbox th, | |||
.navbox-title { | |||
background: #ccccff; /* Level 1 color */ | |||
} | |||
.navbox-abovebelow, | |||
th.navbox-group, | |||
.navbox-subgroup .navbox-title { | |||
background: #ddddff; /* Level 2 color */ | |||
} | |||
.navbox-subgroup .navbox-group, | |||
.navbox-subgroup .navbox-abovebelow { | |||
background: #e6e6ff; /* Level 3 color */ | |||
} | |||
.navbox-even { | |||
background: #f7f7f7; /* Even row striping */ | |||
} | |||
.navbox-odd { | |||
background: transparent; /* Odd row striping */ | |||
} | |||
table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */ | |||
margin-top: -1px; /* (doesn't work for IE6, but that's okay) */ | |||
} | |||
.navbox .hlist td dl, | |||
.navbox .hlist td ol, | |||
.navbox .hlist td ul, | |||
.navbox td.hlist dl, | |||
.navbox td.hlist ol, | |||
.navbox td.hlist ul { | |||
padding: 0.125em 0; /* Adjust hlist padding in navboxes */ | |||
} | |||
ol + table.navbox, | |||
ul + table.navbox { | |||
margin-top: 0.5em; /* Prevent lists from clinging to navboxes */ | |||
} | |||
/* Default styling for Navbar template */ | |||
.navbar { | |||
display: inline; | |||
font-size: 88%; | |||
font-weight: normal; | |||
} | |||
.navbar ul { | |||
display: inline; | |||
white-space: nowrap; | |||
} | |||
.navbar li { | |||
word-spacing: -0.125em; | |||
} | |||
.navbar.mini li span { | |||
font-variant: small-caps; | |||
} | |||
/* Navbar styling when nested in infobox and navbox */ | |||
.infobox .navbar { | |||
font-size: 100%; | |||
} | |||
.navbox .navbar { | |||
display: block; | |||
font-size: 100%; | |||
} | |||
.navbox-title .navbar { | |||
/* @noflip */ | |||
float: left; | |||
/* @noflip */ | |||
text-align: left; | |||
/* @noflip */ | |||
margin-right: 0.5em; | |||
width: 6em; | |||
} | } | ||
/* Watchlist details */ | /* Watchlist details */ | ||
.watchlist-msg { | .watchlist-msg { | ||
float: right; | |||
background: #ffffe0; | |||
border: 1px solid #fd4; | |||
font-size: 8pt; | |||
padding: 0.5em 0.7em; | |||
margin-left: 1em; | |||
line-height: 1.4em; | |||
} | } | ||
#mw-watchlist-form { | #mw-watchlist-form { | ||
clear: both; | |||
} | |||
/* {{math}} */ | |||
.math-template { | |||
white-space: nowrap; | |||
font-family: times, serif, palatino linotype, new athena unicode, athena, gentium, code2000; | |||
font-size: 120%; | |||
} | |||
/* Visual editor related */ | |||
.mw-ve-editNotice .mbox-image { | |||
display: none; | |||
} | } | ||
Версия от 03:30, 19 марта 2015
/*MediaWiki interface*/
.allpagesredirect,
span.redirect-in-category a {
font-style: italic;
}
#mw-subcategories,
#mw-pages {
clear: both;
}
.gallerybox .thumb img,
.filehistory a img,
#file img {
background: url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
}
#wpSave {
font-weight: bold;
}
.mw-tag-markers {
font: italic 90% sans-serif;
}
.warningbox {
background: #ff9;
border: 1px solid #ee0;
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/62/Nuvola_apps_important.png/30px-Nuvola_apps_important.png);
}
.informationbox {
background: #f4fbff;
border: 1px solid #d5d9e6;
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/2/28/Information.svg/30px-Information.svg.png);
}
.warningbox,
.informationbox {
padding: 10px 10px 10px 50px;
background-position: 10px center;
background-repeat: no-repeat;
vertical-align: middle;
font-size: smaller;
}
pre {
overflow-x: auto;
overflow-y: hidden;
}
pre,
textarea {
tab-size: 4;
}
/* rm white border */
div.thumb {
border: none;
}
div.tright {
border: none;
margin: 0.5em 0 0.8em 1.4em;
}
div.tleft {
border: none;
margin: 0.5em 1.4em 0.8em 0;
}
div.thumb img.thumbimage {
background-color: #fff;
}
/* Style for horizontal lists (separator following item) */
.skin-monobook .hlist dl,
.skin-modern .hlist dl,
.skin-vector .hlist dl {
line-height: 1.5em;
}
.hlist dl,
.hlist ol,
.hlist ul {
display: inline;
margin: 0;
}
.hlist dd,
.hlist dt,
.hlist li {
display: inline;
}
/* Display nested lists inline */
.hlist dl dl,
.hlist ol ol,
.hlist ul ul {
display: inline;
}
/* Generate interpuncts */
.hlist dt:after {
content: ":";
}
.hlist dd:after,
.hlist li:after {
content: " •";
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
content: none;
}
/* for IE 8 */
.hlist dd.hlist-last-child:after,
.hlist dt.hlist-last-child:after,
.hlist li.hlist-last-child:after {
content: none;
}
/* Add parens around nested lists */
.hlist dl dl dd:first-child:before,
.hlist ol ol li:first-child:before,
.hlist ul ul li:first-child:before {
content: "(";
}
.hlist dl dl dd:last-child:after,
.hlist ol ol li:last-child:after,
.hlist ul ul li:last-child:after {
content: ")";
font-weight: normal;
}
/* For IE8 */
.hlist dl dl dd.hlist-last-child:after,
.hlist ol ol li.hlist-last-child:after,
.hlist ul ul li.hlist-last-child:after {
content: ")";
font-weight: normal;
}
/* Put numbers in ordered lists */
.hlist.hnum ol li {
counter-increment: level1;
}
.hlist.hnum ol li:before {
content: counter(level1) " ";
}
.hlist.hnum ol ol li {
counter-increment: level2;
}
.hlist.hnum ol ol li:first-child:before {
content: "(" counter(level2) " ";
}
.hlist.hnum ol ol li:before {
content: counter(level2) " ";
}
/* [[Википедия:Оформление таблиц]] */
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;
}
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text,
td.mbox-text { /* The message body cell(s) */
border: none;
/* @noflip */
padding: 0.25em 0.9em; /* 0.9em left/right */
width: 100%; /* Make all mboxes the same width regardless of text length */
}
td.mbox-image { /* The left image cell */
border: none;
/* @noflip */
padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
text-align: center;
}
td.mbox-imageright { /* The right image cell */
border: none;
/* @noflip */
padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */
text-align: center;
}
td.mbox-empty-cell { /* An empty narrow cell */
border: none;
padding: 0px;
width: 1px;
}
/* Image message box styles */
table.imbox {
margin: 4px 10%;
border-collapse: collapse;
border: 3px solid #1e90ff; /* Default "notice" blue */
background: #fbfbfb;
}
.imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */
margin: 0 -0.5em; /* 0.9 - 0.5 = 0.4em left/right. */
display: block; /* Fix for webkit to force 100% width. */
}
.mbox-inside .imbox { /* For imboxes inside other templates. */
margin: 4px;
}
table.imbox-notice {
border: 3px solid #1e90ff; /* Blue */
}
table.imbox-speedy {
border: 3px solid #b22222; /* Red */
background: #fee; /* Pink */
}
table.imbox-delete {
border: 3px solid #b22222; /* Red */
}
table.imbox-content {
border: 3px solid #f28500; /* Orange */
}
table.imbox-style {
border: 3px solid #f4c430; /* Yellow */
}
table.imbox-move {
border: 3px solid #9932cc; /* Purple */
}
table.imbox-protection {
border: 3px solid #bba; /* Gray-gold */
}
table.imbox-license {
border: 3px solid #88a; /* Dark gray */
background: #f7f8ff; /* Light gray */
}
table.imbox-featured {
border: 3px solid #cba135; /* Brown-gold */
}
/* Category message box styles */
table.cmbox {
margin: 3px 10%;
border-collapse: collapse;
border: 1px solid #aaa;
background: #dfe8ff; /* Default "notice" blue */
}
table.cmbox-notice {
background: #d8e8ff; /* Blue */
}
table.cmbox-speedy {
margin-top: 4px;
margin-bottom: 4px;
border: 4px solid #b22222; /* Red */
background: #ffdbdb; /* Pink */
}
table.cmbox-delete {
background: #ffdbdb; /* Red */
}
table.cmbox-content {
background: #ffe7ce; /* Orange */
}
table.cmbox-style {
background: #fff9db; /* Yellow */
}
table.cmbox-move {
background: #e4d8ff; /* Purple */
}
table.cmbox-protection {
background: #efefe1; /* Gray-gold */
}
/* Other pages message box styles */
table.ombox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #aaa; /* Default "notice" gray */
background: #f9f9f9;
}
table.ombox-notice {
border: 1px solid #aaa; /* Gray */
}
table.ombox-speedy {
border: 2px solid #b22222; /* Red */
background: #fee; /* Pink */
}
table.ombox-delete {
border: 2px solid #b22222; /* Red */
}
table.ombox-content {
border: 1px solid #f28500; /* Orange */
}
table.ombox-style {
border: 1px solid #f4c430; /* Yellow */
}
table.ombox-move {
border: 1px solid #9932cc; /* Purple */
}
table.ombox-protection {
border: 2px solid #bba; /* Gray-gold */
}
/* Talk page message box styles */
table.tmbox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #c0c090; /* Default "notice" gray-brown */
background: #f8eaba;
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
margin: 2px 0; /* this declaration overrides other styles (including mbox-small above) */
width: 100%; /* For Safari and Opera */
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */
line-height: 1.5em; /* also "nested", so reset styles that are */
font-size: 100%; /* set in "mbox-small" above. */
}
table.tmbox-speedy {
border: 2px solid #b22222; /* Red */
background: #fee; /* Pink */
}
table.tmbox-delete {
border: 2px solid #b22222; /* Red */
}
table.tmbox-content {
border: 2px solid #f28500; /* Orange */
}
table.tmbox-style {
border: 2px solid #f4c430; /* Yellow */
}
table.tmbox-move {
border: 2px solid #9932cc; /* Purple */
}
table.tmbox-protection,
table.tmbox-notice {
border: 1px solid #c0c090; /* Gray-brown */
}
/* {ambox} */
table.ambox {
width: auto;
margin: 0 10%;
border-collapse: collapse;
background: #fbfbfb;
border: 1px solid #aaa;
border-left: 10px solid #1e90ff;
}
table.ambox th,
table.ambox td {
padding: 0.25em 0.5em;
}
table.ambox td.ambox-widthhack {
padding: 0;
}
table.ambox td.ambox-text {
width: 100%;
}
table.ambox td.ambox-text .ambox-text-small {
font-size: smaller;
}
table.ambox td.ambox-image {
width: 52px;
padding: 2px 0 2px 0.5em;
text-align: center;
}
table.ambox td.ambox-imageright {
width: 52px;
padding: 2px 4px 2px 0;
text-align: center;
}
table.ambox td.ambox-image div,
table.ambox td.ambox-imageright div {
/* Фикс для изображений разной ширины */
width: 52px;
}
table.ambox-delete,
table.ambox-serious {
border-left: 10px solid #b22222;
}
table.ambox-content {
border-left: 10px solid #f28500;
}
table.ambox-style {
border-left: 10px solid #f4c430;
}
table.ambox-good {
border-left: 10px solid #66cc44;
}
table.ambox-discussion {
border-left: 10px solid #339966;
}
table.ambox-notice {
border-left: 10px solid #1e90ff;
}
table.ambox-merge {
border-left: 10px solid #9932cc;
}
table.ambox.ambox-mini {
float: right;
clear: right;
margin: 0 0 0.5em 1em;
width: 20%;
}
/* Footer and header message box styles */
table.fmbox {
clear: both;
margin: 0.2em 0;
width: 100%;
border: 1px solid #aaa;
/* Default "system" gray */
background: #f9f9f9;
}
table.fmbox-system {
background: #f9f9f9;
}
table.fmbox-warning {
border: 1px solid #bb7070; /* Dark pink */
background: #ffdbdb; /* Pink */
}
table.fmbox-editnotice {
background: transparent;
}
/* Div based "warning" style fmbox messages. */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon {
clear: both;
margin: 0.2em 0;
border: 1px solid #bb7070;
background: #ffdbdb;
padding: 0.25em 0.9em;
}
/* Div based "system" style fmbox messages.
Used in [[MediaWiki:Readonly lag]]. */
div.mw-lag-warn-normal,
div.fmbox-system {
clear: both;
margin: 0.2em 0;
border: 1px solid #aaa;
background: #f9f9f9;
padding: 0.25em 0.9em;
}
/* These mbox-small classes must be placed after all other
ambox/tmbox/ombox etc classes. "body.mediawiki" is so
they override "table.ambox + table.ambox" above. */
body.mediawiki table.mbox-small { /* For the "small=yes" option. */
/* @noflip */
clear: right;
/* @noflip */
float: right;
/* @noflip */
margin: 4px 0 4px 1em;
width: 238px;
font-size: 88%;
line-height: 1.25em;
}
body.mediawiki table.mbox-small-left { /* For the "small=left" option. */
/* @noflip */
margin: 4px 1em 4px 0;
width: 238px;
border-collapse: collapse;
font-size: 88%;
line-height: 1.25em;
}
.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 td,
.infobox th {
vertical-align: top;
}
/* temporarily for [[Template:Карточка]] */
table.infobox td p {
margin: 0 !important;
}
/* списки в карточках */
.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;
}
.notice {
text-align: justify;
margin: 1em 0.5em;
padding: 0.5em;
}
.messagebox {
border: thin solid #aaa;
background: #f9f9f9;
width: 88%;
margin: 0 auto 1em auto;
padding: .4em;
vertical-align: middle;
font-size: 90%
}
blockquote {
margin: 0.7em 0 0.7em 5%;
padding: 0.7em 2% 0.7em 4%;
background: #f5f5f5;
}
ol.references {
font-size: 100%;
}
.references-small {
font-size: 90%;
}
/* highlight focused footnotes and references in some browsers */
sup.reference:target,
ol.references li:target,
.highlight-target:target,
cite:target,
span.citation:target {
background: #DEF;
}
sup.reference:target {
font-weight: bold;
}
/* scrollable references */
.references-scroll {
overflow: auto;
padding: 3px;
}
/* fix for line-breaking references */
sub,
sup {
line-height: 1em;
}
.plainlinksneverexpand,
.plainlinksneverexpand a {
background: none !important;
padding: 0 !important;
}
.plainlinksneverexpand a.external.text:after,
.plainlinksneverexpand a.external.autonumber:after,
.plainlinksneverexpand .urlexpansion {
display: none !important;
}
.clickable-image a:hover {
text-decoration: none;
}
.printonly {
display: none;
}
.dablink,
.rellink {
font-style: italic;
padding-left: 1.6em;
}
#disambig {
border-top: 3px double #ccc;
border-bottom: 3px double #ccc;
}
/*{TOClimit} & TOC w/o numbers*/
.toclimit-2 .toclevel-2,
.toclimit-3 .toclevel-3,
.toclimit-4 .toclevel-4,
.toclimit-5 .toclevel-5,
.toclimit-6 .toclevel-6,
.toclimit-7 .toclevel-7,
.nonumtoc .tocnumber {
display: none;
}
/* PDF icon next to external PDF link for Mozilla and Opera and for {PDFlink} template */
a[href$=".pdf"].external,
a[href*=".pdf?"].external,
a[href*=".pdf#"].external,
a[href$=".PDF"].external,
a[href*=".PDF?"].external,
a[href*=".PDF#"].external,
span.PDFlink a {
background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) center right no-repeat !important;
padding-right: 18px !important;
}
/* Clickable speaker in {Template:Audio} ... */
.audiolink a {
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/11px-Loudspeaker.svg.png) center left no-repeat !important;
padding-left: 16px !important;
padding-right: 0 !important;
}
/* Medialist templates {Listen}, {Multi-listen_start}, {Video}, {Multi-video_start} */
div.listenlist {
background: url(//upload.wikimedia.org/wikipedia/commons/3/3f/Gnome_speakernotes_30px.png);
padding-left: 40px;
}
div.videolist,
div.multivideolist {
background: url(//upload.wikimedia.org/wikipedia/en/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png);
padding-left: 50px;
}
div.medialist {
min-height: 50px;
margin: 1em;
background-position: top left;
background-repeat: no-repeat;
}
div.medialist ul {
list-style-type: none;
list-style-image: none;
margin: 0;
}
div.medialist ul li {
padding-bottom: 0.5em;
}
div.medialist ul li li {
font-size: 91%;
padding-bottom: 0;
}
/* {Навигация} */
table.navigation-box th,
table.navigation-box td {
vertical-align: middle;
height: 30px;
}
/*{Навигационная полоса}, {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;
}
/* {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;
}
/* {tl} */
.wp-templatelink {
color: #9098a0;
}
/* FlaggedRevs */
.mw-fr-reviewlink,
.fr-hist-basic-user,
.fr-hist-basic-auto {
font-weight: normal;
font-size: smaller;
}
.flaggedrevs-pending {
background: #ffc;
}
.sitedir-ltr div.flaggedrevs_short {
float: none;
padding: 1px;
}
.sitedir-ltr div.flaggedrevs_short_details {
width: 95%;
display: none;
}
/* Remove "external" icon from links to WP */
body.ns-talk a.external[href*="//ru.wikipedia.org/"],
body.ns-4 a.external[href*="//ru.wikipedia.org/"] {
background: none !important;
padding-right: 0 !important;
}
.sitedir-ltr .mw-dismissable-notice-body {
margin-right: 5em !important; /* was 20% */
}
/* {Навигационная таблица} - старый CSS */
table.navbox th {
background: #ccf;
padding-left: 1em;
padding-right: 1em;
text-align: right;
}
/* Default style for navigation boxes */
.navbox { /* Navbox container style */
background: #f9f9f9;
border: 1px solid #aaa;
clear: both;
font-size: 90%;
margin: 1em 0em 0em;
padding: 2px;
width: 100%;
margin: auto;
}
.navbox-inner,
.navbox-subgroup {
width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
padding: 0.25em 1em; /* Title, group and above/below styles */
line-height: 1.5em;
text-align: center;
}
th.navbox-group { /* Group style */
white-space: nowrap;
/* @noflip */
text-align: right;
}
.navbox,
.navbox-subgroup {
background: #fdfdfd; /* Background color */
}
.navbox-list {
line-height: 1.8em;
border-color: #fdfdfd; /* Must match background color */
}
.navbox th,
.navbox-title {
background: #ccccff; /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
background: #ddddff; /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background: #e6e6ff; /* Level 3 color */
}
.navbox-even {
background: #f7f7f7; /* Even row striping */
}
.navbox-odd {
background: transparent; /* Odd row striping */
}
table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */
margin-top: -1px; /* (doesn't work for IE6, but that's okay) */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
padding: 0.125em 0; /* Adjust hlist padding in navboxes */
}
ol + table.navbox,
ul + table.navbox {
margin-top: 0.5em; /* Prevent lists from clinging to navboxes */
}
/* Default styling for Navbar template */
.navbar {
display: inline;
font-size: 88%;
font-weight: normal;
}
.navbar ul {
display: inline;
white-space: nowrap;
}
.navbar li {
word-spacing: -0.125em;
}
.navbar.mini li span {
font-variant: small-caps;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
font-size: 100%;
}
.navbox .navbar {
display: block;
font-size: 100%;
}
.navbox-title .navbar {
/* @noflip */
float: left;
/* @noflip */
text-align: left;
/* @noflip */
margin-right: 0.5em;
width: 6em;
}
/* Watchlist details */
.watchlist-msg {
float: right;
background: #ffffe0;
border: 1px solid #fd4;
font-size: 8pt;
padding: 0.5em 0.7em;
margin-left: 1em;
line-height: 1.4em;
}
#mw-watchlist-form {
clear: both;
}
/* {{math}} */
.math-template {
white-space: nowrap;
font-family: times, serif, palatino linotype, new athena unicode, athena, gentium, code2000;
font-size: 120%;
}
/* Visual editor related */
.mw-ve-editNotice .mbox-image {
display: none;
}