MediaWiki:Gadget-FontSwitcher.css: различия между версиями
Ланселот (обсуждение | вклад) Нет описания правки Метка: отменено |
Ланселот (обсуждение | вклад) Нет описания правки Метка: отменено |
||
| Строка 127: | Строка 127: | ||
/* ===== 5. Фиксы служебных страниц при крупном шрифте ===== */ | /* ===== 5. Фиксы служебных страниц при крупном шрифте ===== */ | ||
/* 5.1. «Свежие правки»: жёсткий фикс для всех строк */ | |||
/* | /* Отключаем float у ВСЕХ дочерних элементов строки */ | ||
body.font-large.page-Special_RecentChanges .mw-changeslist-line-inner > * { | |||
float: none !important; | |||
} | |||
/* | /* Заставляем строку вести себя как единый блок */ | ||
body.font-large.page-Special_RecentChanges .mw- | body.font-large.page-Special_RecentChanges .mw-changeslist-line-inner { | ||
body.font-large.page-Special_RecentChanges .mw-enhanced-rc-time | display: block !important; | ||
white-space: normal !important; | |||
overflow: visible !important; | |||
} | |||
/* Время и даты не должны разрываться */ | |||
body.font-large.page-Special_RecentChanges .mw-changeslist-date, | |||
body.font-large.page-Special_RecentChanges .mw-changeslist-time, | |||
body.font-large.page-Special_RecentChanges .mw-enhanced-rc-time { | |||
white-space: nowrap !important; | white-space: nowrap !important; | ||
display: inline-block !important; | display: inline-block !important; | ||
font-size: 0.85em !important; | |||
} | } | ||
/* | /* Ссылки внутри времени тоже не разрываются */ | ||
body.font-large.page-Special_RecentChanges .mw-changeslist- | body.font-large.page-Special_RecentChanges .mw-changeslist-date a, | ||
body.font-large.page-Special_RecentChanges .mw-changeslist-time a, | |||
body.font-large.page-Special_RecentChanges .mw-enhanced-rc-time a { | |||
white-space: nowrap !important; | |||
display: inline !important; | display: inline !important; | ||
} | } | ||
body.font-large.page-Special_RecentChanges .mw-changeslist-line-inner | /* Длинные названия и комментарии могут переноситься, чтобы не было горизонтальной прокрутки */ | ||
body.font-large.page-Special_RecentChanges .mw-changeslist-line-inner .mw-title, | |||
body.font-large.page-Special_RecentChanges .mw-changeslist-line-inner .comment { | |||
white-space: normal !important; | white-space: normal !important; | ||
display: inline !important; | display: inline !important; | ||
float: none !important; | |||
} | } | ||