MediaWiki:Common.css 新しいページはコチラ
提供: yonewiki
5行: | 5行: | ||
} | } | ||
pre { | pre { | ||
+ | font-size:14px; | ||
+ | font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'MS Pゴシック',sans-serif; | ||
+ | white-space: pre-line; | ||
+ | width: 600px; | ||
+ | white-space: pre; /* CSS 2.0 */ | ||
+ | white-space: pre-wrap; /* CSS 2.1 */ | ||
+ | white-space: pre-line; /* CSS 3.0 */ | ||
+ | white-space: -pre-wrap; /* Opera 4-6 */ | ||
+ | white-space: -o-pre-wrap; /* Opera 7 */ | ||
+ | white-space: -moz-pre-wrap; /* Mozilla */ | ||
+ | white-space: -hp-pre-wrap; /* HP Printers */ | ||
+ | word-wrap: break-word; /* IE 5+ */ | ||
+ | } | ||
+ | pre.mw-geshi mw-content-ltr { | ||
font-size:14px; | font-size:14px; | ||
font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'MS Pゴシック',sans-serif; | font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'MS Pゴシック',sans-serif; |
2013年12月6日 (金) 00:00時点における版
/* ここに記述したCSSはすべての外装に反映されます */ body { font-size:18px; font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'MS Pゴシック',sans-serif; } pre { font-size:14px; font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'MS Pゴシック',sans-serif; white-space: pre-line; width: 600px; white-space: pre; /* CSS 2.0 */ white-space: pre-wrap; /* CSS 2.1 */ white-space: pre-line; /* CSS 3.0 */ white-space: -pre-wrap; /* Opera 4-6 */ white-space: -o-pre-wrap; /* Opera 7 */ white-space: -moz-pre-wrap; /* Mozilla */ white-space: -hp-pre-wrap; /* HP Printers */ word-wrap: break-word; /* IE 5+ */ } pre.mw-geshi mw-content-ltr { font-size:14px; font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'MS Pゴシック',sans-serif; white-space: pre-line; width: 600px; white-space: pre; /* CSS 2.0 */ white-space: pre-wrap; /* CSS 2.1 */ white-space: pre-line; /* CSS 3.0 */ white-space: -pre-wrap; /* Opera 4-6 */ white-space: -o-pre-wrap; /* Opera 7 */ white-space: -moz-pre-wrap; /* Mozilla */ white-space: -hp-pre-wrap; /* HP Printers */ word-wrap: break-word; /* IE 5+ */ }