MediaWiki:Common.css

Материал из Ботвапедии
Перейти к: навигация, поиск

Замечание. Возможно, после сохранения вам придётся очистить кэш своего браузера, чтобы увидеть изменения.

  • Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl-F5 или Ctrl-R (⌘-R на Mac)
  • Google Chrome: Нажмите Ctrl-Shift-R (⌘-Shift-R на Mac)
  • Internet Explorer: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl-F5
  • Opera: Перейдите в Menu → Настройки (Opera → Настройки на Mac), а затем Безопасность → Очистить историю посещений → Кэшированные изображения и файлы
/*test style */

.title {
width: 700px;
height: 38px;
position: absolute;
top: 10px;
right: 10px;
display: block;
text-align: center;
color: #836b50;
font-weight: bold;
font-size: 11px;
text-transform: uppercase;
line-height: 38px;
overflow: hidden;
background-color: #f5ebd3;
border-radius: 3px 3px 0 0;
border-bottom: 1px solid #ddcdb8;
}

.thankyou {
background-position: -300px -900px;
}

.top-2 {
top: -2px;
}

.relative {
position: relative !important;
}

.inlineb {
display: inline-block;
}

.ico_clan_level {
background-position: -280px -660px;
width: 17px;
height: 20px;
width: 20px;
height: 20px;
}


.icon, .iconsp, .gray_popup {
width: 18px;
height: 18px;
}

