|
|
| Строка 1: |
Строка 1: |
| /* Размещённый здесь CSS будет применяться ко всем темам оформления */ | | /* Размещённый здесь CSS будет применяться ко всем темам оформления */ |
| /* [[Википедия:Оформление таблиц]] */ | | /* [[Википедия:Оформление таблиц]] */ |
| .standard,
| | /* wikitable class for skinning normal tables */ |
| .wide {
| | table.wikitable { |
| /* For align=center tables dont use shorthand margin */
| | margin: 1em 1em 1em 0; |
| margin-top:1em;
| | background: #f9f9f9; |
| margin-bottom:1em;
| | border: 1px #aaa solid; |
| border: 1px solid #a2a9b1;
| | border-collapse: collapse; |
| border-collapse: collapse;
| |
| } | | } |
| | | .wikitable th, .wikitable td { |
| .standard > tr > th,
| | border: 1px #aaa solid; |
| .standard > tr > td,
| | padding: 5px; |
| .standard > * > tr > th,
| |
| .standard > * > tr > td,
| |
| .wide > tr > th, | |
| .wide > tr > td, | |
| .wide > * > tr > th,
| |
| .wide > * > tr > td {
| |
| border: 1px solid #a2a9b1;
| |
| padding: 0.2em 0.4em;
| |
| } | | } |
| | | .wikitable th { |
| .standard > tr > th,
| | background: #f2f2f2; |
| .standard > * > tr > th,
| |
| .wide > tr > th,
| |
| .wide > * > tr > th { | |
| background-color: #eaf3ff;
| |
| } | | } |
| | | .wikitable caption { |
| .standard > caption,
| | font-weight: bold; |
| .wide > caption {
| |
| font-weight: bold;
| |
| }
| |
| | |
| .wide {
| |
| width: 100%;
| |
| }
| |
| | |
| 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: #dcebff;
| |
| }
| |
| tr.highlight td,
| |
| table tr td.highlight {
| |
| background: #ffe;
| |
| font-weight: normal;
| |
| }
| |
| tr.bright th,
| |
| table tr th.bright {
| |
| background: #cfe3ff;
| |
| }
| |
| 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;
| |
| }
| |
| | |
| /* 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 {
| |
| margin: 0 10%; /* 10% = Will not overlap with other elements */
| |
| border: 1px solid #a2a9b1;
| |
| /* @noflip */
| |
| border-left: 10px solid #36c; /* Default "notice" blue */
| |
| background: #fbfbfb;
| |
| }
| |
| table.ambox + table.ambox { /* Single border between stacked boxes. */
| |
| margin-top: -1px;
| |
| }
| |
| .ambox th.mbox-text,
| |
| .ambox td.mbox-text { /* The message body cell(s) */
| |
| padding: 0 0.5em; /* 0.5em left/right */
| |
| }
| |
| .ambox td.mbox-image { /* The left image cell */
| |
| /* @noflip */
| |
| padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
| |
| }
| |
| .ambox td.mbox-imageright { /* The right image cell */
| |
| /* @noflip */
| |
| padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */
| |
| }
| |
| | |
| table.ambox-notice {
| |
| /* @noflip */
| |
| border-left: 10px solid #36c; /* Blue */
| |
| }
| |
| table.ambox-speedy {
| |
| /* @noflip */
| |
| border-left: 10px solid #b22222; /* Red */
| |
| background: #fee7e6; /* Pink */
| |
| }
| |
| table.ambox-delete,
| |
| table.ambox-serious {
| |
| /* @noflip */
| |
| border-left: 10px solid #b22222; /* Red */
| |
| }
| |
| table.ambox-content {
| |
| /* @noflip */
| |
| border-left: 10px solid #f28500; /* Orange */
| |
| }
| |
| table.ambox-style {
| |
| /* @noflip */
| |
| border-left: 10px solid #f4c430; /* Yellow */
| |
| }
| |
| table.ambox-good {
| |
| border-left: 10px solid #66cc44;
| |
| }
| |
| table.ambox-discussion {
| |
| border-left: 10px solid #339966;
| |
| }
| |
| table.ambox-merge {
| |
| border-left: 10px solid #9932cc;
| |
| }
| |
| table.ambox-move {
| |
| /* @noflip */
| |
| border-left: 10px solid #9932cc; /* Purple */
| |
| }
| |
| table.ambox-protection {
| |
| /* @noflip */
| |
| border-left: 10px solid #a2a9b1; /* Gray-gold */
| |
| }
| |
| | |
| /* 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;
| |
| }
| |
| | |
| /* Style for compact ambox */
| |
| /* Hide the images */
| |
| .compact-ambox table .mbox-image,
| |
| .compact-ambox table .mbox-imageright,
| |
| .compact-ambox table .mbox-empty-cell {
| |
| display: none;
| |
| }
| |
| /* Remove borders, backgrounds, padding, etc. */
| |
| .compact-ambox table.ambox {
| |
| border: none;
| |
| border-collapse: collapse;
| |
| background: transparent;
| |
| margin: 0 0 0 1.6em !important;
| |
| padding: 0 !important;
| |
| width: auto;
| |
| display: block;
| |
| }
| |
| body.mediawiki .compact-ambox table.mbox-small-left {
| |
| font-size: 100%;
| |
| width: auto;
| |
| margin: 0;
| |
| }
| |
| /* Style the text cell as a list item and remove its padding */
| |
| .compact-ambox table .mbox-text {
| |
| padding: 0 !important;
| |
| margin: 0 !important;
| |
| }
| |
| .compact-ambox table .mbox-text-span {
| |
| display: list-item;
| |
| line-height: 1.5em;
| |
| list-style-type: square;
| |
| list-style-image: url(/w/skins/MonoBook/bullet.gif);
| |
| }
| |
| .skin-vector .compact-ambox table .mbox-text-span {
| |
| list-style-type: disc;
| |
| list-style-image: url(/w/skins/Vector/images/bullet-icon.svg);
| |
| list-style-image: url(/w/skins/Vector/images/bullet-icon.png)\9;
| |
| }
| |
| /* Allow for hiding text in compact form */
| |
| .compact-ambox .hide-when-compact {
| |
| display: none;
| |
| }
| |
| | |
| /* needs desc */
| |
| | |
| .infobox {
| |
| border: 1px solid #a2a9b1;
| |
| background: #f8f9fa;
| |
| margin-bottom: .5em;
| |
| margin-left: 1em;
| |
| padding: .4em;
| |
| float: right;
| |
| clear: right;
| |
| font-size: 88%;
| |
| width: 23em;
| |
| vertical-align: middle;
| |
| text-align: left;
| |
| line-height: 1.5em;
| |
| border-collapse: separate;
| |
| border-spacing: 2px;
| |
| }
| |
| .infobox > caption {
| |
| font-size: 125%;
| |
| font-weight: bold;
| |
| padding: .2em;
| |
| }
| |
| .infobox td,
| |
| .infobox th {
| |
| vertical-align: top;
| |
| }
| |
| | |
| /* temporarily for [[Template:Карточка]] */
| |
| table.infobox td p {
| |
| margin: 0 !important;
| |
| }
| |
| | |
| /* списки в карточках */
| |
| .infobox th>ul,
| |
| .infobox td>ul,
| |
| .infobox [data-wikidata-property-id]>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%
| |
| }
| |
| .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;
| |
| }
| |
| | |
| blockquote {
| |
| margin: 0.7em 0 0.7em 5%;
| |
| padding: 0.7em 2% 0.7em 4%;
| |
| background: #f8f9fa;
| |
| overflow: hidden;
| |
| }
| |
| | |
| 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: #eaf3ff;
| |
| }
| |
| sup.reference:target {
| |
| font-weight: bold;
| |
| }
| |
| | |
| /* fix for line-breaking references */
| |
| sub,
| |
| sup {
| |
| line-height: 1em;
| |
| }
| |
| | |
| .clickable-image a:hover {
| |
| text-decoration: none;
| |
| }
| |
| | |
| .printonly {
| |
| display: none;
| |
| }
| |
| | |
| .dablink,
| |
| .rellink {
| |
| font-style: italic;
| |
| padding-left: 1.6em;
| |
| }
| |
| | |
| #disambig {
| |
| border-top: 3px double #c8ccd1;
| |
| border-bottom: 3px double #c8ccd1;
| |
| }
| |
| | |
| /*{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;
| |
| }
| |
| | |
| /* {Навигация} */
| |
| 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 #a2a9b1;
| |
| 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: #eaecf0;
| |
| 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;
| |
| margin-right: 3px;
| |
| font-weight: normal;
| |
| font-size: 90%;
| |
| }
| |
| | |
| /* {coord}s */
| |
| #mw-indicator-0-coord + .mw-indicator {
| |
| border-left: 1px solid #A7D7F9;
| |
| margin-left: 0.25em;
| |
| padding-left: 0.5em;
| |
| }
| |
| | |
| .mw-body-content .geo-services {
| |
| font-size: 82%;
| |
| }
| |
| | |
| .geo-services a > span {
| |
| margin: 0.25em;
| |
| }
| |
| .geo-services > :first-child a > span {
| |
| margin-left: 0.4em;
| |
| }
| |
| | |
| .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: #72777d;
| |
| }
| |
| | |
| /* FlaggedRevs */
| |
| /* Скрываем верхнюю таблицу для анонимов и показываем
| |
| для зарегистрированных с помощью [[MediaWiki:Group-user.css]] */
| |
| #mw-fr-revisiontag {
| |
| display: none;
| |
| }
| |
| | |
| .mw-fr-reviewlink,
| |
| .fr-hist-basic-user,
| |
| .fr-hist-basic-auto {
| |
| font-weight: normal;
| |
| font-size: 85%;
| |
| }
| |
| .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.wikibooks.org/"],
| |
| body.ns-4 a.external[href*="//ru.wikibooks.org/"],
| |
| body.ns-104 a.external[href*="//ru.wikibooks.org/"] {
| |
| background: none !important;
| |
| padding-right: 0 !important;
| |
| }
| |
| | |
| | |
| .sitedir-ltr .mw-dismissable-notice-body {
| |
| margin-right: 5em !important; /* was 20% */
| |
| }
| |
| | |
| /* Default style for navigation boxes */
| |
| .navbox { /* Navbox container style */
| |
| box-sizing: border-box;
| |
| border: 1px solid #a2a9b1;
| |
| width: 100%;
| |
| margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */
| |
| clear: both;
| |
| font-size: 88%;
| |
| text-align: center;
| |
| padding: 1px;
| |
| }
| |
| .navbox-inner,
| |
| .navbox-subgroup {
| |
| width: 100%;
| |
| }
| |
| .navbox-group,
| |
| .navbox-title,
| |
| .navbox-abovebelow {
| |
| padding: 0.25em 1em; /* Title, group and above/below styles */
| |
| text-align: center;
| |
| }
| |
| .navbox-title {
| |
| line-height: 1.6em; /* Standard 1.6em for title */
| |
| }
| |
| | |
| /* cell spacing for navbox cells */
| |
| tr + tr > .navbox-abovebelow,
| |
| tr + tr > .navbox-group,
| |
| tr + tr > .navbox-image,
| |
| tr + tr > .navbox-list { /* Borders above 2nd, 3rd, etc. rows */
| |
| border-top: 2px solid #fdfdfd; /* Must match background color */
| |
| }
| |
| | |
| th.navbox-group { /* Group style */
| |
| white-space: nowrap;
| |
| /* @noflip */
| |
| text-align: right;
| |
| }
| |
| .navbox,
| |
| .navbox-subgroup {
| |
| background: #fdfdfd; /* Background color */
| |
| }
| |
| .navbox-list {
| |
| border-color: #fdfdfd; /* Must match background color */
| |
| }
| |
| .navbox th,
| |
| .navbox-title {
| |
| background: #cfe3ff; /* Level 1 color */
| |
| }
| |
| .navbox-abovebelow,
| |
| th.navbox-group,
| |
| .navbox-subgroup .navbox-title {
| |
| background: #dcebff; /* Level 2 color */
| |
| }
| |
| .navbox-subgroup .navbox-group,
| |
| .navbox-subgroup .navbox-abovebelow {
| |
| background: #eaf3ff; /* Level 3 color */
| |
| }
| |
| .navbox-even {
| |
| background: #f7f7f7; /* Even row striping */
| |
| }
| |
| .navbox-odd {
| |
| background: transparent; /* Odd row striping */
| |
| }
| |
| .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 */
| |
| }
| |
| .navbox .navbox {
| |
| margin-top: 0; /* No top margin for nested navboxes */
| |
| }
| |
| .navbox + .navbox {
| |
| margin-top: -1px; /* Single pixel border between adjacent navboxes */
| |
| }
| |
| | |
| /* Default styling for Navbar template */
| |
| .navbar {
| |
| display: inline;
| |
| font-size: x-small;
| |
| font-weight: normal;
| |
| }
| |
| .navbar ul {
| |
| display: inline;
| |
| white-space: nowrap;
| |
| }
| |
| .mw-body-content .navbar ul {
| |
| line-height: inherit;
| |
| }
| |
| .navbar.mini {
| |
| word-spacing: -0.1em;
| |
| }
| |
| .navbar.mini span abbr[title] {
| |
| border-bottom: none;
| |
| text-decoration: none;
| |
| cursor: inherit;
| |
| }
| |
| | |
| /* 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: 5em;
| |
| }
| |
| | |
| /* Кнопки [показать]/[скрыть], создаваемые динамически функцией collapsibleTables()
| |
| в [[MediaWiki:Common.js]] */
| |
| .collapseButton {
| |
| /* @noflip */
| |
| float: right;
| |
| font-weight: normal;
| |
| /* @noflip */
| |
| margin-left: 0.5em;
| |
| /* @noflip */
| |
| text-align: right;
| |
| width: auto;
| |
| }
| |
| | |
| | |
| /* Неразрывные пробелы в горизонтальных списках */
| |
| .nowrap,
| |
| .nowraplinks a,
| |
| .nowraplinks .selflink,
| |
| .hlist-items-nowrap dd,
| |
| .hlist-items-nowrap dt,
| |
| .hlist-items-nowrap li {
| |
| white-space: nowrap;
| |
| }
| |
| | |
| /* Но где-то неразрывность надо сбросить (например, в навшаблонах в узких местах) */
| |
| .wrap,
| |
| .wraplinks a,
| |
| .hlist-items-nowrap dl dl, .hlist-items-nowrap dl ol, .hlist-items-nowrap dl ul, /* Allow nested lists to wrap anyway */
| |
| .hlist-items-nowrap ol dl, .hlist-items-nowrap ol ol, .hlist-items-nowrap ol ul,
| |
| .hlist-items-nowrap ul dl, .hlist-items-nowrap ul ol, .hlist-items-nowrap ul ul {
| |
| white-space: normal;
| |
| }
| |
| | |
| /* 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,
| |
| .ve-active .ve-hide,
| |
| .ve-show {
| |
| display: none;
| |
| }
| |
| | |
| .ve-active div.ve-show,
| |
| .ve-active p.ve-show {
| |
| display: block;
| |
| }
| |
| | |
| .ve-active span.ve-show,
| |
| .ve-active small.ve-show {
| |
| display: inline;
| |
| }
| |
| | |
| .ve-active li.ve-show {
| |
| display: list-item;
| |
| }
| |
| | |
| /* Ряд исправлений для режима галереи slideshow */
| |
| .ruwiki-slideshow ul.gallery .mw-gallery-slideshow-buttons {
| |
| padding:0 0 1em;
| |
| }
| |
| | |
| .ruwiki-slideshow .mw-gallery-slideshow-buttons::after {
| |
| clear:both;
| |
| content:'';
| |
| display:block;
| |
| }
| |
| | |
| .ruwiki-slideshow ul.gallery .mw-gallery-slideshow-buttons > div > .oo-ui-buttonElement {
| |
| margin:0 0.5em;
| |
| }
| |
| | |
| .ruwiki-slideshow .mw-gallery-slideshow-buttons > div > .oo-ui-buttonElement:nth-child(2) {
| |
| display:none;
| |
| }
| |
| | |
| .ruwiki-slideshow .oo-ui-panelLayout-scrollable {
| |
| /* Для Firefox */
| |
| overflow:hidden;
| |
| }
| |
| | |
| .ruwiki-slideshow .mw-gallery-slideshow-caption,
| |
| .ruwiki-slideshow .gallerytext p {
| |
| margin-bottom:0;
| |
| }
| |
| | |
| .ruwiki-slideshow .gallerytext {
| |
| padding-bottom:0; padding-top:0;
| |
| text-align:left;
| |
| }
| |
| | |
| /* Reset top margin for lists embedded in columns */
| |
| div.columns {
| |
| margin-top: 0.3em;
| |
| }
| |
| div.columns dl,
| |
| div.columns ol,
| |
| div.columns ul {
| |
| margin-top: 0;
| |
| }
| |
| | |
| /* Avoid elements from breaking between columns */
| |
| .nocolbreak,
| |
| div.columns li,
| |
| div.columns dd dd {
| |
| -webkit-column-break-inside: avoid;
| |
| page-break-inside: avoid;
| |
| break-inside: avoid-column;
| |
| } | | } |