MediaWiki:Common.css: различия между версиями
Материал из История Вологдов
| Строка 123: | Строка 123: | ||
#left-column-index {width:100%;} | #left-column-index {width:100%;} | ||
#right-column-index {width:100%; float: left;} | #right-column-index {width:100%; float: left;} | ||
| + | |||
| + | } | ||
| + | |||
| + | |||
| + | @media only screen and (max-width: 839px) | ||
| + | { | ||
| + | .mw-body {margin-left: 0px;} | ||
| + | #left-navigation {margin-left: 25px;} | ||
| + | div#mw-panel {display: none;} | ||
} | } | ||
Версия 10:23, 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: 839px)
{
.mw-body {margin-left: 0px;}
#left-navigation {margin-left: 25px;}
div#mw-panel {display: none;}
}