MediaWiki:Gadget-FontSwitcher.css: различия между версиями

Нет описания правки
Метка: отменено
Нет описания правки
Метка: отменено
Строка 127: Строка 127:


/* ===== 5. Фиксы служебных страниц при крупном шрифте ===== */
/* ===== 5. Фиксы служебных страниц при крупном шрифте ===== */
/* 5.1. «Свежие правки»: жёсткий фикс для всех строк */


/* 5.1. «Свежие правки»: жёсткий инлайн-фикс */
/* Отключаем float у ВСЕХ дочерних элементов строки */
body.font-large.page-Special_RecentChanges .mw-changeslist-line-inner > * {
    float: none !important;
}


/* Группированные (стрелочка) — оставляем как было */
/* Заставляем строку вести себя как единый блок */
body.font-large.page-Special_RecentChanges .mw-enhanced-rc-time,
body.font-large.page-Special_RecentChanges .mw-changeslist-line-inner {
body.font-large.page-Special_RecentChanges .mw-enhanced-rc-time a {
    display: block !important;
    font-size: 0.85em !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-line-inner {
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;
    white-space: normal !important;
}
}


body.font-large.page-Special_RecentChanges .mw-changeslist-line-inner > * {
/* Длинные названия и комментарии могут переноситься, чтобы не было горизонтальной прокрутки */
    float: none !important;
body.font-large.page-Special_RecentChanges .mw-changeslist-line-inner .mw-title,
    display: inline !important;
body.font-large.page-Special_RecentChanges .mw-changeslist-line-inner .comment {
     white-space: normal !important;
     white-space: normal !important;
}
/* Время внутри строки — неразрывное */
body.font-large.page-Special_RecentChanges .mw-changeslist-line-inner .mw-changeslist-date,
body.font-large.page-Special_RecentChanges .mw-changeslist-line-inner .mw-changeslist-time {
    white-space: nowrap !important;
     display: inline !important;
     display: inline !important;
    float: none !important;
}
}