MediaWiki:Common.css: различия между версиями
Материал из J2MEdia
Нет описания правки |
Нет описания правки |
||
Строка 1: | Строка 1: | ||
/* Основные стили инфобокса */ |
|||
.portable-infobox { |
.portable-infobox { |
||
max-width: 500px !important; |
max-width: 500px !important; |
||
Строка 6: | Строка 7: | ||
} |
} |
||
/* Стили для меток (левая колонка) */ |
|||
.portable-infobox .pi-data-label { |
.portable-infobox .pi-data-label { |
||
white-space: normal !important; |
white-space: normal !important; |
||
word-break: |
word-break: keep-all !important; |
||
overflow-wrap: break-word !important; |
|||
min-width: 120px !important; |
min-width: 120px !important; |
||
padding-right: 10px !important; |
padding-right: 10px !important; |
||
} |
} |
||
/* Стили для значений (правая колонка) */ |
|||
.portable-infobox .pi-data-value { |
.portable-infobox .pi-data-value { |
||
word-break: normal !important; |
word-break: normal !important; |
||
} |
} |
||
/* Дополнительно: запрет переноса для конкретных элементов */ |
|||
.portable-infobox |
.portable-infobox .no-break { |
||
white-space: nowrap !important; |
white-space: nowrap !important; |
||
display: inline-block; |
|||
} |
} |
Версия от 18:45, 30 июня 2025
/* Основные стили инфобокса */
.portable-infobox {
max-width: 500px !important;
min-width: 350px !important;
hyphens: none !important;
word-break: normal !important;
}
/* Стили для меток (левая колонка) */
.portable-infobox .pi-data-label {
white-space: normal !important;
word-break: keep-all !important;
overflow-wrap: break-word !important;
min-width: 120px !important;
padding-right: 10px !important;
}
/* Стили для значений (правая колонка) */
.portable-infobox .pi-data-value {
word-break: normal !important;
}
/* Дополнительно: запрет переноса для конкретных элементов */
.portable-infobox .no-break {
white-space: nowrap !important;
}