Jump to content

User:BrandonXLF/CitationStyleMarker.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/*** Citation Style Marker ***/

/* Puts the type of citation style a citation is using next to it */
/* Documentation at [[en:w:User:BrandonXLF/CitationStyleMarker]] */
/* By [[en:w:User:BrandonXLF]] */

body:not(.nocsmarker) cite.cs1::after {
	content: ' CS1';
	color: #b4b;
	font-weight: bold;
}

body:not(.nocsmarker) cite.cs2::after {
	content: ' CS2';
	color: #b40;
	font-weight: bold;
}

body:not(.nocsmarker) .csvan::after {
	content: ' CSVAN';
	color: #b06;
	font-weight: bold;
}

body:not(.nocsmarker) .cslsa::after {
	content: ' CSLSA';
	color: #848;
	font-weight: bold;
}