Module:Citation/CS1/styles.css: Difference between revisions
sync from sandbox;
(sync from sandbox;) |
(sync from sandbox;) |
||
Line 39: | Line 39: | ||
.id-lock-free a, | .id-lock-free a, | ||
.citation .cs1-lock-free a { | .citation .cs1-lock-free a { | ||
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png) no-repeat; | background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png); | ||
background-image: linear-gradient(transparent, transparent), url(//upload.wikimedia.org/wikipedia/commons/6/65/Lock-green.svg); | |||
background-repeat: no-repeat; | |||
background-size: 9px; | |||
background-position: right .1em center; | background-position: right .1em center; | ||
} | } | ||
Line 47: | Line 50: | ||
.citation .cs1-lock-limited a, | .citation .cs1-lock-limited a, | ||
.citation .cs1-lock-registration a { | .citation .cs1-lock-registration a { | ||
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Lock-gray-alt-2.svg/9px-Lock-gray-alt-2.svg.png) no-repeat; | background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Lock-gray-alt-2.svg/9px-Lock-gray-alt-2.svg.png); | ||
background-image: linear-gradient(transparent, transparent), url(//upload.wikimedia.org/wikipedia/commons/d/d6/Lock-gray-alt-2.svg); | |||
background-repeat: no-repeat; | |||
background-size: 9px; | |||
background-position: right .1em center; | background-position: right .1em center; | ||
} | } | ||
Line 53: | Line 59: | ||
.id-lock-subscription a, | .id-lock-subscription a, | ||
.citation .cs1-lock-subscription a { | .citation .cs1-lock-subscription a { | ||
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Lock-red-alt-2.svg/9px-Lock-red-alt-2.svg.png) no-repeat; | background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Lock-red-alt-2.svg/9px-Lock-red-alt-2.svg.png); | ||
background-position: right .1em center; | background-image: linear-gradient(transparent, transparent), url(//upload.wikimedia.org/wikipedia/commons/a/aa/Lock-red-alt-2.svg); | ||
background-repeat: no-repeat; | |||
background-size: 9px; | |||
background-position: right .1em center; | |||
} | } | ||
Line 73: | Line 82: | ||
*/ | */ | ||
.cs1-ws-icon a { | .cs1-ws-icon a { | ||
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Wikisource-logo.svg/12px-Wikisource-logo.svg.png) no-repeat; | background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Wikisource-logo.svg/12px-Wikisource-logo.svg.png); | ||
background-image: linear-gradient(transparent, transparent), url(//upload.wikimedia.org/wikipedia/commons/4/4c/Wikisource-logo.svg); | |||
background-repeat: no-repeat; | |||
background-size: 12px; | |||
background-position: right .1em center; | background-position: right .1em center; | ||
} | } | ||
Line 128: | Line 140: | ||
.cs1-kern-wl-right { | .cs1-kern-wl-right { | ||
padding-right: 0.2em; | padding-right: 0.2em; | ||
} | |||
/* selflinks – avoid bold font style when cs1|2 template links to the current page */ | |||
.citation .mw-selflink { | |||
font-weight: inherit; | |||
} | } |