MediaWiki:Vector.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 967: | Line 967: | ||
#content.mw-body .wizlords-mainpage-link-list a.external { | #content.mw-body .wizlords-mainpage-link-list a.external { | ||
color: var(--wiz-link); | color: var(--wiz-link); | ||
font-weight: | font-weight: normal; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
| Line 975: | Line 975: | ||
color: #ffd37a; | color: #ffd37a; | ||
text-decoration: none; | text-decoration: none; | ||
} | |||
/* Vector's external-link indicator is a separate blue background SVG, so it | |||
must be recoloured independently from the anchor text. */ | |||
#content.mw-body .wizlords-mainpage-link-list a.external { | |||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23ff942d' d='M6 1h3v3H8V2.71L4.35 6.35l-.7-.7L7.29 2H6V1z'/%3E%3Cpath fill='%23ff942d' d='M2 2h3v1H3v4h4V5h1v3H2V2z'/%3E%3C/svg%3E"); | |||
} | |||
#content.mw-body .wizlords-mainpage-link-list a.external:hover { | |||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23ffd37a' d='M6 1h3v3H8V2.71L4.35 6.35l-.7-.7L7.29 2H6V1z'/%3E%3Cpath fill='%23ffd37a' d='M2 2h3v1H3v4h4V5h1v3H2V2z'/%3E%3C/svg%3E"); | |||
} | } | ||