.icon, .iconsp, .icon_post, .icon_pack *, .icon12, .icon2, .iconsp20, .blue_popup, .gray_popup, .reload, .ico_bonus_pet .b_bonus, .server_1, .server_2, .server_3, .server_4, .server_t, .ico_bday_letter, .slide_down_button, .pandora .up div, .pandora .down div, .arrow-left, .arrow-right, .player_avatar .rating > b.icon, .prof_levelup, .mine_dec div, .mine_inc div, .new_slider .smith_min, .new_slider .smith_max, .slide_block_click .slide_block_icon, .controls .prev, .controls .next, .refer_add, .t_log, .box_x_button {
display: inline-block;
background-image: url(https://i.botva.ru/i/ico.png);
background-repeat: no-repeat;
vertical-align: middle;
background-color: transparent;
}

.profile_hud {
margin: 1px 5px 1px 28px;
height: 10px;
text-align: center;
background: #e9dcc9;
background: #EADEC9;
position: relative;
border: 1px solid #9C8164;
border: 1px solid #904928;
border-radius: 2px;
}

.w200 {
width: 200px !important;
}

.mr-2 {
margin-right: -2px !important;
}

.ml3 {
margin-left: 3px !important;
}
.mb-2 {
margin-bottom: -2px !important;
}
.inlineb {
display: inline-block;
}

.profile_hud div:first-child {
height: 10px;
top: 0px;
left: 0px;
position: relative;
background: url(https://i.botva.ru/images/m/profile/bars.png) repeat 0 -110px;
z-index: 4;
float: left;
}

.profile_hud .value1 {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
opacity: 0.7;
color: #000;
text-shadow: none;
display: block;
text-align: center;
}

.profile_hud div + div {
top: 0;
bottom: 0;
left: 0;
right: 0;
font-size: 10px;
line-height: 100%;
position: absolute;
z-index: 5;
color: #fff;
text-shadow: 0px 0px 3px #000;
}

.profile_hud .value1 span {
background: #fff;
background: rgba(255,255,255,0.7);
display: inline-block;
padding: 0 3px;
border-radius: 3px;
position: relative;
}


/* CSS @Invisible_man*/
 

table.collapsed tr.collapsible {
 display: none;
}
 
.collapseButton { 
 cursor: pointer;
}

h1 { /* Заголовок 1 */
 color: #8D673A; /*Цвет*/
 text-shadow: 0 0 5px #CDAA80, 0 0 10px #CDAA80, 
		     0 0 20px #CDAA80, 0 0 30px #CDAA80,
		     0 0 40px #CDAA80; /* Расплывающаяся тень */
}

h2 { 
 color: #8D673A; 
 text-shadow: 0 0 2px #CDAA80, 0 0 5px #CDAA80,
		     0 0 10px #CDAA80, 0 0 15px #CDAA80,
		     0 0 20px #CDAA80;
}



h3 { 
 color: #8D673A; 
 text-shadow: 0 0 1px #CDAA80, 0 0 2px #CDAA80,
		     0 0 5px #CDAA80, 0 0 7px #CDAA80,
		     0 0 10px #CDAA80;
}

h4 { 
 color: #8D673A; 
 text-shadow: 0 0 1px #CDAA80, 0 0 1px #CDAA80,
		     0 0 2px #CDAA80, 0 0 3px #CDAA80,
		     0 0 5px #CDAA80;
}

h5 { 
 color: #8D673A; 
 text-shadow: 0 0 1px #CDAA80, 0 0 1px #CDAA80,
		     0 0 1px #CDAA80, 0 0 2px #CDAA80,
		     0 0 3px #CDAA80;
}


/* Верхрнее меню */ 

.addthis_toolbox { 
 position: absolute; /*Фиксированно на экране*/
 z-index: 1000; /*Окошко всегда будет на переднем плане*/
 top: 2px; /*Отступы*/
 left: 15%;
 padding: 5px; 
 width: 600px; 
 height: 90px;
 opacity: 0.8; /*Прозрачность*/
 filter:progid:DXImageTransform.Microsoft.Alpha(opacity=80); /*IE 5.5+*/
 -moz-opacity: 0.8; /* Mozilla 1.6 и ниже */
 html-opacity: 0.8; /* Konqueror 3.1, Safari 1.1 */
 background-image: url(https://wiki.botva.ru/images/4/43/Fon_2.png); /*Фон*/
 background-position: 0px 0px;
 background-size: 600px;
 background-repeat: no-repeat;
} 

.addthis_toolbox .custom_images a { 
 width: 32px; 
 height: 32px; 
 cursor: pointer; 
} 

.addthis_toolbox .custom_images 
a img { 
    border: 0; 
	margin: 2px 0; 
	opacity: 0.6; 
}
 
.addthis_toolbox .custom_images 
a:hover img { 
	margin: 2px 0; 
	opacity: 1.0; 
}


/*Меню*/

/*************************** Основные пункты */
#mainmenu{
    position:relative;
    height:47px;
    width:100%;
    z-index:10; 
    text-align:left;
    color: #8D673A; 
    text-shadow: 0 0 2px #CDAA80, 0 0 5px #CDAA80,
       0 0 10px #CDAA80, 0 0 15px #CDAA80,
       0 0 20px #CDAA80;
}

#mainmenu ul, /* сбрасываем поля и отступы у списков */
#mainmenu ul ul {
    color: #8D673A;
    list-style:none;
    padding:0;
    margin:0;
    vertical-align:middle;
    font-size: 20px;
    font-weight: bold;
}

#mainmenu ul {    
color: #8D673A;
    clear:left;
    position:relative;
    right:50%;
    height:20px;
    float:right;
    text-align:center;
    font:16px Arial, Helvetica, sans-serif;  
    vertical-align:middle;
    font-weight: bold;

}
#mainmenu ul li {
   
    position:relative;
    left:50%;
    float:left;
    height:47px;
    padding:0;
    margin:0;
    vertical-align:middle;
    font-weight: bold;
    opacity: 1.0;
}

#mainmenu ul li:last-child {
    border:none;
    box-shadow:none;
    position: relative;
}    
#mainmenu ul li a {
    display:block;
    color: #8D673A;
    text-decoration: none;
    padding:13px 20px;
}
#mainmenu ul li a:hover {
    opacity: 0.8;
    border:0px solid #8D653A;
    position:relative;
    border-radius: 6px;
    -moz-border-radius: 8px;
    -o-border-radius: 8px;
    -webkit-border-radius: 8px;
    -ms-border-radius: 8px;     


}
#mainmenu ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    margin: 0;
}
 
/*************************** Выпадающие подпункты */
#mainmenu ul li ul {
    background: #F4DDB3; 
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.3);
    opacity: 0.9;
    text-transform:none;
    opacity: 0;
    visibility: hidden;
    position:absolute;
    left:0;
    top:48px;
    font-size:12px;
    height:auto;
    width:150px;
    z-index: 1;
}

