MediaWiki:Common.css: различия между версиями
Перейти к навигации
Перейти к поиску
Алекс (обсуждение | вклад) |
Алекс (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
/* Размещённый здесь CSS будет применяться ко всем темам оформления */ | /* Размещённый здесь CSS будет применяться ко всем темам оформления */ | ||
− | # | + | /* Логотип */ |
− | + | #p-logo a { | |
− | + | background-size:135px; | |
− | + | } | |
− | + | ||
− | # | + | /* Лишние ссылки в меню инструментов */ |
+ | #t-permalink { | ||
display:none; | display:none; | ||
} | } | ||
− | + | /* Список всех страниц */ | |
− | border: | + | .mw-allpages-body { |
− | + | columns: unset; | |
− | margin: 0 0 0 | + | -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-extra-wrapper { | |
+ | float: right; | ||
+ | } | ||
+ | .footer-extra { | ||
+ | display:inline-block; | ||
+ | padding-right: 25px; | ||
+ | } | ||
+ | #footer ul li.ya-share2__item { | ||
+ | margin: 5px 4px 5px 0; | ||
} | } |
Версия 20:08, 1 марта 2019
/* Размещённый здесь CSS будет применяться ко всем темам оформления */ /* Логотип */ #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-extra-wrapper { float: right; } .footer-extra { display:inline-block; padding-right: 25px; } #footer ul li.ya-share2__item { margin: 5px 4px 5px 0; }