MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 10: | Line 10: | ||
} | } | ||
a.extiw[href^="https://commons. | a.extiw[href^="https://commons.wikimedia.org"] { | ||
display: inline-block; | display: inline-block; | ||
background-image: url(/images/c/cb/Wikimedia_Commons_Logo_reupload.svg) !important; | background-image: url(/images/c/cb/Wikimedia_Commons_Logo_reupload.svg) !important; | ||
| Line 19: | Line 19: | ||
} | } | ||
a.extiw[href^="//creativecommons.org"] { | a.extiw[href^="https://meta.wikimedia.org"] { | ||
display: inline-block; | |||
background-image: url(/images/b/b0/Wikimedia_Community_Logo_reupload.svg) !important; | |||
background-size:13px 13px !important; | |||
background-position: center right; | |||
background-repeat: no-repeat; | |||
padding-right: 16px !important; | |||
} | |||
a.extiw[href^="https://www.mediawiki.org"] { | |||
display: inline-block; | |||
background-image: url(/images/8/81/MediaWiki-2020-small-icon_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"], | |||
a.extiw[href^="https://creativecommons.org"]{ | |||
position: relative; | position: relative; | ||
display: inline-block; | display: inline-block; | ||
| Line 26: | Line 45: | ||
} | } | ||
a.extiw[href^="//creativecommons.org"]::after { | a.extiw[href^="//creativecommons.org"]::after, | ||
a.extiw[href^="https://creativecommons.org"]::after{ | |||
content: ""; | content: ""; | ||
position: absolute; | position: absolute; | ||
Latest revision as of 13:14, 16 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^="https://commons.wikimedia.org"] {
display: inline-block;
background-image: url(/images/c/cb/Wikimedia_Commons_Logo_reupload.svg) !important;
background-size:13px 13px !important;
background-position: center right;
background-repeat: no-repeat;
padding-right: 16px !important;
}
a.extiw[href^="https://meta.wikimedia.org"] {
display: inline-block;
background-image: url(/images/b/b0/Wikimedia_Community_Logo_reupload.svg) !important;
background-size:13px 13px !important;
background-position: center right;
background-repeat: no-repeat;
padding-right: 16px !important;
}
a.extiw[href^="https://www.mediawiki.org"] {
display: inline-block;
background-image: url(/images/8/81/MediaWiki-2020-small-icon_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"],
a.extiw[href^="https://creativecommons.org"]{
position: relative;
display: inline-block;
padding-right: 16px !important;
background-image: none !important;
}
a.extiw[href^="//creativecommons.org"]::after,
a.extiw[href^="https://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;
}