「MediaWiki:Common.css」の版間の差分

編集の要約なし
編集の要約なし
861行目: 861行目:
}
}


/* Infobox 内のテキストは折り返す */
/* 人物Infoboxの基本幅を固定する */
.infobox td,
.infobox {
.infobox th {
     width: 22em;         /* 好きな幅に調整。だいたい画像と同じくらい */
     white-space: normal;       /* nowrap を打ち消す */
     table-layout: fixed; /* セル幅を固定して、テキストを折り返させる */
     word-break: break-word;   /* 長い単語も適当に折る */
}
}