Версия 09:16, 27 августа 2012 | | Версия 14:38, 27 августа 2012 |
Строка 244: | | Строка 244: |
| | | | |
| /* Переключатель */ | | | /* Переключатель */ |
| | + | .switcher {display: inline-block;} |
| | + | .switcherInner {} |
| | + | .switcherFrame {text-align:center; overflow:hidden; padding: 0px; margin: 0px;} |
| | + | .switcherFrame .subSwitcher {display: none; padding: 0px; margin: 0px;} |
| | + | .switcherFrame .subSwitcherBackground {display: none;} |
| | + | .switcherControl {} |
| | + | .switcherControlButton {display:inline-block; padding:1px 4px 0px 4px; margin:0px; font-size:10px; cursor:pointer; color:#1F698B;} |
| | + | .switcherControlButton:hover {color: #2A94C5;} |
| | + | .switcherControlButton.active {background: #1F698B; color: #D1F1FF;} |
| | + | |
| | + | /* Старый переключатель */ |
| .oldsw.switcher {margin: 7px 3px;} | | | .oldsw.switcher {margin: 7px 3px;} |
| .oldsw .switcherFrame {text-align:center; overflow:hidden;} | | | .oldsw .switcherFrame {text-align:center; overflow:hidden;} |
Строка 257: | | Строка 268: |
| .oldsw.switcher.border {background: #F9F9F9; border: 1px solid #CCCCCC; padding: 3px;} | | | .oldsw.switcher.border {background: #F9F9F9; border: 1px solid #CCCCCC; padding: 3px;} |
| .oldsw.switcher.border .switcherFrame {border: 1px solid #CCCCCC;} | | | .oldsw.switcher.border .switcherFrame {border: 1px solid #CCCCCC;} |
| | + | |
| | | | |
| /* diff */ | | | /* diff */ |
Версия 14:38, 27 августа 2012
/** Размещённый здесь CSS будет применяться ко всем темам оформления */
a, #content a.external, #content a.extiw, #content a.extiw:active {
color: #002BB8;
}
a:visited, a.external:visited, div#content a.external:visited {
color: #516a75;
}
div.thumb {
border-color: #E6E5E0;
}
div.vectorTabs li a, div.vectorTabs li a span {
color: #1F698B;
}
.Summary {
background-color: #EEEEFF;
margin-right: 0;
min-height: 120px;
color: #222222;
font-family: Georgia,serif;
font-size: 110%;
}
.wot-panel {
padding: 8px 10px;
border: 1px solid #AAAAAA;
margin-bottom: 1em;
clear: left;
overflow-x:auto;
position:relative;
}
.wot-panel h2, .wot-panel h3 {
color: #41342B;
}
.mw-specialpagerestricted strong {
font-weight: bold;
}
.shadow1 {
text-shadow: 1px 1px 1px #000000;
}
.OFHidden {overflow:hidden;zoom:1;}
.enum li:before {content: "— ";}
.enum li {list-style: none;}
.levelico {
color: #41342B;
font-weight: bold;
position:absolute;
top:6px;
left:16px;
}
.levelico1 {
color: #FFFFFF;
font-weight: bold;
position:absolute;
top:5px;
left:15px;
}
.modules {background-color:#F9F9F9;}
.modules table tr:nth-child(2n) {background: #F3F3F3;}
.modules h2 {color:#41342B;}
.modules th {color:#41342B; border-bottom:1px dotted #AAAAAA; vertical-align:top; font-size:80%; line-height:130%;}
.modules .measure {color:gray;font-weight:normal;}
.modules td {text-align: center;}
.modules hr {margin: 0.8em 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}
table.standard caption, table.wide caption, table.tiles caption
{padding-top: 0.2em; padding-bottom:0.2em}
/* Don't display some stuff on the main page */
body.page-Заглавная_страница #deleteconfirm,
body.page-Заглавная_страница #t-cite,
body.page-Заглавная_страница #footer-info-lastmod,
body.page-Заглавная_страница #siteSub,
body.page-Заглавная_страница #contentSub,
body.page-Заглавная_страница h1.firstHeading {
display: none !important;
}
.TankPerformance {
background-color: #F9F9F9;
border: 1px solid #AAAAAA;
clear: right;
float: right;
font-size: 88%;
margin: 0 0 0.5em 1em;
max-width: 232px;
padding: 3px;
z-index:2;
}
.TankPerformance h3{
background-color: #C4C0B1;
color: #41342B;
margin: 0;
padding: 0;
text-align: center;
}
.TankPerformance th {
text-align: left;
background-color: #E6E5E0;
color: #41342B;
padding: 0px 3px;
}
.TankPerformance td {
padding: 0px 3px;
}
.TankPerformance table {
border-spacing: 3px;
}
.TankPerformance th.center {
width: 100%;
text-align: center;
}
th.group {
background-color: #C4C0B1;
}
.ratinggrid {background: url(/uploads/6/60/Grid.png) no-repeat scroll top left;}
/* правим глюки верстки */
#mw-panel div.portal div.body ul li a {
color: #002BB8;
}
#mw-panel div.portal div.body ul li a:visited {
color: #516a75;
}
#p-personal {
right: 0;
padding: 0 0.75em 3px 3px;
}
.mw-content-ltr dd, .mw-content-rtl .mw-content-ltr dd {
margin-left: 1.5em;
margin-right: 0;
}
#header-attract {
right: 12px;
top: 37px;
}
#mw-panel {width: 170px;}
#content, #footer {margin-left: 170px;}
div.vectorTabs li.new a, div.vectorTabs li.new a:visited {
color: #BA0000;
}
#dropDownBox dt {margin-top:0;padding:0px 5px 0 0;float:left;clear:left;}
#dropDownBox dd {margin-top:0;padding:0px 0 0 0;margin-left:140px;}
.moduleBox {
background: url(/uploads/6/6b/MNZ5.png) no-repeat scroll top left;
height: 47px; width: 47px; position: relative; float:left;margin: 0px 2px;
}
.moduleBox img {margin:2px 0 0 2px;}
.moduleBox span {position: absolute; color: #bebebe; font-size: 10px;}
.moduleBox .shellCount {bottom: 0px; right: 4px;}
.moduleBox .shellType {top: 0px; left: 4px;}
/**
* Styling for links generated by [[MediaWiki:Edittools]]
* @source www.mediawiki.org/wiki/Extension:CharInsert#Styling
* @updated 2012-02-29
*/
.mw-charinsert-buttons {
margin-top: 10px;
/* border: 1px solid #aaaaaa;
padding: 1px;
text-align: center;
font-size: 110%;*/
}
.mw-charinsert-buttons a {
color: black;
/* background-color: #cde !important;
font-weight: bold;*/
/* font-size: .9em;*/
text-decoration: underline;
/* border: thin #069 outset;
padding: 0 .1em .1em;*/
}
.mw-charinsert-buttons a:hover,
.mw-charinsert-buttons a:active {
/* background-color: #bcd;
border-style: inset;*/
color: #5D5D5D;
}
.client-js .mw-edittools-section {
display: inline;
}
.client-js .mw-edittools-section input[type="button"] {
font-size: 0.9em;
padding-left: 1px;
padding-right: 1px;
margin-left: 1px;
}
/* Панель скилов */
.skillsPanel {position:relative; background: #FFFFFF; float: right; padding: 25px 12px 12px 12px; margin: 7px 0px 7px 7px; border: 1px solid #C0C0C0; border-radius: 7px; overflow: hidden;}
.skillsPanel .count {position: absolute; top: 12px; left: 12px; right: 12px; height: 10px; padding: 0px 0px 3px 0px; line-height: 12px; overflow: hidden;}
.skillsPanel .count>div {float: left; width: 30px; height: 14px; text-align: center; font-size: 10px; overflow: hidden;}
.skillsPanel .skill {width: 100%; height: 30px; overflow: hidden;}
.skillsPanel .skill:nth-child(even) {background: #EAEAEA;}
.skillsPanel .skill:nth-child(odd) {background: #FFFFFF;}
.skillsPanel .skill>div {float: left; width: 30px; height: 30px; overflow: hidden;}
.skillsPanel .skill>div:first-child {border-right: 1px solid #C0C0C0; }
/* Боекомплект */
.shells.closed { padding-top: 3px; height: 15px; overflow: hidden; }
/* Попвверх */
#popupImageWindow {z-index:80; position:fixed; top:0px; left:0px; right:0px; bottom:0px; background:rgba(0,0,0,0.8); display:none; overflow:hidden;}
#popupImageWindow table {width:100%; height:100%; text-align:center; vertical-align:middle; background-position:center center; background-repeat:no-repeat;}
#popupImageWindow #popupImage {z-index:82; background:#F9F9F9;}
#popupImageButtons {z-index:84; position:fixed; top:10px; right:10px; background:#F9F9F9; padding:5px; display:none;}
#popupImageWindow #popupImageInfo {padding:7px; background:#F9F9F9; display:block;}
#popupImageWindow #popupImageWrapper {display:inline-block; padding:10px; background:#F9F9F9; box-shadow:0px 0px 20px 2px #000000;}
/* Уровни боёв */
.battleBalanceLine {width:100%; border-collapse:collapse; text-align:center; font-size:9px;}
.battleBalanceLine tr td {width: 16px;}
.battleBalanceLine tr td.active {background: #8CCDFF;}
/* Переключатель */
.switcher {display: inline-block;}
.switcherInner {}
.switcherFrame {text-align:center; overflow:hidden; padding: 0px; margin: 0px;}
.switcherFrame .subSwitcher {display: none; padding: 0px; margin: 0px;}
.switcherFrame .subSwitcherBackground {display: none;}
.switcherControl {}
.switcherControlButton {display:inline-block; padding:1px 4px 0px 4px; margin:0px; font-size:10px; cursor:pointer; color:#1F698B;}
.switcherControlButton:hover {color: #2A94C5;}
.switcherControlButton.active {background: #1F698B; color: #D1F1FF;}
/* Старый переключатель */
.oldsw.switcher {margin: 7px 3px;}
.oldsw .switcherFrame {text-align:center; overflow:hidden;}
.oldsw .switcherFrame .subSwitcher {position:absolute; overflow:hidden; z-index:3;}
.oldsw .switcherFrame .subSwitcherBackground {position:absolute; overflow: hidden; z-index:2;}
.oldsw .switcherControl {text-align:left;}
.oldsw .switcherControl.right {text-align:right;}
.oldsw .switcherControl.center {text-align:center;}
.oldsw .switcherControlButton {display:inline-block; padding:1px 4px 0px 4px; margin:0px; font-size:10px; cursor:pointer; color:#1F698B;}
.oldsw .switcherControlButton:hover {color: #2A94C5;}
.oldsw .switcherControlButton.active {background: #1F698B; color: #D1F1FF;}
/*Доп офрмление переключателя*/
.oldsw.switcher.border {background: #F9F9F9; border: 1px solid #CCCCCC; padding: 3px;}
.oldsw.switcher.border .switcherFrame {border: 1px solid #CCCCCC;}
/* diff */
.diff-deletedline .diffchange {
padding: 0px 1px;
background: #a0fca0;
}
.diff-addedline .diffchange {
padding: 0px 1px;
background: #F5FF2E;
}
/* Улучшенная панель редактирования */
.improved#editPanel {
position:fixed;
bottom:0px;
right:10px;
background:#FFFFFF;
z-index:9001;
overflow:hidden;
padding:10px;
border-top:10px solid #EABB01;
border-bottom:10px solid #EABB01;
box-shadow:0px 0px 5px #262626;
}
.templatesUsed ul.improved {column-width:300px;}
.improved#editPanel .editOptions { padding:7px 0px 0px 0px; }
/* Общее */
.clear {clear: both;}
.hidden {display: none;}