「MediaWiki:Vector.css」の版間の差分
編集の要約なし |
編集の要約なし |
||
(同じ利用者による、間の1版が非表示) | |||
6行目: | 6行目: | ||
height: 20px; | height: 20px; | ||
width: 119px; | width: 119px; | ||
} | } | ||
13行目: | 12行目: | ||
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
top: | top: 0.25em;; | ||
content: ""; | content: ""; | ||
background: url(https://discord.com/api/guilds/1097098741049200680/widget.png) no-repeat; | background: url(https://discord.com/api/guilds/1097098741049200680/widget.png) no-repeat; | ||
} | } |
2024年2月23日 (金) 11:06時点における最新版
/* ここに記述したCSSは、Vectorスキンの利用者全てに読み込まれます */
#n-Discord > a {
display: inline-block;
position: relative;
height: 20px;
width: 119px;
}
#n-Discord > a::before {
position: absolute;
width: 100%;
height: 100%;
top: 0.25em;;
content: "";
background: url(https://discord.com/api/guilds/1097098741049200680/widget.png) no-repeat;
}