「MediaWiki:Common.css」の版間の差分

提供:yonewiki
編集の要約なし
編集の要約なし
38行目: 38行目:
@media screen and (max-width: 428px){
@media screen and (max-width: 428px){
   body{
   body{
       font-size: 250% !important;  
       font-size: 100% !important;  
   }
   }
   textarea{
   textarea{
     font-size: 175% !important;
     font-size: 100% !important;
     height: calc( 1.5em * 10 ) !important;
     height: calc( 1.5em * 10 ) !important;
     line-height: 1.5 !important;
     line-height: 1.5 !important;

2023年3月8日 (水) 23:12時点における版

/* ここに記述した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: 100% !important; 
  line-height: 100%;
  textarea{
    font-size: 100% !important;
    height: calc( 1.5em * 10 ) !important;
    line-height: 1.5 !important;
  }
}
@media screen and (max-width: 428px){
  body{
      font-size: 100% !important; 
  }
  textarea{
    font-size: 100% !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;
  }
}