MediaWiki:Common.css: различия между версиями
Материал из Metrostroi
Курритто (обсуждение | вклад) |
Курритто (обсуждение | вклад) |
||
(не показаны 4 промежуточные версии этого же участника) | |||
Строка 125: | Строка 125: | ||
.new { | .new { | ||
color: #b22222 !important; /* Red color of redlinks */ | color: #b22222 !important; /* Red color of redlinks */ | ||
+ | } | ||
+ | |||
+ | div#footer ul li { | ||
+ | color: #616a71; | ||
+ | } | ||
+ | |||
+ | .infobox { | ||
+ | border: 1px solid #a2a9b1; | ||
+ | background: #2e485a; | ||
+ | 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:not(.noplainlist) > ul, | ||
+ | .infobox td:not(.noplainlist) > ul, | ||
+ | .infobox [data-wikidata-property-id] > ul { | ||
+ | list-style-type: none; | ||
+ | list-style-image: none; | ||
+ | margin: 0; | ||
+ | } | ||
+ | .infobox .noplainlist > ul:first-child { | ||
+ | margin-top: 0; | ||
+ | } | ||
+ | .infobox th > ol, | ||
+ | .infobox td > ol, | ||
+ | .infobox [data-wikidata-property-id] > ol { | ||
+ | margin: 0 0 0 2em; | ||
+ | } | ||
+ | .infobox th > dl, | ||
+ | .infobox td > dl, | ||
+ | .infobox [data-wikidata-property-id] > dl { | ||
+ | margin: 0; | ||
+ | } | ||
+ | .infobox li, | ||
+ | .infobox dt, | ||
+ | .infobox dd { | ||
+ | margin-bottom: 0; | ||
+ | } | ||
+ | .infobox th>ol.references, | ||
+ | .infobox td>ol.references { | ||
+ | line-height: 1.25em; | ||
+ | } | ||
+ | |||
+ | .editOptions { | ||
+ | color: #b5b5b5; | ||
} | } |
Текущая версия на 18:31, 19 июня 2019
/* Ambox styling */ table.ambox { margin: 0px 10%; /* 10% = Will not overlap with other elements */ border: 1px solid #9999CC; background: #fbfbfb; } table.ambox + table.ambox { /* Single border between stacked boxes. */ margin-top: -1px; } .ambox th.ambox-text, .ambox td.ambox-text { /* The message body cell(s) */ padding: 0.25em 0.5em; /* 0.5em left/right */ } .ambox td.ambox-image { /* The left image cell */ padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */ } .ambox td.ambox-image2 { /* The right image cell */ padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */ } /* Colours */ table.ambox-notice, td.ambox-notice { border-left: 10px solid #1e90ff; /* Blue */ } table.ambox-notice-2, td.ambox-notice-2 { border-left: 10px solid #3f6180; /* Dark Blue */ } table.ambox-delete, table.ambox-serious { background: #fee; /* Pink */ border: 1px solid #BB7070; color: #892e2e; } td.ambox-delete, td.ambox-serious { border-left: 10px solid #b22222; /* Red */ color: #892e2e; } table.ambox-content, td.ambox-content { border-left: 10px solid #f28500; /* Orange */ } table.ambox-style, td.ambox-style { border-left: 10px solid #ffcc00; /* Yellow */ } table.ambox-images, td.ambox-images { border-left: 10px solid #000000; /* Black */ } table.ambox-protection, td.ambox-protection { border-left: 10px solid #bba; /* Gray-gold */ } table.ambox-good, td.ambox-good { border-left: 10px solid #73D216; /* Green */ } th.ambox-text, td.ambox-text { /* The message body cell(s) */ border: none; padding: 0.25em 0.9em; /* 0.9em left/right */ width: 100%; /* Make all mboxes the same width regardless of text length */ } td.ambox-image { /* The left image cell */ border: none; padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */ text-align: center; } td.ambox-image2 { /* The right image cell */ border: none; padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */ text-align: center; } td.ambox-empty-cell { /* An empty narrow cell */ border: none; padding: 0px; width: 1px; } .mp-content-table { width: 100%; background: #FEFEFF; /* Body background color */ border: 1px solid #9999CC; /* Main border color */ margin: 0.5em 0; } .mp-content-header { font-size: 140%; padding: 0.5em 0; background: #C0DFFF; /* Header background color */ border: none; border-bottom: 1px solid #9999CC; /* Main border color */ } .mp-content-body { padding: 0.5em; color: #b9b7b5; } /* Don't wordwrap top links on main page */ .mp-content-table ul > li a.external.text, .mp-content-table ul > li > b > a { white-space: nowrap; } .mp-sectionblock { background: url(http://i2.theportalwiki.net/img/3/35/Main_Page_gradient.png) repeat-x bottom; } .mp-content-header-alt, .mp-title-gradient { background: url(http://i2.theportalwiki.net/img/9/95/Main_page_header_gradient.png) repeat-x; } .mp-content-header-alt { font-size: 140%; font-weight: bold; border: none; border-bottom: 1px solid #9999CC; /* Main border color */ text-align: left; color: #000; padding: 0.5em; padding-left: 0.75em; margin: -0.5em -0.5em 0px; } .new { color: #b22222 !important; /* Red color of redlinks */ } div#footer ul li { color: #616a71; } .infobox { border: 1px solid #a2a9b1; background: #2e485a; 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:not(.noplainlist) > ul, .infobox td:not(.noplainlist) > ul, .infobox [data-wikidata-property-id] > ul { list-style-type: none; list-style-image: none; margin: 0; } .infobox .noplainlist > ul:first-child { margin-top: 0; } .infobox th > ol, .infobox td > ol, .infobox [data-wikidata-property-id] > ol { margin: 0 0 0 2em; } .infobox th > dl, .infobox td > dl, .infobox [data-wikidata-property-id] > dl { margin: 0; } .infobox li, .infobox dt, .infobox dd { margin-bottom: 0; } .infobox th>ol.references, .infobox td>ol.references { line-height: 1.25em; } .editOptions { color: #b5b5b5; }