#mainmenu ul li ul li {
    border:none;
    position:relative;
    left:0;
    float:none;
    height:auto;
    margin:0;
    text-align:left !important;
}
#mainmenu ul li ul li:last-child {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
#mainmenu ul li ul li a {
    padding:10px 8px;
    border:none;
}
 
/*************************** Выпадающие пункты второго уровня */
#mainmenu ul li ul li ul {
    top: 0;
    left: 150px;
    margin: 0 0 0 40px;
    _margin: 0; /*IE6 only*/
    box-shadow: -1px 0 0 rgba(255,255,255,.3);
    -moz-box-shadow: -1px 0 0 rgba(255,255,255,.3);
    -o-box-shadow: -1px 0 0 rgba(255,255,255,.3);
    -ms-box-shadow: -1px 0 0 rgba(255,255,255,.3);
    -webkit-box-shadow: -1px 0 0 rgba(255,255,255,.3);    
}
 
/*********************** Стрелочки на подпунктах */
#mainmenu ul ul li:first-child > a {
    border-radius: 3px 3px 0 0;
    -moz-border-radius: 3px 3px 0 0;
    -o-border-radius: 3px 3px 0 0;
    -ms-border-radius: 3px 3px 0 0;
    -webkit-border-radius: 3px 3px 0 0;    
}
#mainmenu ul ul li:first-child > a:after {
    content: '';
    position: absolute;
    left: 40px;
    top: -6px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #8D653A;
}
#mainmenu ul ul ul li:first-child a:after {
    left: -6px;
    top: 50%;
    margin-top: -6px;
    border-left: 0;    
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    border-right: 6px solid #3b3b3b;
}
#mainmenu ul ul li:first-child a:hover:after {
	border-bottom-color: #8D653A;
}
 
#mainmenu ul ul ul li:first-child a:hover:after {
    border-right-color: #0299d3; 
    border-bottom-color: transparent;     
}
#mainmenu ul ul li:last-child > a {
    -moz-border-radius: 0 0 3px 3px;
    -webkit-border-radius: 0 0 3px 3px;
    border-radius: 0 0 3px 3px;
}


/*Внимание!!!!!*/

.warning-box
{
	background-image: url(https://wiki.botva.ru/images/9/91/Cmd_foul1.png); /* Путь к фоновому изображению */
        background-color: rgb(244, 221, 179); /* Цвет фона */
    background-position: 15px 5px;
    background-repeat: no-repeat;
	border: 1px #CDAA80 solid;
	padding: 6px;
	text-align: left;
      -moz-border-radius: 9px;
      -webkit-border-radius: 9px;
       border-radius: 9px;
}

.warning-box h3 { 
color: #AB230D;
text-shadow: 0 0 1px #CDAA80, 0 0 2px #CDAA80, 0 0 5px #CDAA80, 0 0 7px #CDAA80, 0 0 10px #CDAA80;
padding-left: 50px;
}

.warning-box p
{
padding: 0px;
margin: 0px;
margin-left: 5px;
}

/*popup*/

A#menu_green_extra{
    width:190px !important;
    height:100px !important;
    position:absolute;
    margin-top:40px;
    display:block;
}
#menu_green_extra:hover{
    background-position: 0 -100px;
}

.item_buy_green_extra{
    width:504px !important;
    height:65px !important;
    margin-bottom: 15px;
    margin-top: 15px;
    display:block;
}


.popup_item .text{
	padding:10px;
/*	border: 1px solid #7b5a34;*/
}

span.broun { color: #542F1B; font-weight: bold }

span#s106 {
	display: block;
	width: 230px;
	height: 40px;
	z-index: 1000;
	position: absolute;
	top: 113px;
	left: 25px;
}


.dashed {
	text-decoration: none !important;
	border-bottom: 1px dashed #542F1B;
	color:#542F1B;
	cursor: pointer;
}

.mm0 {margin: 0}

.row_1 {
	background: url(/i/global/bg_10.png) left top repeat !important;
}

