MediaWiki:Common.css

提供: Xenharmonic Wiki
ナビゲーションに移動 検索に移動

注意: 保存後、変更を確認するにはブラウザーのキャッシュを消去する必要がある場合があります。

  • Firefox / Safari: Shift を押しながら 再読み込み をクリックするか、Ctrl-F5 または Ctrl-R を押してください (Mac では ⌘-R)
  • Google Chrome: Ctrl-Shift-R を押してください (Mac では ⌘-Shift-R)
  • Internet Explorer: Ctrl を押しながら 最新の情報に更新 をクリックするか、Ctrl-F5 を押してください
  • Opera: メニュー → 設定 (Mac では Opera → 環境設定) に移動し、プライバシーとセキュリティ → 閲覧データを消去 → キャッシュされた画像およびファイル からキャッシュをクリアしてください。
/* ここに記述したCSSはすべての外装に反映されます */

/* for [[Template::Monzo]] and [[Template::Val]] */
/* prevent line breaks within monzo and val notations */
span.monzo, 
span.val {
  white-space: nowrap;
}

/* text-align property for a small selection of table rows, default is set by the *-all class */
table.left-all td, 
table.left-1 td:nth-child(1), 
table.left-2 td:nth-child(2),
table.left-3 td:nth-child(3), 
table.left-4 td:nth-child(4),
table.left-5 td:nth-child(5), 
table.left-6 td:nth-child(6),
table.left-7 td:nth-child(7), 
table.left-8 td:nth-child(8),
table.left-9 td:nth-child(9),
table.left-10 td:nth-child(10),
table.left-11 td:nth-child(11),
table.left-12 td:nth-child(12) {
  text-align: left;
}
table.center-all td, 
table.center-1 td:nth-child(1), 
table.center-2 td:nth-child(2),
table.center-3 td:nth-child(3), 
table.center-4 td:nth-child(4),
table.center-5 td:nth-child(5), 
table.center-6 td:nth-child(6),
table.center-7 td:nth-child(7), 
table.center-8 td:nth-child(8),
table.center-9 td:nth-child(9),
table.center-10 td:nth-child(10),
table.center-11 td:nth-child(11),
table.center-12 td:nth-child(12) {
  text-align: center;
}
table.right-all td, 
table.right-1 td:nth-child(1), 
table.right-2 td:nth-child(2),
table.right-3 td:nth-child(3), 
table.right-4 td:nth-child(4),
table.right-5 td:nth-child(5), 
table.right-6 td:nth-child(6),
table.right-7 td:nth-child(7), 
table.right-8 td:nth-child(8),
table.right-9 td:nth-child(9),
table.right-10 td:nth-child(10),
table.right-11 td:nth-child(11),
table.right-12 td:nth-child(12) {
  text-align: right;
}

/* Don't display the function "rollback with one click" */
span.mw-rollback-link {
    display: none;
}

/* use HEJI2Text font if class="heji" */
@font-face {
    font-family: HEJI2Text;
    src: url(https://plainsound.org/fonts/HEJI2Text.otf);
}
.heji {
    font-family: HEJI2Text;
}

/* use BravuraText font if class="bravura" */
@font-face {
    font-family: BravuraText;
    src: url(https://scaleworkshop.plainsound.org/static/fonts/BravuraText.woff2);
}
.bravura {
    font-family: BravuraText;
    vertical-align: text-top;
}