MediaWiki:Vector.css

提供:tensyoサーバー 公式Wiki
2024年2月23日 (金) 11:05時点におけるなまけもの (トーク | 投稿記録)による版 (ページの作成:「→‎ここに記述したCSSは、Vectorスキンの利用者全てに読み込まれます: #n-Discord > a { display: inline-block; position: relative; height: 20px; width: 119px; margin: 0.25em; } #n-Discord > a::before { position: absolute; width: 100%; height: 100%; top: 0; left: -0.25em; content: ""; background: url(https://discord.com/api/guilds/1097098741049200680/widget.png) no-repeat; }」)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)

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

  • Firefox / Safari: Shift を押しながら 再読み込み をクリックするか、Ctrl-F5 または Ctrl-R を押してください (Mac では ⌘-R)
  • Google Chrome: Ctrl-Shift-R を押してください (Mac では ⌘-Shift-R)
  • Internet Explorer / Microsoft Edge: Ctrl を押しながら 最新の情報に更新 をクリックするか、Ctrl-F5 を押してください
  • Opera: Ctrl-F5を押してください
/* ここに記述したCSSは、Vectorスキンの利用者全てに読み込まれます */

#n-Discord > a {
    display: inline-block;
    position: relative;
    height: 20px;
    width: 119px;
    margin: 0.25em;
}

#n-Discord > a::before {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -0.25em;
    content: "";
    background: url(https://discord.com/api/guilds/1097098741049200680/widget.png) no-repeat;
}