.row_2 {
	background: url(/i/global/bg_09.png) left top repeat;
}

.row_11 {
	background-color: #F7F7F7;
}
.groupTitle {
	background: none repeat scroll 0 0 #E2D1B3;
	height: 30px;
	line-height: 30px;
	text-align: center;
	vertical-align: middle;
	color:#542F1B;
	font-size: 12px;
	font-weight: bold;
}

.slider_max		{
	background:  url(/i/ico_smithy.png) no-repeat;
	background-position: 0px 0px;
	width: 18px;
	height: 18px;
	display: inline-block;
	text-decoration: none;
	position: relative;
	top: 2px;
	cursor: default;
}

.slider_max	{	background-position:	0px		-92px;		}
.slider_max:hover	{	background-position:	-18px	-92px;		}
.slider_max:active	{	background-position:	-36px	-92px;		}

.black {
	color:black;
}

#battle_log .gray {
	color:#cccccc;
}

#battle_log .notice {
	color: #777777;
}

#small_popup	 {
	width: 160px;
	height: 40px;
	display: block;
	position: absolute;
	z-index: 1001;
	background-image: url(/images/m/spopup/bg_popup_s.png);
	line-height: 20px;
}

#small_popup .title, #small_popup .text {
	width: 160px !important;
	padding: 0px;
	text-align: center;
	background: none;
}

#small_popup .title {
	min-height: 13px;
	margin-top: -2px;
	font-weight: normal !important;
	background: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

#small_popup .text {
	min-height: 25px;
	margin-top: 0px;
}


#small_popup.small_popupLong	 {
    height: auto;
    min-height: 40px;
    background: #e2d4b8;
    border: 1px solid #8a6b47;
    border-radius: 3px;
    padding-bottom:10px;
    width: 230px;
    opacity: 0.95;
}

#small_popup.small_popupLong HR {
    border-top:1px solid #cebc9f;
    padding:0;
}
#small_popup.small_popupLong .text {
    width: 230px !important;
}

#small_popup.small_popupLong .title {
    background: #d7b890;
    margin-top: 0px;
    width: 230px !important;

    border-bottom: 1px solid #8a6b47;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
 }
 
 .arrow {
	width: 72px;
	height: 70px;
	position: absolute;
	z-index: 10002;
    border-radius: 3px;
}

.arrow.arrow2 {
	width: 32px;
	height: 30px;
	position: absolute;
	z-index: 10002;
}

.arrow .body {
	width: 70px;
	height: 70px;
	background-image: url(/images/m/tutorial/arrows.png);
	background-position: -70px 0px;
}

.arrow .body.right {
	background-position: 0px 0px;
}

.arrow .body.bottom {
	background-position: 0px -70px;
	height: 55px;
}

.arrow .body.top {
	background-position: -70px -70px;
	height: 55px;
}

.arrow .body.left2,
.arrow .body.right2,
.arrow .body.top2,
.arrow .body.bottom2 {
	width: 30px;
	height: 30px;
	background-image: url(/images/m/tutorial/arrows2.png);
	background-position: -30px 0px;
}

.arrow .body.right2 {
	background-position: 0px 0px;
}

.arrow .body.bottom2 {
	background-position: 0px -30px;
	height: 30px;
}

.arrow .body.top2 {
	background-position: -30px -30px;
	height: 30px;
}

#trainer {
	display: block;
	width: 190px;
	height: 200px;
	margin-top: 20px;
	margin-left: -10px;
	text-align: center;
	position: relative;
}

#trainer:hover {
	background-position: 0px -200px;
}

#trainer #clicker {
	width: 190px;
	height: 200px;
	position: absolute;
	top: 0;
	left: 0;
	cursor: pointer;
}

#trainer.compact {
	height: 100px;
}
#trainer.compact2 {
	height: 100px;
}

#trainer.compact:hover {
	background-position: 0px -100px;
}

#trainer.compact #clicker {
	height: 100px;
}

#trainer #text {
	font-size: 12px;
	width: 190px;
	position: absolute;
	top: 135px;
	left: 10px;
	font-weight: bold;
}

