MediaWiki:Common.css: различия между версиями
Перейти к навигации
Перейти к поиску
Admin (обсуждение | вклад) (Новая страница: «→Размещённый здесь CSS будет применяться ко всем темам оформления: .game-output p { line-height: inherit;…») |
Diatlo (обсуждение | вклад) |
||
| Строка 4: | Строка 4: | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
| + | } | ||
| + | |||
| + | /* Prevent line breaks in silly places where desired (nowrap) | ||
| + | and links when we don't want them to (nowraplinks a) */ | ||
| + | .nowrap, | ||
| + | .nowraplinks a { | ||
| + | white-space: nowrap; | ||
| + | } | ||
| + | |||
| + | /* But allow wrapping where desired: */ | ||
| + | .wrap, | ||
| + | .wraplinks a { | ||
| + | white-space: normal; | ||
} | } | ||
Версия 13:33, 18 августа 2021
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
.game-output p {
line-height: inherit;
margin: 0;
padding: 0;
}
/* Prevent line breaks in silly places where desired (nowrap)
and links when we don't want them to (nowraplinks a) */
.nowrap,
.nowraplinks a {
white-space: nowrap;
}
/* But allow wrapping where desired: */
.wrap,
.wraplinks a {
white-space: normal;
}