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), а затем Безопасность → Очистить историю посещений → Кэшированные изображения и файлы
/* отодвигаем боковое мению для отображения кнопок соц сетей */
#mw-panel {
   padding-left: 0.7em;
}

/* отодвигаем статьи справа, чтобы текст не перекрывался кнопками панели */
.mw-body {
	margin-right: 1.7em;
}

/**
 * Slide panel with 2 buttons
 */

div.slideTab {
	color: white;
	float: right;
	margin: 3px 0;
	padding: 0px;
	background: #164EAF;
 	display: block;	 
	cursor:pointer;	
	border: 2px solid #fff;	
	border-right: 0;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	border-radius: 5px 0 0 5px;
	box-shadow: 0px 1px 5px 0px #000;
	filter: progid:DXImageTransform.Microsoft.DropShadow(sProperties);
	-webkit-box-shadow: 0px 1px 5px 0px #000;
	-moz-box-shadow: 0px 1px 5px 0px #000;
}

.info_but:before{
    content:url('http://playground.sysadminwiki.ru/w/skins/Vector/pm_add/info.png');
}

.info_but_pressed:before{
    content:url('http://playground.sysadminwiki.ru/w/skins/Vector/pm_add/info_pressed.png');
}

.toc_but:before{
    content:url('http://playground.sysadminwiki.ru/w/skins/Vector/pm_add/toc.png');
}

.toc_but_pressed:before{
    content:url('http://playground.sysadminwiki.ru/w/skins/Vector/pm_add/toc_pressed.png');
}

div.slideTab2 {
	color: white;
	float: right;
	margin: 3px 0;
	padding: 0px;
	background: green;
 	display: block;	 
	cursor:pointer;	
	border: 2px solid #fff;	
	border-right: 0;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	border-radius: 5px 0 0 5px;
	box-shadow: 0px 1px 5px 0px #000;
	filter: progid:DXImageTransform.Microsoft.DropShadow(sProperties);
	-webkit-box-shadow: 0px 1px 5px 0px #000;
	-moz-box-shadow: 0px 1px 5px 0px #000;
}

div.slideContent {
	position: relative;
	overflow: hidden;
	height: 100%;
	background: transparent;
	background: #fff;
	border: 0 solid #000;
	float:right;
	width: 100%;
	margin-left: 10px;	
}

table.slideTable {        
	background: #164eaf;
	border: 1px solid black;
	margin: 0 0 0 0px;
	padding: 3px 3px 3px 3px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	width: 100%;
}
 
table.slideTable tr {
    background: #fff;
	position: relative
}
 
table.slideTable td {
	padding: 5px;
    vertical-align: top !important;
    max-height:500px;
}
 
table.slideTable th {
	background: #164eaf;
	border: 0px;
	padding: 5px;
	font-size: 120%;
	font-weight: bold;
	font-family: Trebuchet MS, Helvetica, Arial, sans-serif;
	color: white;
    vertical-align: top !important;
}

table.slideTable th a {
	color: #fff;
}

.sticky { /* -pm-используется в функции js*/
    position: fixed;
    top: 0px;
    z-index: 101;    
}

.common {
    display: inline;
    position: relative;
    float: right;
    left:30px;
    margin: -17px;
}

.block1 {
    float: right;
    width:50px
}

.block2 {
    float: right;    
}
/* end of slide panel with 2 buttons*/

/* -------------------------------------------- */
/* -pm- Go top button*/

div.go_top: before {
    content:url('http://playground.sysadminwiki.ru/w/skins/Vector/pm_add/up.png');
} 

div.go_top: hover: before {
    content:url('http://playground.sysadminwiki.ru/w/skins/Vector/pm_add/up_over.png');
} 
div.go_top {
	    /*content:url('http://playground.sysadminwiki.ru/w/skins/Vector/pm_add/up.png');*/
	    cursor:pointer;
        position: fixed;
        z-index: 1;
        top: 183px;
        /*right: 5px;*/
        left: 158px;
        /*border: 3px solid grey;*/
        border-radius: 12px 12px 7px 7px;
        /*box-shadow: 0 0 10px rgba(0,0,0,0.5);*/
        color: grey;
        font-style: bold;
        text-shadow: 3px 3px 3px grey;
        font-size: 120%;
        text-decoration: none;
}

div.go_down: before {
	    content:url('http://playground.sysadminwiki.ru/w/skins/Vector/pm_add/down.png');
}
div.go_down: hover: before  {
	    content:url('http://playground.sysadminwiki.ru/w/skins/Vector/pm_add/down_over.png');
}

div.go_down:hover {
	    content:url('http://playground.sysadminwiki.ru/w/skins/Vector/pm_add/down_over.png');
}

div.go_down {
	    /*content:url('http://playground.sysadminwiki.ru/w/skins/Vector/pm_add/down.png');*/
	    cursor:pointer;
        position: fixed;
        z-index: 1;
        top: 225px;
        /*right: 5px;*/
        left: 158px;
        /*border: 3px solid grey;*/
        border-radius: 7px 7px 12px 12px;
        /*box-shadow: 0 0 10px rgba(0,0,0,0.5);*/
        color: grey;
        font-style: bold;
        text-shadow: 3px 3px 3px grey;
        font-size: 120%;
        text-decoration: none;
}
/* -pm- Go down button*/

/* ---Содержание-------------------------------------*/
/* Убираем номер пункта в содержании */
.tocnumber { display: none; }

/* Убираем слово "Содержание" и ссылку "убрать/показать" */
#blockb #toctitle { display: none; }
/*.toctoggle { display: none; }*/

/* Свои символы перед пунктами в содержании*/
.toctext {
	display: inherit;
}
.toc li.toclevel-2 {
     list-style: none; /* Убираем исходные маркеры */ 
   }
.toc li.toclevel-2: before{
	display: inline;
	content: "•";  /* добавляем свой */
}
.toc li.toclevel-3:before{
	content: "°";
}

.right_block_test {
  width:29%;
}

@media screen and (max-width: 1300px) {
  .right_block_test {
  width:100%;
  }

}