Jump to content

Module:Citation/CS1/styles.css: Difference between revisions

sync from sandbox;
(imported from en.wikipedia)
(sync from sandbox;)
Line 33: Line 33:
for PDF pages. All TemplateStyles pages are hoisted to .mw-parser-output. We need
for PDF pages. All TemplateStyles pages are hoisted to .mw-parser-output. We need
to have specificity equal to a[href$=".pdf"].external for locks to override PDF icon.
to have specificity equal to a[href$=".pdf"].external for locks to override PDF icon.
the .id-lock-... selectors are for use by non-citation templates like {{Catalog lookup link}}
*/
*/
.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: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png) no-repeat;
Line 39: Line 43:
}
}


.id-lock-limited a,
.id-lock-registration a,
.citation .cs1-lock-limited a,
.citation .cs1-lock-limited a,
.citation .cs1-lock-registration a {
.citation .cs1-lock-registration a {
Line 45: Line 51:
}
}


.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: url(//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Lock-red-alt-2.svg/9px-Lock-red-alt-2.svg.png) no-repeat;
Cookies help us deliver our services. By using our services, you agree to our use of cookies.