「MediaWiki:Common.css」の版間の差分
編集の要約なし |
編集の要約なし |
||
51行目: | 51行目: | ||
} | } | ||
} | } | ||
@media screen and (min-width: | @media screen and (min-width: 981px){ | ||
.mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container, | .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container, | ||
.mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-article-toolbar-container{ | .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-article-toolbar-container{ |
2023年3月8日 (水) 19:02時点における版
/* ここに記述した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;
}
@media screen and (max-width:982px){
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: 981px){
.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;
}
}