「MediaWiki:Common.css」の版間の差分
細 調整 |
細 動作確認に成功したためコメントを追記 |
||
| (2人の利用者による、間の2版が非表示) | |||
| 606行目: | 606行目: | ||
} | } | ||
html.skin-theme-clientpref-night .infobox th { | html.skin-theme-clientpref-night .infobox th { | ||
background-color: # | background-color: #1f1f23 !important; /* ヘッダーの暗い背景色 */ | ||
color: # | color: #ffffff; | ||
} | } | ||
html.skin-theme-clientpref-night .infobox a, html.skin-theme-clientpref-night .mbox a, html.skin-theme-clientpref-night .ambox a, html.skin-theme-clientpref-night .boxmenu a { | html.skin-theme-clientpref-night .infobox a, html.skin-theme-clientpref-night .mbox a, html.skin-theme-clientpref-night .ambox a, html.skin-theme-clientpref-night .boxmenu a { | ||
| 645行目: | 645行目: | ||
} | } | ||
.infobox th { | .infobox th { | ||
background-color: # | background-color: #1f1f23 !important; /* ヘッダーの暗い背景色 */ | ||
color: #ffffff; | color: #ffffff; | ||
} | } | ||
| 678行目: | 678行目: | ||
} | } | ||
/** | |||
20251117追記:BoxMenuで横幅いっぱいに画像を広げた場合に | |||
極小サイズの画像の大きさが不揃いになる現象を修正 | |||
**/ | |||
/*画像の最大サイズを指定(Boxmenu用)*/ | /*画像の最大サイズを指定(Boxmenu用)*/ | ||
.img-width-100 img{ | .img-width-100 img{ | ||
display: block; | |||
width: 100%; /* max_widthから変更して強制 */ | |||
height: auto; | height: auto; | ||
} | } | ||