MediaWiki:Common.css: различия между версиями
Материал из ЕЖЕВИКИ - EJWiki.org - Академической Вики-энциклопедии по еврейским и израильским темам
Перейти к навигацииПерейти к поиску
Ariely (обсуждение | вклад) Нет описания правки |
Ariely (обсуждение | вклад) Нет описания правки |
||
| Строка 1: | Строка 1: | ||
/* | /* Edit window toolbar */ | ||
#toolbar { | |||
height: 22px; | |||
margin-bottom: 6px; | |||
} | |||
/*Кнопки для кратких описаний правок*/ | |||
#userSummaryButtonsA a { | #userSummaryButtonsA a { | ||
white-space:nowrap; | white-space:nowrap; | ||
background: # | background: #D8F5FF; | ||
border: 1px solid # | border: 1px solid #B2DEF8; | ||
padding: 0px 2px; | padding: 0px 2px; | ||
margin: 2px; | margin: 2px; | ||
| Строка 23: | Строка 24: | ||
} | } | ||
. | #userSummaryButtonsA { display: block } | ||
/*NavFrame*/ | |||
div.BoxenVerschmelzen, | |||
div.NavFrame { | |||
margin: 0px; | |||
padding: 2px; | |||
border: 1px solid #aaaaaa; | |||
text-align: center; | |||
border-collapse: collapse; | |||
font-size: 100%; | |||
} | |||
div.BoxenVerschmelzen div.NavFrame { | |||
border-style: none; | |||
border-style: hidden; | |||
} | |||
div.NavFrame + div.NavFrame { | |||
border-top-style: none; | |||
border-top-style: hidden; | |||
} | |||
div.NavPic { | |||
background-color: #ffffff; | |||
margin: 0px; | |||
padding: 2px; | |||
float: left; | |||
} | |||
div.NavFrame div.NavHead { | |||
height: 1.6em; | |||
font-weight: bold; | |||
font-size: 100%; | |||
background-color: #efefef; | |||
} | |||
div.NavFrame p { | |||
font-size: 100%; | |||
} | |||
div.NavFrame div.NavContent { | |||
font-size: 100%; | |||
} | |||
div.NavFrame div.NavContent p { | |||
font-size: 100%; | |||
} | |||
div.NavEnd { | |||
margin: 0px; | |||
padding: 0px; | |||
line-height: 1px; | |||
clear: both; | |||
} | |||
.NavToggle { | |||
font-size: x-small; | |||
float:right; | |||
} | |||
/* Для прозы */ | |||
.indent p {text-indent: 0.7cm; margin-bottom: 0ex; margin-top: 0ex; text-align: justify;} | |||
/* Класс text (из Wikilivres) */ | |||
div.text { | |||
width: 42em; | |||
text-align:justify; | |||
margin:0px auto; | |||
font-family: serif; | |||
font-size: 111%; | |||
} | |||
.text p { | |||
text-indent: 2em; | |||
line-height: normal; | |||
} | |||
.text sup { font-size: 80%; | |||
} | } | ||
. | |||
background: # | .text pre { | ||
border: | background-color: #ffffff; | ||
font-family: serif; | |||
line-height: 150%; | |||
border: 0px; | |||
padding-left: 2em; | |||
margin: 0; | |||
white-space: pre; | |||
} | } | ||
. | |||
/* Дореформенная орѳографія */ | |||
.oldspell {font-family:'Palatino Linotype','Arial Unicode MS';} | |||
/* Шаблон заголовка */ | |||
table.headertemplate {width:30%; margin-bottom:10px; margin-left:10px; margin-top:10px; padding:1em; border:1px solid #ADA; background:#E4F2E4; text-align:left; font-size:0.9em;} | |||
.headertemplate .header_backlink, .headertemplate .header_forelink {width:20%; font-size:0.9em;} | |||
.header_notes {width:100%; border-bottom:1px solid #A88; background:#FAFAFF; font-size:0.9em;} | |||
.headertemplate .header_title {width: 60%; } | |||
.headertemplate .header_backlink {text-align:left; } | |||
.headertemplate .header_forelink {text-align:right; } | |||
body.ns-0 h2, body.ns-0 h3, body.ns-0 h4 {text-align: center} | |||
table.headertemplate2 {width:100%; margin-bottom:5px; border:1px solid #ADA; background:#E4F2E4; text-align:center; font-size:0.9em; margin-top:1em; margin-left:1em; padding:0.5em; } | |||
.headertemplate2 .header_backlink, .headertemplate2 .header_forelink {width:20%; font-size:0.9em;} | |||
.header_notes {width:100%; border-bottom:1px solid #A88; background:#FAFAFF; font-size:0.9em;} | |||
.headertemplate2 .header_title {width: 60%; } | |||
.headertemplate2 .header_backlink {text-align:left; } | |||
.headertemplate2 .header_forelink {text-align:right; } | |||
/* Verse */ | |||
.verse { padding-left: 5em } | |||
.verse pre { | |||
margin: 0; | |||
margin-bottom: 0; | |||
margin-top: 0; | |||
font-size: 100%; | |||
font-family: sans-serif; | |||
border: 0; | |||
color: inherit; | |||
background-color: #ffffff; | |||
line-height: 150%; | |||
} | |||
.verse h2, .verse h3, .verse h4, .verse h5 { | |||
padding-left: 3em; | |||
text-align: left; | |||
padding-bottom: 0; | |||
} | |||
.verse p { | |||
padding-left: 1em; | |||
text-align: left; | |||
} | |||
.messagebox { | |||
border: thin solid #aaaaaa; | |||
background-color: #f9f9f9; | |||
width: 88%; | |||
margin: 0 auto 1em auto; | |||
padding:.4em; | |||
vertical-align: middle; | |||
font-size: 90% | |||
} | } | ||
.messagebox.merge { | |||
border: 1px solid #cf9fff; | |||
background-color: #f5edf5; | |||
text-align: center | |||
} | |||
.messagebox.cleanup { | |||
border: 1px solid #9f9fff; | |||
background-color: #efefff; | |||
text-align: center | |||
} | |||
.messagebox.standard-talk { | |||
border: 1px solid #c0c090; | |||
background-color: #f8eaba | |||
} | |||
.messagebox .floatleft { | |||
vertical-align: middle; | |||
clear: both; | |||
margin: 2px; | |||
padding: 0 | |||
} | |||
.messagebox .image { | |||
margin: 0; | |||
padding: 0 | |||
} | } | ||
/* [[Википедия:Оформление таблиц]] */ | /* [[Википедия:Оформление таблиц]] */ | ||
table.standard, table.wide | table.standard, table.wide | ||
{border:1px solid # | {border:1px solid #AAAAAA; border-collapse: collapse} | ||
table.standard th, table.wide th, table. | table.standard th, table.wide th, table.wikitable th | ||
{border:1px solid # | {border:1px solid #AAAAAA; padding-left:0.2em; padding-right:0.2em; background-color:#EEEEFF} | ||
table.standard td, table.wide | table.standard td, table.wide td | ||
{border: 1px solid # | {border: 1px solid #AAAAAA; padding-left:0.2em; padding-right:0.2em; background-color:#FFFFFF} | ||
table.standard caption, table.wide caption, table.tiles caption | table.standard caption, table.wide caption, table.tiles caption | ||
{font-weight:bold; padding-top: 0.2em; padding-bottom:0.2em} | {font-weight:bold; padding-top: 0.2em; padding-bottom:0.2em} | ||
table.wide {width: 100%} | table.wide {width: 100%} | ||
table.simple {border-color:# | table.simple {border-color:#AAAAAA; border-collapse:collapse} | ||
table.simple th, table.simple td {border-color:# | table.simple th, table.simple td {border-color:#AAAAAA; padding-left:0.2em; padding-right:0.2em} | ||
table.tiles {border-collapse:separate; border-spacing:2px} | table.tiles {border-collapse:separate; border-spacing:2px} | ||
table.tiles th {padding-left:0.2em; padding-right:0.2em; background:# | table.tiles th {padding-left:0.2em; padding-right:0.2em; background-color: #EEEEFF} | ||
table.tiles td {padding-left:0.2em; padding-right:0.2em; background:# | table.tiles td {padding-left:0.2em; padding-right:0.2em; background-color: #F0F0F0} | ||
table.graytable {background:#f0f0f0; padding:1em; width: 100%} | table.graytable {background:#f0f0f0; padding:1em; width: 100%} | ||
table.graytable caption {padding | table.graytable caption {padding:0.5em 0 0 0; background:#f0f0f0; font-size:100%; font-weight:bold} | ||
table.graytable caption span.subcaption {font-size:80%; font-weight:normal} | table.graytable caption span.subcaption {font-size:80%; font-weight:normal} | ||
table.graytable th, table.graytable td {font-size:80%} | table.graytable th, table.graytable td {font-size:80%} | ||
table.wikitable, table.prettytable | |||
{margin:1em 1em 1em 0; background:#F9F9F9; border:1px solid #AAAAAA; border-collapse:collapse} | |||
table.wikitable th, table.wikitable td, | |||
table.prettytable th, table.prettytable td | |||
{border:1px solid #AAAAAA; padding:0.2em} | |||
table.wikitable caption, table.prettytable caption | |||
{margin-left:inherit; margin-right:inherit; font-size:larger; font-weight:bold} | |||
table.prettytable th | |||
{background:#f2f2f2} | |||
tr.highlight th | tr.highlight th {background-color: #EEEEFF} | ||
tr.highlight td | tr.highlight td {background-color: #FFFFEE} | ||
tr. | tr.bright th {background-color: #CCCCFF} | ||
tr. | tr.bright td {background-color: #FFEECC} | ||
tr.shadow th, tr.shadow td {background-color: #F0F0F0} | |||
tr.dark th, tr.dark td {background-color: #CCCCCC} | |||
.transparent {background:transparent | table th.highlight {background-color: #EEEEFF} | ||
table td.highlight {background-color: #FFFFEE} | |||
table th.bright {background-color: #CCCCFF} | |||
table td.bright {background-color: #FFEECC} | |||
table th.shadow, table td.shadow {background-color: #F0F0F0} | |||
table th.dark, table td.dark {background-color: #CCCCCC} | |||
table th.transparent, table td.transparent, .transparent {background-color: transparent} | |||
table.toccolours th {background:# | table.toccolours th {background-color: #ccccff} | ||
/***** | |||
** Bytecounter colours | |||
*****/ | |||
/* {ambox} */ | .mw-plusminus-pos {color:#006400} | ||
.mw-plusminus-neg {color:#8B0000} | |||
/* | |||
* Navigation Tabs | |||
*/ | |||
.navtabs .tabs li { list-style:none; } | |||
.navtabs .tabs a { | |||
text-decoration:none; | |||
text-transform:uppercase; | |||
outline-width:0px; | |||
font-size:x-small; | |||
font-weight:bold; | |||
color:black; | |||
} | |||
.navtabs .tabs .inactive { background:#bbb; padding:1ex; } | |||
.navtabs .tabs .selected { background:#999; padding:1.1ex; } | |||
.navtabs .tabs .inactive:hover { background:#f75; } | |||
.navtabs .contents { padding:1ex; border:3px solid #999; } | |||
.DPLFlat li { | |||
display: inline; | |||
padding-right: 0.5em; | |||
margin-right: 0.5em; | |||
border-right: 1px solid #AAA; | |||
} | |||
.DPLFlat > ul > li { | |||
padding-right:0px; | |||
margin-right:0px; | |||
border-right:0px; | |||
} | |||
.DPLFlat li+li { | |||
padding-left: 0.5em; | |||
margin-left: 0.5em; | |||
border-left:1px solid #aaa; | |||
} | |||
#siteSub { /* "Материал из Викитеки — свободной библиотеки" */ | |||
display: inline; | |||
font-size: 92%; | |||
font-weight: normal; | |||
} | |||
#toc {margin-top: 0.5em} | |||
#ca-edit a {font-weight: bold} /* encourage newcomers */ | |||
/* Hide some stuff on the main page */ | |||
body.page-Заглавная_страница #t-cite, | |||
body.page-Заглавная_страница #lastmod, | |||
body.page-Заглавная_страница #siteSub, | |||
body.page-Заглавная_страница #contentSub, | |||
body.page-Заглавная_страница h1.firstHeading { | |||
display: none !important | |||
} | |||
/* Smaller "Перейти" (Go) button, so buttons fit on one line */ | |||
/*#searchGoButton {padding: 0}*/ | |||
.portlet li { /* slightly different bullet, compat. with li.FA star */ | |||
list-style-image: url('http://upload.wikimedia.org/wikipedia/en/1/18/Monobook-bullet.png') | |||
} | |||
/* Gecko rounded corners */ | |||
.pBody | |||
{ | |||
padding: 0.3em 0.1em; | |||
-moz-border-radius-topright: 0.5em; | |||
} | |||
.portlet h5 | |||
{ | |||
background-color: #e0e3e6; | |||
border: thin solid silver; | |||
-moz-border-radius-topright: 0.5em; | |||
} | |||
#p-cactions ul li, #p-cactions ul li a | |||
{ | |||
-moz-border-radius-topright: 0.5em; | |||
-moz-border-radius-topleft: 0.5em; | |||
} | |||
/* classes for {ambox} */ | |||
table.ambox { | table.ambox { | ||
width: auto; | width: auto; | ||
| Строка 113: | Строка 373: | ||
} | } | ||
table.ambox td.ambox-image div, | table.ambox td.ambox-image div, | ||
table.ambox td.ambox-imageright div {width:52px | table.ambox td.ambox-imageright div { | ||
width:52px /* Фикс для изображений разной ширины */ | |||
} | |||
table.ambox-delete, | table.ambox-delete, | ||
table.ambox-serious { | table.ambox-serious { | ||
| Строка 135: | Строка 397: | ||
table.ambox-merge { | table.ambox-merge { | ||
border-left: 10px solid #9932CC | border-left: 10px solid #9932CC | ||
} | |||
table.ambox-protection { | |||
border-left: 10px solid #BBBBAA | |||
} | } | ||
table.ambox.ambox-mini { | table.ambox.ambox-mini { | ||
| Строка 155: | Строка 420: | ||
vertical-align: middle; | vertical-align: middle; | ||
} | } | ||
.infobox td, .infobox th {vertical-align:top | .infobox td, | ||
.infobox th { | |||
vertical-align: top; | |||
} | |||
.notice { | .notice { | ||
text-align: justify; | text-align: justify; | ||
| Строка 163: | Строка 429: | ||
padding: 0.5em; | padding: 0.5em; | ||
} | } | ||
.Talk-Notice { | |||
border: 1px solid #C0C090; | |||
background-color: #F8EABA; | |||
margin-bottom: 3px; | |||
width: 85%; | |||
border-spacing: 3px; | |||
margin-left: auto; | |||
margin-right: auto | |||
} | |||
.Talk-Notice td {background: inherit} | |||
/* Для корректной работы <nowiki><imagemap></nowiki> */ | |||
/* li div {display:inline;} !important */ | |||
/* FlaggedRevs */ | |||
#mw-revisiontag, #mw-revisiontag-edit, #mw-oldreviewed-notice, li#ca-stable, | |||
.fr-diff-ratings, div.fr-diff-to-stable, ul#pagehistory small {display:none} | |||
.unpatrolled {visibility:hidden} | |||
.flaggedrevs-unreviewed, .flaggedrevs-unreviewed2, .flaggedrevs-color-1 {background-color:transparent} | |||
. | /*Special:Statistics*/ | ||
.statistics-group-import, .statistics-group-transwiki, .statistics-group-developer, | |||
.statistics-group-boardvote, .statistics-group-steward {display:none} | |||
/* Для улучшения отображения верхних и нижних индексов */ | |||
sub, sup { | |||
font-size: 80%; | |||
line-height: 100%; | |||
} | } | ||
/* Для цитат */ | |||
blockquote { | blockquote { | ||
margin:0.7em 0 0.7em 5%; | margin:0.7em 0 0.7em 5%; | ||
padding:0.7em 2% 0.7em 4%; | padding:0.7em 2% 0.7em 4%; | ||
background:#F5F5F5; | background-color:#F5F5F5; | ||
} | } | ||
/* Для сносок */ | |||
ol.references {font-size:100%} | ol.references {font-size:100%} | ||
.references-small {font-size:90%} | .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 | sup.reference:target, ol.references li:target, cite:target {background-color:#DDEEFF} | ||
sup.reference:target {font-weight:bold} | sup.reference:target {font-weight:bold} | ||
/* scrollable references */ | /* scrollable references */ | ||
| Строка 190: | Строка 477: | ||
padding: 3px; | padding: 3px; | ||
} | } | ||
/* fix for line-breaking references */ | /* fix for line-breaking references */ | ||
sup, sub {line-height:1em} | sup, sub {line-height:1em} | ||
/* Убирает отступ первой строки в <poem> */ | |||
div.poem p {text-indent:0em;} | |||
/* | |||
div. | |||
} | |||
/*--------------------------------------------------| | /*--------------------------------------------------| | ||
| Строка 556: | Строка 608: | ||
} | } | ||
#column-content { margin-left: - | <!-- | ||
#column-content #content { margin-left: | #column-content { margin-left: -17em } | ||
#p-logo a, #p-logo a:hover { width: | #column-content | ||
.portlet { width: | #content { margin-left: 17em } | ||
#p-cactions { left: | #p-logo a, | ||
#p-logo a:hover { width: 17em } | |||
.portlet { width: 17em } | |||
#p-cactions { left: 17em } | |||
--> | |||
.portlet h5 { | .portlet h5 { | ||
| Строка 567: | Строка 623: | ||
text-transform: none; | text-transform: none; | ||
} | } | ||
Версия от 22:16, 21 февраля 2012
/* Edit window toolbar */
#toolbar {
height: 22px;
margin-bottom: 6px;
}
/*Кнопки для кратких описаний правок*/
#userSummaryButtonsA a {
white-space:nowrap;
background: #D8F5FF;
border: 1px solid #B2DEF8;
padding: 0px 2px;
margin: 2px;
cursor: pointer;
font-size: 80%;
line-height: 17px;
color: #5B5B5B
}
#userSummaryButtonsA a:hover {
background: #B1EBFF;
border: 1px solid #64BDF0;
color: black;
text-decoration: none
}
#userSummaryButtonsA { display: block }
/*NavFrame*/
div.BoxenVerschmelzen,
div.NavFrame {
margin: 0px;
padding: 2px;
border: 1px solid #aaaaaa;
text-align: center;
border-collapse: collapse;
font-size: 100%;
}
div.BoxenVerschmelzen div.NavFrame {
border-style: none;
border-style: hidden;
}
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavPic {
background-color: #ffffff;
margin: 0px;
padding: 2px;
float: left;
}
div.NavFrame div.NavHead {
height: 1.6em;
font-weight: bold;
font-size: 100%;
background-color: #efefef;
}
div.NavFrame p {
font-size: 100%;
}
div.NavFrame div.NavContent {
font-size: 100%;
}
div.NavFrame div.NavContent p {
font-size: 100%;
}
div.NavEnd {
margin: 0px;
padding: 0px;
line-height: 1px;
clear: both;
}
.NavToggle {
font-size: x-small;
float:right;
}
/* Для прозы */
.indent p {text-indent: 0.7cm; margin-bottom: 0ex; margin-top: 0ex; text-align: justify;}
/* Класс text (из Wikilivres) */
div.text {
width: 42em;
text-align:justify;
margin:0px auto;
font-family: serif;
font-size: 111%;
}
.text p {
text-indent: 2em;
line-height: normal;
}
.text sup { font-size: 80%;
}
.text pre {
background-color: #ffffff;
font-family: serif;
line-height: 150%;
border: 0px;
padding-left: 2em;
margin: 0;
white-space: pre;
}
/* Дореформенная орѳографія */
.oldspell {font-family:'Palatino Linotype','Arial Unicode MS';}
/* Шаблон заголовка */
table.headertemplate {width:30%; margin-bottom:10px; margin-left:10px; margin-top:10px; padding:1em; border:1px solid #ADA; background:#E4F2E4; text-align:left; font-size:0.9em;}
.headertemplate .header_backlink, .headertemplate .header_forelink {width:20%; font-size:0.9em;}
.header_notes {width:100%; border-bottom:1px solid #A88; background:#FAFAFF; font-size:0.9em;}
.headertemplate .header_title {width: 60%; }
.headertemplate .header_backlink {text-align:left; }
.headertemplate .header_forelink {text-align:right; }
body.ns-0 h2, body.ns-0 h3, body.ns-0 h4 {text-align: center}
table.headertemplate2 {width:100%; margin-bottom:5px; border:1px solid #ADA; background:#E4F2E4; text-align:center; font-size:0.9em; margin-top:1em; margin-left:1em; padding:0.5em; }
.headertemplate2 .header_backlink, .headertemplate2 .header_forelink {width:20%; font-size:0.9em;}
.header_notes {width:100%; border-bottom:1px solid #A88; background:#FAFAFF; font-size:0.9em;}
.headertemplate2 .header_title {width: 60%; }
.headertemplate2 .header_backlink {text-align:left; }
.headertemplate2 .header_forelink {text-align:right; }
/* Verse */
.verse { padding-left: 5em }
.verse pre {
margin: 0;
margin-bottom: 0;
margin-top: 0;
font-size: 100%;
font-family: sans-serif;
border: 0;
color: inherit;
background-color: #ffffff;
line-height: 150%;
}
.verse h2, .verse h3, .verse h4, .verse h5 {
padding-left: 3em;
text-align: left;
padding-bottom: 0;
}
.verse p {
padding-left: 1em;
text-align: left;
}
.messagebox {
border: thin solid #aaaaaa;
background-color: #f9f9f9;
width: 88%;
margin: 0 auto 1em auto;
padding:.4em;
vertical-align: middle;
font-size: 90%
}
.messagebox.merge {
border: 1px solid #cf9fff;
background-color: #f5edf5;
text-align: center
}
.messagebox.cleanup {
border: 1px solid #9f9fff;
background-color: #efefff;
text-align: center
}
.messagebox.standard-talk {
border: 1px solid #c0c090;
background-color: #f8eaba
}
.messagebox .floatleft {
vertical-align: middle;
clear: both;
margin: 2px;
padding: 0
}
.messagebox .image {
margin: 0;
padding: 0
}
/* [[Википедия:Оформление таблиц]] */
table.standard, table.wide
{border:1px solid #AAAAAA; border-collapse: collapse}
table.standard th, table.wide th, table.wikitable th
{border:1px solid #AAAAAA; padding-left:0.2em; padding-right:0.2em; background-color:#EEEEFF}
table.standard td, table.wide td
{border: 1px solid #AAAAAA; padding-left:0.2em; padding-right:0.2em; background-color:#FFFFFF}
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:#AAAAAA; border-collapse:collapse}
table.simple th, table.simple td {border-color:#AAAAAA; 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-color: #EEEEFF}
table.tiles td {padding-left:0.2em; padding-right:0.2em; background-color: #F0F0F0}
table.graytable {background:#f0f0f0; padding:1em; width: 100%}
table.graytable caption {padding:0.5em 0 0 0; background:#f0f0f0; font-size:100%; font-weight:bold}
table.graytable caption span.subcaption {font-size:80%; font-weight:normal}
table.graytable th, table.graytable td {font-size:80%}
table.wikitable, table.prettytable
{margin:1em 1em 1em 0; background:#F9F9F9; border:1px solid #AAAAAA; border-collapse:collapse}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td
{border:1px solid #AAAAAA; padding:0.2em}
table.wikitable caption, table.prettytable caption
{margin-left:inherit; margin-right:inherit; font-size:larger; font-weight:bold}
table.prettytable th
{background:#f2f2f2}
tr.highlight th {background-color: #EEEEFF}
tr.highlight td {background-color: #FFFFEE}
tr.bright th {background-color: #CCCCFF}
tr.bright td {background-color: #FFEECC}
tr.shadow th, tr.shadow td {background-color: #F0F0F0}
tr.dark th, tr.dark td {background-color: #CCCCCC}
table th.highlight {background-color: #EEEEFF}
table td.highlight {background-color: #FFFFEE}
table th.bright {background-color: #CCCCFF}
table td.bright {background-color: #FFEECC}
table th.shadow, table td.shadow {background-color: #F0F0F0}
table th.dark, table td.dark {background-color: #CCCCCC}
table th.transparent, table td.transparent, .transparent {background-color: transparent}
table.toccolours th {background-color: #ccccff}
/*****
** Bytecounter colours
*****/
.mw-plusminus-pos {color:#006400}
.mw-plusminus-neg {color:#8B0000}
/*
* Navigation Tabs
*/
.navtabs .tabs li { list-style:none; }
.navtabs .tabs a {
text-decoration:none;
text-transform:uppercase;
outline-width:0px;
font-size:x-small;
font-weight:bold;
color:black;
}
.navtabs .tabs .inactive { background:#bbb; padding:1ex; }
.navtabs .tabs .selected { background:#999; padding:1.1ex; }
.navtabs .tabs .inactive:hover { background:#f75; }
.navtabs .contents { padding:1ex; border:3px solid #999; }
.DPLFlat li {
display: inline;
padding-right: 0.5em;
margin-right: 0.5em;
border-right: 1px solid #AAA;
}
.DPLFlat > ul > li {
padding-right:0px;
margin-right:0px;
border-right:0px;
}
.DPLFlat li+li {
padding-left: 0.5em;
margin-left: 0.5em;
border-left:1px solid #aaa;
}
#siteSub { /* "Материал из Викитеки — свободной библиотеки" */
display: inline;
font-size: 92%;
font-weight: normal;
}
#toc {margin-top: 0.5em}
#ca-edit a {font-weight: bold} /* encourage newcomers */
/* Hide some stuff on the main page */
body.page-Заглавная_страница #t-cite,
body.page-Заглавная_страница #lastmod,
body.page-Заглавная_страница #siteSub,
body.page-Заглавная_страница #contentSub,
body.page-Заглавная_страница h1.firstHeading {
display: none !important
}
/* Smaller "Перейти" (Go) button, so buttons fit on one line */
/*#searchGoButton {padding: 0}*/
.portlet li { /* slightly different bullet, compat. with li.FA star */
list-style-image: url('http://upload.wikimedia.org/wikipedia/en/1/18/Monobook-bullet.png')
}
/* Gecko rounded corners */
.pBody
{
padding: 0.3em 0.1em;
-moz-border-radius-topright: 0.5em;
}
.portlet h5
{
background-color: #e0e3e6;
border: thin solid silver;
-moz-border-radius-topright: 0.5em;
}
#p-cactions ul li, #p-cactions ul li a
{
-moz-border-radius-topright: 0.5em;
-moz-border-radius-topleft: 0.5em;
}
/* classes for {ambox} */
table.ambox {
width: auto;
margin: 0 10%;
border-collapse: collapse;
background: #FBFBFB;
border: 1px solid #AAAAAA;
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 0px 2px 0.5em;
text-align: center;
}
table.ambox td.ambox-imageright {
width: 52px;
padding: 2px 4px 2px 0px;
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-protection {
border-left: 10px solid #BBBBAA
}
table.ambox.ambox-mini {
float: right;
clear: right;
margin: 0 0 0.5em 1em;
width: 20%;
}
.infobox {
border: 1px solid #aaaaaa;
background-color: #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;
}
.notice {
text-align: justify;
margin: 1em 0.5em;
padding: 0.5em;
}
.Talk-Notice {
border: 1px solid #C0C090;
background-color: #F8EABA;
margin-bottom: 3px;
width: 85%;
border-spacing: 3px;
margin-left: auto;
margin-right: auto
}
.Talk-Notice td {background: inherit}
/* Для корректной работы <nowiki><imagemap></nowiki> */
/* li div {display:inline;} !important */
/* FlaggedRevs */
#mw-revisiontag, #mw-revisiontag-edit, #mw-oldreviewed-notice, li#ca-stable,
.fr-diff-ratings, div.fr-diff-to-stable, ul#pagehistory small {display:none}
.unpatrolled {visibility:hidden}
.flaggedrevs-unreviewed, .flaggedrevs-unreviewed2, .flaggedrevs-color-1 {background-color:transparent}
/*Special:Statistics*/
.statistics-group-import, .statistics-group-transwiki, .statistics-group-developer,
.statistics-group-boardvote, .statistics-group-steward {display:none}
/* Для улучшения отображения верхних и нижних индексов */
sub, sup {
font-size: 80%;
line-height: 100%;
}
/* Для цитат */
blockquote {
margin:0.7em 0 0.7em 5%;
padding:0.7em 2% 0.7em 4%;
background-color:#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, cite:target {background-color:#DDEEFF}
sup.reference:target {font-weight:bold}
/* scrollable references */
.references-scroll {
overflow: auto;
padding: 3px;
}
/* fix for line-breaking references */
sup, sub {line-height:1em}
/* Убирает отступ первой строки в <poem> */
div.poem p {text-indent:0em;}
/*--------------------------------------------------|
| dTree 2.05 | www.destroydrop.com/javascript/tree/ |
|---------------------------------------------------|
| Copyright (c) 2002-2003 Geir Landr� |
|--------------------------------------------------*/
.dtree {
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #666;
white-space: nowrap;
width: 100%;
}
.dtree img {
border: 0px;
vertical-align: middle;
}
.dtree a {
color: #333;
text-decoration: none;
}
.dtree a.node, .dtree a.nodeSel {
white-space: nowrap;
padding: 1px 2px 1px 2px;
}
.dtree a.node:hover, .dtree a.nodeSel:hover {
color: #333;
text-decoration: underline;
}
.dtree a.nodeSel {
background-color: #c0d2ec;
}
.dtree .clip {
overflow: hidden;
}
/*
* Dynamic menus
*/
.dmenu { width: 180px }
.dmenu, .dmenu ul { /* all lists */
padding: 0;
margin: 0;
list-style: none;
}
.dmenu .selflink { font-weight: normal; }
.dmenu li { /* all list items */
position: relative;
float: left;
width: 172px;
padding: 4px;
z-index: 100;
}
.dmenu li,
.dmenu li.even a,
.dmenu li.odd a,
.dmenu li li,
.dmenu li li a,
.dmenu li li li,
.dmenu li li li a {
color : black;
}
.dmenu li li { margin: 0; }
.dmenu li ul { /* second-level lists */
position: absolute;
left: -999em;
z-index: 101;
border: 1px solid #ccc;
}
.dmenu li ul ul { /* third-and-above-level lists */
position: absolute;
left: -999em;
margin: 0 0 0 0;
z-index: 102;
}
.dmenu li.odd .submenu {
width: 12px;
height: 15px;
float: right;
background: url(/common/images/rarr-lt.png) 0 3px no-repeat;
}
.dmenu li.even .submenu {
width: 12px;
height: 15px;
float: right;
background: url(/common/images/rarr-dk.png) 0 3px no-repeat;
}
.dmenu li.odd {
background: #E9EDF4;
border: 2px solid #E9EDF4;
}
.dmenu li.even {
background: #D0D8E8;
border: 2px solid #D0D8E8;
}
.dmenu li:hover, .dmenu li.sfhover {
border: 2px solid #385D8A;
}
.dmenu li:hover ul ul,
.dmenu li:hover ul ul ul,
.dmenu li.sfhover ul ul,
.dmenu li.sfhover ul ul ul {
left: -999em;
}
.dmenu li:hover ul,
.dmenu li li:hover ul,
.dmenu li li li:hover ul,
.dmenu li.sfhover ul,
.dmenu li li.sfhover ul,
.dmenu li li li.sfhover ul { /* lists nested under hovered list items */
left: 182px;
top: -3px;
}
<!--
#column-content { margin-left: -17em }
#column-content
#content { margin-left: 17em }
#p-logo a,
#p-logo a:hover { width: 17em }
.portlet { width: 17em }
#p-cactions { left: 17em }
-->
.portlet h5 {
font-size:larger;
font-weight:bold;
text-transform: none;
}