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

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


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