「MediaWiki:Common.css」の版間の差分
編集の要約なし タグ: 差し戻し済み |
編集の要約なし タグ: 手動差し戻し |
||
| 95行目: | 95行目: | ||
.tsrc-grid .tsrc-box { | .tsrc-grid .tsrc-box { | ||
width: calc(50% - 0.75em); | |||
border: 1px solid #888; | border: 1px solid #888; | ||
padding: | background: transparent; /* ★ここ変更! */ | ||
padding: 1.5em; /* ←ちょっと広めにしてもOK */ | |||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
.tsrc-box-header { | .tsrc-box-header { | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; /* もしくは startでもいいけど centerの方が美しい */ | ||
font-weight: bold; | font-weight: bold; | ||
font-size: 1.4em; | font-size: 1.4em; | ||
margin-bottom: 0.5em; | |||
margin-bottom: 0. | |||
background: linear-gradient(to right, #dfe4ea, #f5f7fa); | background: linear-gradient(to right, #dfe4ea, #f5f7fa); | ||
padding: 0.2em 0.7em; | |||
border-radius: 2px; | border-radius: 2px; | ||
line-height: 1.0; | line-height: 1.0; | ||
} | } | ||
.tsrc-box-icon { | .tsrc-box-icon { | ||