「MediaWiki:Common.css」の版間の差分
細 nowiki |
編集の要約なし |
||
| (2人の利用者による、間の2版が非表示) | |||
| 33行目: | 33行目: | ||
/* [[テンプレート:メッセージボックス]] */ | /* [[テンプレート:メッセージボックス]] */ | ||
/* モバイル用スタイルを上書き */ | |||
.message-box { | .message-box { | ||
display: table; | display: table; | ||
width: 80%; | width: 80% !important; | ||
margin: 0 10%; | margin: 0 10% !important; | ||
padding: 0; | padding: 0; | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
| 45行目: | 46行目: | ||
} | } | ||
.message-box .message-box-image { | .message-box .message-box-image { | ||
display: table-cell; | display: table-cell !important; | ||
padding: 0; | padding: 0; | ||
text-align: center; | text-align: center; | ||
| 55行目: | 56行目: | ||
width: 100%; | width: 100%; | ||
vertical-align: middle; | vertical-align: middle; | ||
font-size: inherit !important; | |||
} | } | ||
| 122行目: | 124行目: | ||
.nodesktop { | .nodesktop { | ||
display: none; | display: none; | ||
} | |||
/* Display nested lists inline and allow them to wrap */ | |||
.hlist dl dl, .hlist dl ol, .hlist dl ul, | |||
.hlist ol dl, .hlist ol ol, .hlist ol ul, | |||
.hlist ul dl, .hlist ul ol, .hlist ul ul { | |||
display: inline; | |||
white-space: normal; | |||
} | |||
/* 特定場所での改行を防ぐ: | |||
1) 個別に指定した場所 | |||
2) リンク途中 | |||
3) そのページ自身へのリンク(太字部分) | |||
4) グループ名付きの ref タグ <ref group="注"> --> "[注 1]" */ | |||
.nowrap, | |||
.nowraplinks a, | |||
.nowraplinks .selflink, | |||
sup.reference a { | |||
white-space: nowrap; | |||
} | |||
/* 以下のクラスを指定した場所では解除する: */ | |||
.wrap, | |||
.wraplinks a { | |||
white-space: normal; | |||
} | } | ||