MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
a.extiw[href^="https://en.wikipedia.org"] { | a.extiw[href^="https://en.wikipedia.org"] { | ||
display: inline-block; | display: inline-block; | ||
background-image: url( | background-image: url(/images/a/ad/Wikipedia_logo_version_2_reupload.svg) !important; | ||
background-size:13px 13px !important; | background-size:13px 13px !important; | ||
background-position: center right; | background-position: center right; | ||
| Line 11: | Line 11: | ||
a.extiw[href^="//creativecommons.org"] { | a.extiw[href^="//creativecommons.org"] { | ||
position: relative; | |||
display: inline-block; | display: inline-block; | ||
padding-right: 16px !important; | padding-right: 16px !important; | ||
background-image: none !important; | |||
} | |||
a[href^="//creativecommons.org"]::after { | |||
content: ""; | |||
position: absolute; | |||
top: 50%; | |||
right: 0; | |||
width: 13px; | |||
height: 13px; | |||
background: url("/images/b/be/Cc.logo.circle_reupload.svg") | |||
center / contain no-repeat; | |||
transform: translateY(-50%); | |||
pointer-events: none; | |||
} | } | ||
Revision as of 08:50, 15 August 2026
/* CSS placed here will be applied to all skins */
a.extiw[href^="https://en.wikipedia.org"] {
display: inline-block;
background-image: url(/images/a/ad/Wikipedia_logo_version_2_reupload.svg) !important;
background-size:13px 13px !important;
background-position: center right;
background-repeat: no-repeat;
padding-right: 16px !important;
}
a.extiw[href^="//creativecommons.org"] {
position: relative;
display: inline-block;
padding-right: 16px !important;
background-image: none !important;
}
a[href^="//creativecommons.org"]::after {
content: "";
position: absolute;
top: 50%;
right: 0;
width: 13px;
height: 13px;
background: url("/images/b/be/Cc.logo.circle_reupload.svg")
center / contain no-repeat;
transform: translateY(-50%);
pointer-events: none;
}