Добро пожаловать на Леста Игры Wiki!

MediaWiki:Common.css — различия между версиями

Перейти к: навигация, поиск
Версия 18:45, 24 октября 2012Версия 19:34, 24 октября 2012
ф
Строка 319:Строка 319:
 /* rotator */ /* rotator */
 .rotator {display: none;} .rotator {display: none;}
 +.plugin_rotator {
 + position: relative;
 + overflow: hidden;
 + min-width: 100px;
 + min-height: 30px;
 + background: #F9F9F9;
 +}
 +.plugin_rotator .loader {
 + position: absolute;
 + top: 0px; bottom: 0px;
 + left: 0px; right: 0px;
 + text-align: center;
 + z-index: 20;
 + background: #F9F9F9;
 + line-height: 30px;
 + border: 1px solid #AAAAAA;
 +}
 +.plugin_rotator .loader.loadButton {
 + background: #F9F9F9;
 + cursor: pointer;
 +}
 +.plugin_rotator .subRotator {
 + position: absolute;
 + top: 0px; bottom: 0px;
 + left: 0px; right: 0px;
 + background-position: center center;
 + background-repeat: no-repeat;
 + cursor: e-resize;
 +}
  
  

Версия 19:34, 24 октября 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}

table.wide
 {border:1px solid #000000; border-collapse: collapse}
table.wide th, table.wikitable th
 {border:1px solid #000000; padding-left:0.2em; padding-right:0.2em; height: 13px;}
table.wide td
 {border: 1px solid #000000; padding-left:0.2em; padding-right:0.2em; height: 13px;}
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; }

/* Мини-панель навыков */
.skillsPanelMini {height:47px; background-color:rgba(25,24,23,.2); display:inline-block; padding:3px 4px; overflow:hidden; vertical-align:top; }
.skillsPanelMini .skillsСolumn {height:43px; display:inline-block; margin:0px; padding:2px 0px; overflow:hidden; vertical-align:top; text-align:left;}
.skillsPanelMini .skillsСolumn:not(:first-child) {margin:0px 0px 0px 6px;}
.skillsPanelMini .skillsСolumn .skillsLine {height:22px; line-height:22px; overflow:hidden; vertical-align:middle;}
.skillsPanelMini .skillsСolumn .skillsLine img {vertical-align:bottom;}
.skillsPanelMini .skillsСolumn .skillsLine img:first-child {margin:0px 2px 0px 0px;}
/* Боекомплект */
.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;}

/* Таблица уровней боёв */

#balansTbl { line-height: 100%; }
#balansTbl tr { height: 17px; }
#balansTbl tr:first-child { height: 24px; }

/* Переключатель */
.switcher {display: inline-block;}
.switcherInner {/*text-align:center;*/}
.switcherFrame {overflow:hidden; padding:0px; margin:0px; background-image:url("https://wiki.worldoftanks.ru/uploads/e/e3/None.png"); background-repeat:repeat; background-position:0% 0%;}
.thumbinner .switcherFrame {text-align:center; background-position:50% 0%; background-repeat:no-repeat}
.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;}
/* Доп. стили */
.text-left .switcherFrame {text-align: left;} .text-center .switcherFrame {text-align: center;}
.text-right .switcherFrame {text-align: right;} .text-justify .switcherFrame {text-align: justify;}
.buttons-left .switcherControl {text-align: left;} .buttons-center .switcherControl {text-align: center;}
.buttons-right .switcherControl {text-align: right;} .buttons-justify .switcherControl {text-align: justify;}
/* .topTabs */
.switcher.topTabs .switcherInner .switcherWrap .switcherFrame {background:#F9F9F9; padding:5px 7px;}
.switcher.topTabs .switcherInner .switcherWrap .switcherControl .switcherControlButton {border-top-left-radius:7px; border-top-right-radius:7px; background:url("https://lh3.googleusercontent.com/-IVgNx_DiCcU/UGAvJseEbkI/AAAAAAAAAQs/rPiKAC7CFBM/s800/lines-left-3.png") #C4C0B1; padding:3px 9px; font-size:12px; color:#205165;}
.switcher.topTabs .switcherInner .switcherWrap .switcherControl .switcherControlButton.active {background: #F9F9F9; color: #306D87;}
.switcher.topTabs .switcherInner .switcherWrap .switcherControl .switcherControlButton.active:hover {background: #F9F9F9;}
.switcher.topTabs .switcherInner .switcherWrap .switcherControl .switcherControlButton:hover {background:url("https://lh3.googleusercontent.com/-IVgNx_DiCcU/UGAvJseEbkI/AAAAAAAAAQs/rPiKAC7CFBM/s800/lines-left-3.png") #D8D5C7;}


/* 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; }

/* Подсветка списка модулей */
#modulesBlock table table tr:hover {background:#DDDDDD;}

/* rotator */
.rotator {display: none;}
.plugin_rotator {
  position: relative;
  overflow: hidden;
  min-width: 100px;
  min-height: 30px;
  background: #F9F9F9;
}
.plugin_rotator .loader {
  position: absolute;
  top: 0px; bottom: 0px;
  left: 0px; right: 0px;
  text-align: center;
  z-index: 20;
  background: #F9F9F9;
  line-height: 30px;
  border: 1px solid #AAAAAA;
}
.plugin_rotator .loader.loadButton {
  background: #F9F9F9; 
  cursor: pointer;
}
.plugin_rotator .subRotator {
  position: absolute;
  top: 0px; bottom: 0px;
  left: 0px; right: 0px;
  background-position: center center;
  background-repeat: no-repeat;
  cursor: e-resize; 
}


/* Общее */
.clear {clear: both;}
.hidden {display: none;}
.wot-panel .editsection {display: none;}