Строка 1: |
Строка 1: |
| /* Размещённый здесь CSS будет применяться ко всем темам оформления */ | | /* Размещённый здесь CSS будет применяться ко всем темам оформления */ |
| | | |
− | #t-recentchangeslinked,
| + | /* Общие классы */ |
− | #t-print, | + | .inline-block { |
− | #t-permalink, | + | display:inline-block; |
− | #footer-info-copyright, | + | } |
− | #footer-places, | + | .serif { |
− | #footer-poweredbyico { | + | font-family: 'Linux Libertine','Georgia','Times',serif; |
| + | } |
| + | |
| + | /* Логотип */ |
| + | #p-logo a { |
| + | background-size:135px; |
| + | } |
| + | |
| + | /* Лишние ссылки в меню инструментов */ |
| + | #t-permalink { |
| + | display:none; |
| + | } |
| + | |
| + | /* Список всех страниц */ |
| + | .mw-allpages-body { |
| + | columns: unset; |
| + | -moz-columns: unset; |
| + | -webkit-columns: unset; |
| + | } |
| + | |
| + | /* Цитата */ |
| + | blockquote { |
| + | border-left: 4px solid #e0e0e0; |
| + | padding: 3px 15px; |
| + | background: #f5f5f5; |
| + | margin: 0.7em 0 0.7em 2%; |
| + | } |
| + | |
| + | /* Встраивание видео */ |
| + | .embedvideo-thumb, |
| + | .embedvideo-description { |
| + | background:#000; |
| + | color:#000; |
| + | } |
| + | .embedvideo-thumb { |
| + | margin-bottom:.5em; |
| + | } |
| + | .embedvideo-inline { |
| + | display:inline-block; |
| + | vertical-align:top; |
| + | } |
| + | .embedvideo-width-full { |
| + | width:560px; |
| + | } |
| + | .embedvideo-height-full { |
| + | height:315px; |
| + | } |
| + | .embedvideo-width-half { |
| + | width:280px; |
| + | } |
| + | .embedvideo-height-half { |
| + | height:158px; |
| + | } |
| + | .embedvideo-center { |
| + | margin-left:auto; |
| + | margin-right:auto; |
| + | } |
| + | .embedvideo-right { |
| + | clear:right; |
| + | float:right; |
| + | margin-left:.5em; |
| + | } |
| + | .embedvideo-left { |
| + | clear:left; |
| + | float:left; |
| + | margin-right:.5em; |
| + | } |
| + | |
| + | /* Примечания */ |
| + | .mw-parser-output > .mw-references-wrap:before { |
| + | content: "Примечания"; |
| + | } |
| + | .mw-parser-output > .mw-references-wrap::before { |
| + | font-size: 1.5em; |
| + | margin-top: 1em; |
| + | border-bottom: 1px solid #a2a9b1; |
| + | display: block; |
| + | font-family: 'Linux Libertine','Georgia','Times',serif; |
| + | line-height: 1.3; |
| + | } |
| + | |
| + | /* Подвал */ |
| + | #footer #footer-icons { |
| + | float: unset; |
| + | } |
| + | .footer-extra { |
| + | display:inline-block; |
| + | margin-bottom: 5px; |
| + | } |
| + | .footer-link { |
| + | position: relative; |
| + | top: 6px; |
| + | } |
| + | #footer ul li.ya-share2__item { |
| + | margin: -6px 4px 0px 0px; |
| + | } |
| + | |
| + | /* Главная страница */ |
| + | .page-Вики-КОБ_Приветствие #firstHeading { |
| display:none; | | display:none; |
| } | | } |
| | | |
− | ul.mw-allpages-chunk li {
| + | /* Плитки */ |
− | border:none; | + | .tile { |
− | display:list-item; | + | padding: 0.5rem 1.5rem; |
− | margin: 0 0 0 3.2em; | + | margin: 0 0 0.5rem 0; |
− | padding:0.1em 0; | + | border: 1px solid #c8ccd1; |
− | width:inherit; | + | border-radius: 2px; |
| + | box-shadow: 0 1px 1px rgba(0,0,0,.15); |
| + | } |
| + | .tile-header { |
| + | margin: 0.15rem 0 0.25rem 0; |
| + | } |
| + | .big-tile { |
| + | padding: 1.5rem; |
| + | margin: 0 0 1.5rem 0; |
| + | } |
| + | .main-tile { |
| + | padding: 2rem 1.5rem; |
| + | margin: -1rem 0 1.5rem 0; |
| + | background-color: #f8f9fa; |
| + | } |
| + | .main-tile-header { |
| + | font-size: 1.8em; |
| + | line-height: 1.3; |
| + | } |
| + | .tile-buttons-wrapper { |
| + | padding: 0 1.5rem 1.5rem 1.5rem; |
| + | } |
| + | .tile-button { |
| + | display: inline-block; |
| + | margin: 1.5rem 1.5rem 0 0; |
| + | } |
| + | .tile-button a { |
| + | background-color: #f8f9fa; |
| + | color: #222; |
| + | border-color: #a2a9b1; |
| + | padding-top: 0.57142857em; |
| + | padding-bottom: 0.5em; |
| + | border-style: solid; |
| + | border-width: 1px; |
| + | border-radius: 2px; |
| + | padding-left: 0.85714286em; |
| + | padding-right: 0.85714286em; |
| + | position: relative; |
| + | font-weight: bold; |
| + | text-decoration: none; |
| + | vertical-align: top; |
| + | text-align: center; |
| + | cursor: pointer; |
| + | display: inline-block; |
| + | } |
| + | .tile-button a:hover { |
| + | background-color: #ffffff; |
| + | color: #444444; |
| + | border-color: #a2a9b1; |
| + | } |
| + | .tile-button a:active { |
| + | background-color: #c8ccd1; |
| + | color: #000000; |
| + | border-color: #72777d; |
| + | box-shadow: none; |
| + | } |
| + | .mw-body-content .tile h2 { |
| + | margin-top: unset; |
| + | } |
| + | .tile-column { |
| + | display: inline-block; |
| + | vertical-align: top; |
| + | } |
| + | @media only screen and (min-width: 1000px) { |
| + | .tile-column { |
| + | width: calc(50% - 12px); |
| + | } |
| + | } |
| + | .tile-column-left { |
| + | margin-right:20px; |
| + | } |
| + | .background-blue { |
| + | background-color: #f0f8fe; |
| + | } |
| + | .background-red { |
| + | background-color: #fff8f8; |
| + | } |
| + | .background-yellow { |
| + | background-color: #fffff4; |
| + | } |
| + | .background-green { |
| + | background-color: #f6fff6; |
| + | } |
| + | |
| + | /* Оглавление */ |
| + | .toc { |
| + | padding: 14px 21px 9px 14px; |
| + | border-left: 4px solid #a2a9b1; |
| + | border-right: unset; |
| + | border-top: unset; |
| + | border-bottom: unset; |
| + | font-size: unset; |
| + | } |
| + | .toc .toctitle { |
| + | text-align: left; |
| } | | } |
| | | |
− | #p-logo a { | + | /* Site Notice |
− | background-size:135px; | + | #siteNotice { |
| + | border: 1px solid #c8ccd1; |
| + | border-radius: 2px; |
| + | box-shadow: 0 1px 1px rgba(0,0,0,.15); |
| + | margin: 0 0 1rem 0; |
| + | background-color: #f0f8fe; |
| + | font-size: 0.875em; |
| + | padding: 0.5rem 0rem; |
| + | } |
| + | #siteNotice #localNotice, |
| + | #siteNotice p { |
| + | margin: 0; |
| + | } |
| + | .page-Вики-КОБ_Приветствие #siteNotice { |
| + | margin: 0 0 2.5rem 0; |
| + | } */ |
| + | |
| + | /* Кнопки социальных сетей */ |
| + | .ya-share2 { |
| + | margin: 2em 0 1em 0; |
| + | } |
| + | |
| + | /* Реклама */ |
| + | .footer-ad > div, |
| + | .footer-ad > yatag { |
| + | padding: 5px !important; |
| + | background-color: #ecf4f9 !important; |
| + | border: 1px solid #c8ccd1 !important; |
| + | border-radius: 2px !important; |
| + | box-shadow: 0 1px 1px rgba(0,0,0,.15) !important; |
| + | margin: 0 auto !important; |
| + | display:inline-block !important; |
| + | min-height:90px !important; |
| + | min-width:90px !important; |
| } | | } |