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

提供:yonewiki
編集の要約なし
編集の要約なし
2行目: 2行目:
@font-face {
@font-face {
     font-family: 'Bravura';
     font-family: 'Bravura';
     src: url('./font/Bravura.woff2') format('woff2');
     src: url('./font/Bravura.woff2') format('woff2'),
        url('./font/Bravura.woff') format('woff');
}
 
@font-face {
    font-family: 'BravuraText';
    src: url('./font/BravuraText.woff2') format('woff2'),
        url('./font/BravuraText.woff') format('woff');
}
}



2024年3月16日 (土) 23:24時点における版

/* ここに記述したCSSはすべての外装に反映されます */
@font-face {
    font-family: 'Bravura';
    src: url('./font/Bravura.woff2') format('woff2'),
         url('./font/Bravura.woff') format('woff');
}

@font-face {
    font-family: 'BravuraText';
    src: url('./font/BravuraText.woff2') format('woff2'),
         url('./font/BravuraText.woff') format('woff');
}

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;
  }
}