#trainer #speech {
	z-index: 10003;
	display: block;
	width: 590px;
	height: 300px;
	margin-top: -60px;
	margin-left: -50px;
	text-align: center;
	position: absolute;
	left: 220px;
	top: -200px;
	background-image: url(/images/m/tutorial/bg_captain.png);
}

#trainer #speech #data {
	width: 489px;
	height: 300px;
	position: absolute;
	top: 57px;
	left: 68px;
	font-size: 12px;
}

#trainer #speech #data p + p {
/*	text-indent: 1.5em;*/
}

#trainer #speech #data p {
	text-align: left;
	line-height: 150%;
	padding-bottom: 10px;
}

#trainer #speech #data a {
	font-weight: bold;
}

#trainer #speech #data b {
/*	font-size: 13px;*/
	text-transform: uppercase;
	white-space: nowrap;
}
#trainer #speech #accept, #trainer #speech #next {
/*	width: 170px;*/
	height: 30px;
	display: block;
	line-height: 30px;
	position: absolute;
	top: 220px;
	left: 216px;
}

#trainer #speech #accept.cmd_row2, #trainer #speech #next.cmd_row2 {
	left: 180px;
}

#trainer #close {
	position: absolute;
	top: 31px;
	left: 535px;
}

#trainer #cancel {
	position: absolute;
	top: 258px;
	left: 412px;
	text-decoration: underline;
	cursor: pointer;
}

#trainer #cancel:hover {

}

.inputGroup {margin-bottom:10px; line-height: 120%}
.inputGroup .grbody,
.inputSmallOpenable .grbody,
.inputSmall .grbody {background-color: #E3D4B7; padding: 10px; min-height: 14px; border-radius: 3px}
.inputTitle > .title DIV,
.inputShown .title DIV,
.inputSmallOpenable .grtop,
.inputShownImage DIV.title_shown,
.inputShownImage DIV.title_hidden {min-height: 30px; background-color: #dbcbad; line-height: 30px; margin-bottom: 1px; padding-left: 10px; padding-right: 10px; position: relative; text-align: center; font-weight: bold; font-size: 11px; text-transform: uppercase; color: #73503a; border-radius: 3px}
.inputShown .title DIV {cursor: pointer}
.inputShown .title_shown > DIV:before,
.inputShown .title_hidden > DIV:before,
.inputShownImage DIV.title_hidden DIV.button:before,
.inputShownImage DIV.title_shown DIV.button:before,
.inputSmallOpenable .title:before {content: ""; width: 13px; height: 13px; position: absolute; display: block; background-image: url(/i/ico.png); top: 7px; left: 7px; opacity: 0.5}
.inputShown .title_shown > DIV:before,
.bshown .inputSmallOpenable .title:before {background-position: -240px -980px !important}
.inputShown .title_hidden > DIV:before,
.inputShownImage DIV.title_shown DIV.button:before,
.inputSmallOpenable .title:before {background-position: 0 -1000px !important}
.inputShown .title_shown:hover DIV:before,
.inputShownImage DIV.title_hidden:hover DIV:before,
.inputShownImage DIV.title_shown:hover DIV:before,
.inputShownImage DIV.title_shown2:hover DIV:before,
.inputShown .title_hidden:hover DIV:before {opacity: 1}
.inputShown .shown {display: block}
.inputShown DIV.hidden {display: none}
.inputSmallOpenable .title:before {left: auto; right: 7px; z-index: 100}
.inputShownImage DIV.title_shown DIV.button:before,
.bshown .inputSmallOpenable .title:before {background-position: -240px -980px !important; top: 8px; -webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); -o-transform: rotate(0deg); filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0); -ms-transform: rotate(0deg)}
.bhidden .inputSmallOpenable .title:before,
.inputShownImage DIV.button:before {background-position: 0 -1000px !important; top: -18px; -webkit-transform: rotate(180deg); -moz-transform: rotate(180deg); -o-transform: rotate(180deg); filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1.5); -ms-transform: rotate(180deg)}
.inputGroup .title table {height: 26px; border-collapse: collapse}
.inputGroup .title table td {height: 26px; padding: 0}