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

Материал из История Вологдов
Строка 127: Строка 127:
  
  
  @media only screen and (max-width: 839px)  
+
  @media only screen and (max-width: 1000px)  
 
{
 
{
 
   .mw-body {margin-left: 0px;}
 
   .mw-body {margin-left: 0px;}
Строка 136: Строка 136:
  
  
  @media only screen and (max-width: 700px)  
+
  @media only screen and (max-width: 1000px)  
 
{
 
{
 
   #center-column-index {margin-bottom: 5px;margin-top: 55px;}
 
   #center-column-index {margin-bottom: 5px;margin-top: 55px;}

Версия 10:46, 31 марта 2016

/* Размещённый здесь CSS будет применяться к векторной теме оформления  */

body {

background-color: #ffffff;
font-family: 'Exo 2', sans-serif;
font-size: 17px;

}

div#mw-head {

background-color: #ffffff;

}

.mw-body {

border-bottom: #ffffff;
border-top: #ffffff;

}

div#mw-panel {

top: 50px;

}

div#footer #footer-icons {

display: none;

}

#p-logo {

top: -60px;
height: 90px;
font-family: 'Exo 2', sans-serif;

}

#mw-head-base {

background-color: #ffffff;

}

#mw-page-base {

background-color: #ffffff;
background-image: linear-gradient(rgb(255, 255, 255) 50%, rgb(255, 255, 255) 100%);

}


div#mw-panel div.portal div.body {

margin-left: 7px;

}


#siteSub { display: inline; font-size: 92%; font-weight: normal }


body.page-Заглавная_страница #siteSub,
body.page-Заглавная_страница #contentSub,
body.page-Заглавная_страница h1.firstHeading,
body.page-Заглавная_страница #toc,
body.page-Заглавная_страница .toc,
body.page-Заглавная_страница div#footer #footer-info-lastmod
{display:none !important}

.mw-body h1 {

font-size: 140%;
font-family: 'Exo 2', sans-serif;

}

.mw-body h2 {

font-family: 'Exo 2', sans-serif;
font-size: 21px;

}


div#mw-panel #p-logo + div.portal {

margin-top: 25px;

}


.mw-body #toc h2, .mw-body .toc h2 {

font-family: 'Exo 2', sans-serif;

}



#left-column-index {

width:48%; float: left; text-align:left;

}


#right-column-index {

width:48%; float: right; text-align:left;

}



 @media only screen and (max-width: 1000px) 
{
   #left-column-index {width:100%;}
   #right-column-index {width:100%; float: left;}
   
}


 @media only screen and (max-width: 1000px) 
{
   .mw-body {margin-left: 0px;}
   #left-navigation {margin-left: 25px;}
   div#mw-panel {display: none;}
   
}


 @media only screen and (max-width: 1000px) 
{
   #center-column-index {margin-bottom: 5px;margin-top: 55px;}
   div#footer {margin-left: 25px;}
   #right-navigation {margin-left: 25px;margin-top: 42px;float: left;}
   #p-personal ul {padding-left: 0px;}
   #p-personal {left: 10px;}

   
}