MediaWiki:Minerva.css: различия между версиями
Ivan (обсуждение | вклад) Нет описания правки Метки: с мобильного устройства из мобильной версии |
Ivan (обсуждение | вклад) Нет описания правки |
||
| (не показана 1 промежуточная версия этого же участника) | |||
| Строка 19: | Строка 19: | ||
/* Default styles | /* Default styles */ | ||
:root { | :root { | ||
--mobile-header-background: url(' | --mobile-header-background: url('images/essentials/Mobile-header.png'); | ||
--mobile-header-background-color: #698cff; | --mobile-header-background-color: #698cff; | ||
--content-background-color: #ebeef2; | --content-background-color: #ebeef2; | ||
| Строка 38: | Строка 38: | ||
width: 135px; | width: 135px; | ||
height: 50px; | height: 50px; | ||
background-image: url(' | background-image: url('images/essentials/WikiLogoMobile.png'); | ||
background-size: contain; | background-size: contain; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
| Строка 51: | Строка 51: | ||
--archive-box-border-color: #444; | --archive-box-border-color: #444; | ||
--mobile-header-background: url(' | --mobile-header-background: url('images/essentials/Dark-mobile-header.png'); | ||
--mobile-header-background-color: #2b3162; | --mobile-header-background-color: #2b3162; | ||
--content-background-color: #2b2f39; | --content-background-color: #2b2f39; | ||
| Строка 89: | Строка 89: | ||
/* | /* | ||
body.stw-theme-dark .client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), | body.stw-theme-dark .client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), | ||
body.stw-theme-dark .jquery-tablesorter th.headerSort { | body.stw-theme-dark .jquery-tablesorter th.headerSort { | ||
background-image: url(' | background-image: url('images/essentials/Sort_both.svg'); | ||
} | } | ||
body.stw-theme-dark .jquery-tablesorter th.headerSortDown { | body.stw-theme-dark .jquery-tablesorter th.headerSortDown { | ||
background-image: url(' | background-image: url('images/essentials/Sort_down.svg'); | ||
} | } | ||
body.stw-theme-dark .jquery-tablesorter th.headerSortUp { | body.stw-theme-dark .jquery-tablesorter th.headerSortUp { | ||
background-image: url(' | background-image: url('images/essentials/Sort_up.svg'); | ||
} | } | ||
*/ | |||
/* CodeEditor search color fixes for dark theme */ | /* CodeEditor search color fixes for dark theme */ | ||
| Строка 226: | Строка 226: | ||
/* */ | /* */ | ||
/** | /** Mobile skin **/ | ||
.overlay.search-overlay, | .overlay.search-overlay, | ||
.overlay.editor-overlay { | .overlay.editor-overlay { | ||
| Строка 232: | Строка 232: | ||
} | } | ||
/* | /* Mobile header background */ | ||
.skin-minerva #mw-mf-page-center .header-container, | .skin-minerva #mw-mf-page-center .header-container, | ||
.skin-minerva .search-overlay .header-container { | .skin-minerva .search-overlay .header-container { | ||
| Строка 253: | Строка 253: | ||
} | } | ||
/* | /* Maximise editing space when editing on small screens */ | ||
@media all and (max-width: 999px) { | @media all and (max-width: 999px) { | ||
.overlay-enabled .editor-overlay { | .overlay-enabled .editor-overlay { | ||