コンテンツにスキップ

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

提供: Tri-Species Record Commission
編集の要約なし
編集の要約なし
50行目: 50行目:
   font-size: 0.75em;  /* 少しだけ大きく */
   font-size: 0.75em;  /* 少しだけ大きく */
   line-height: 1.0;  /* 行間を広げて中央寄せ感UP */
   line-height: 1.0;  /* 行間を広げて中央寄せ感UP */
   padding: 1.2em 2em;
   padding: 0.2em 2em;
   margin-top: 1em;
   margin-top: 1em;
   margin-bottom: 1em;
   margin-bottom: 1em;

2025年4月24日 (木) 01:50時点における版

/* メインページだけタイトル非表示 */
.page-Main_Page .firstHeading {
    display: none !important;
}
/* ダークモード(night)時にロゴを反転 */
.skin-vector-2022.vector-mode-night .tsrc-logo img {
    filter: invert(1) brightness(1.2);
    transition: filter 0.3s ease;
}

body.skin-vector-2022.skin-dark {
    background-color: red !important;
}

.tsrc-logo-wrapper pre,
.tsrc-logo-wrapper code,
.tsrc-logo-wrapper .mw-code {
    background-color: transparent !important;
    border: none !important;
}
.tsrc-infobox {
  background-color: #F0F6F7;
}

.skin-theme-clientpref-night .tsrc-infobox {
  background-color: #1c2a3a;
}
.tsrc-logo-block {
  text-align: center;
  margin-bottom: 1.5em;
}

.tsrc-subtitle {
  font-size: 0.85em;
  color: #666;
  margin-top: 0.5em;
  font-style: italic;
}

.tsrc-warning::before {
  content: "⚠ ";
  font-size: 1.2em;
  color: #cc0000;
  padding-right: 0.3em;
}

.tsrc-warning {
  background: #eef0f4;
  color: #333;
  font-size: 0.75em;  /* 少しだけ大きく */
  line-height: 1.0;   /* 行間を広げて中央寄せ感UP */
  padding: 0.2em 2em;
  margin-top: 1em;
  margin-bottom: 1em;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-align: center;  /* 中央揃え! */
}