「MediaWiki:Common.css」の版間の差分
編集の要約なし |
編集の要約なし タグ: 手動差し戻し |
||
| (同じ利用者による、間の43版が非表示) | |||
| 1行目: | 1行目: | ||
/* ここに書いたCSSはすべての外装に反映されます */ | /* ここに書いたCSSはすべての外装に反映されます */ | ||
@import url("https:// | @import url("https://use.fontawesome.com/releases/v6.6.0/css/all.css"); | ||
html, | html, | ||
body { | body { | ||
color: # | color: #252525; | ||
font-family: " | font-family: "Helvetica", "Arial", "BIZ UDGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "メイリオ", Meiryo, sans-serif; | ||
word-break: break-word; | word-break: break-word; | ||
} | } | ||
| 41行目: | 23行目: | ||
h5, | h5, | ||
h6 { | h6 { | ||
color: # | color: #252525; | ||
font-family: inherit; | font-family: inherit; | ||
font-weight: bold; | font-weight: bold; | ||
margin: 24px 0 8px 0; | |||
} | } | ||
h1 { | h1 { | ||
font-size: 140% !important; | font-size: 140% !important; | ||
} | } | ||
h2 { | h2 { | ||
font-size: 120% !important; | font-size: 120% !important; | ||
} | } | ||
h3 { | h3 { | ||
font-size: 100% !important; | font-size: 100% !important; | ||
} | } | ||
h4 { | h4 { | ||
font-size: 100% !important; | font-size: 100% !important; | ||
} | } | ||
h5 { | h5 { | ||
font-size: 108% !important; | font-size: 108% !important; | ||
} | } | ||
h6 { | h6 { | ||
font-size: 100% !important; | font-size: 100% !important; | ||
margin: | } | ||
.vector-body h1, | |||
.vector-body h2, | |||
.vector-body h3, | |||
.vector-body h4, | |||
.vector-body h5, | |||
.vector-body h6 { | |||
margin: 1em 0 0.5em 0 !important; | |||
} | } | ||
iframe { | iframe { | ||
| 78行目: | 63行目: | ||
box-shadow: 0 1px 0px #c3c3c3; | box-shadow: 0 1px 0px #c3c3c3; | ||
color: gray; | color: gray; | ||
font-family: | font-family: "Menlo", "Consolas", "monaco", "monospace", "Helvetica", "Arial", "BIZ UDGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "メイリオ", Meiryo, sans-serif; | ||
font-weight: bold; | font-weight: bold; | ||
line-height: 1.4em; | line-height: 1.4em; | ||
| 87行目: | 72行目: | ||
.mw-body { | .mw-body { | ||
border-right-width: 1px; | border-right-width: 1px; | ||
color: # | color: #252525; | ||
margin-right: 308px; | margin-right: 308px; | ||
} | } | ||
.mw-body-content { | .mw-body-content { | ||
font-size: | font-size: 107%; | ||
line-height: 1. | line-height: 1.93 !important; | ||
} | } | ||
.mw-body-content p { | .mw-body-content p { | ||
| 104行目: | 89行目: | ||
.mw-body .toc h2, | .mw-body .toc h2, | ||
.mw-headline { | .mw-headline { | ||
font-family: inherit; | /* font-family: inherit; */ | ||
font-family: "Helvetica", "Arial", "BIZ UDGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "メイリオ", Meiryo, sans-serif; | |||
font-size: 100% !important; | font-size: 100% !important; | ||
margin-top: 10px; | margin-top: 10px; | ||
} | |||
.mw-content-ltr ol, .mw-content-rtl .mw-content-ltr ol { | |||
margin: 0.3em 0 0 1.6em; | |||
} | } | ||
div#mw-panel div.portal div.body ul li { | div#mw-panel div.portal div.body ul li { | ||
font-size: 80%; | |||
} | |||
.vector-menu h3 span { | |||
font-size: 0.8125em; | |||
} | |||
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li { | |||
font-size: 80%; | font-size: 80%; | ||
} | } | ||
pre, | pre, | ||
tt, | tt, | ||
samp, | samp, | ||
.mw-code, | .mw-code, | ||
.mw-geshi pre { | .mw-geshi pre { | ||
font-family: " | font-family: "Menlo", "Consolas", "monaco", "monospace", "Helvetica", "Arial", "BIZ UDGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "メイリオ", Meiryo, sans-serif !important; | ||
} | |||
code { | |||
font-family: "Menlo", "Consolas", "monaco", "monospace", "Helvetica", "Arial", "BIZ UDGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "メイリオ", Meiryo, sans-serif; | |||
line-height: 1.4em; | |||
margin: 0 3px; | |||
padding: 0.1em 0.5em; | |||
vertical-align: text-top; | |||
} | } | ||
.mw-code, | .mw-code, | ||
| 132行目: | 133行目: | ||
.thumbborder { | .thumbborder { | ||
border: none !important; | border: none !important; | ||
outline: 3px solid #f1f4f9; | |||
} | } | ||
html #toc ul, | html #toc ul, | ||
| 145行目: | 146行目: | ||
display: none; | display: none; | ||
} | } | ||
. | .simplecaptcha-field { | ||
margin-bottom: 1em; | |||
} | |||
.oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-left > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header { | |||
flex-grow: 0; | |||
} | } | ||
span.button a.external { | span.button a.external { | ||
| 270行目: | 269行目: | ||
} | } | ||
.sidebar3 { | .sidebar3 { | ||
display: none; | |||
position: absolute; | position: absolute; | ||
right: 4px; | right: 4px; | ||
| 275行目: | 275行目: | ||
width: 160px; | width: 160px; | ||
} | } | ||
.adsense{ | .adsense{ | ||
text-align: center; | text-align: center; | ||
| 283行目: | 282行目: | ||
font-size: 16px; | font-size: 16px; | ||
font-weight: bold; | font-weight: bold; | ||
} | |||
@media screen and (max-width: 1200px) { | |||
.mw-body { | |||
border-right-width: 0; | |||
margin-right: 168px; | |||
} | |||
.sidebar2 { | |||
display: none; | |||
} | |||
.sidebar3 { | |||
display: block; | |||
} | |||
} | } | ||
@media screen and (max-width: 991px) { | @media screen and (max-width: 991px) { | ||
スポンサーリンク