「MediaWiki:Common.css」の版間の差分
編集の要約なし |
編集の要約なし |
||
28行目: | 28行目: | ||
} | } | ||
.mobile{ | .mobile{ | ||
font-size: | font-size: 300% !important; | ||
textarea{ | textarea{ | ||
font-size: 175% !important; | font-size: 175% !important; |
2023年3月8日 (水) 22:43時点における版
/* ここに記述したCSSはすべての外装に反映されます */
main#content{
font-family:
"ヒラギノ角ゴ Pro", "ヒラギノ角ゴ ProN", "ヒラギノ角ゴ StdN", "ヒラギノ角ゴ StdN",
"ヒラギノ角ゴ ProN W3",
HiraKakuProN-W3, メイリオ, Meiryo, 游ゴシック, "Yu Gothic", Verdana, Helvetica, Arial, sans-serif;
}
body{
font-size: 110%;
}
textarea{
font-size: 110% !important;
}
.clearfix:after {
content: "";
display: block;
clear: both;
}
.clearfix:before {
content: "";
display: block;
clear: both;
}
.clearfix {
display: block;
}
.mobile{
font-size: 300% !important;
textarea{
font-size: 175% !important;
height: calc( 1.5em * 10 ) !important;
line-height: 1.5 !important;
}
}
@media screen and (max-width: 428px){
body{
font-size: 250% !important;
}
textarea{
font-size: 175% !important;
height: calc( 1.5em * 10 ) !important;
line-height: 1.5 !important;
}
.youtube {
position: relative;
width: 100%;
padding-top: 56.25%;
}
.youtube iframe {
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 100%;
}
}
@media screen and (min-width: 429px){
.mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container,
.mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-article-toolbar-container{
margin-left: 11.5em;
}
}