Module:Citation/CS1/sandbox/styles.css

From Bharatpedia, an open encyclopedia
/*
History of changes since last sync: 2024-08-02
*/
/* Highlight linked elements (such as clicked references) in blue */
/* Errors and maintenance */
	/* <code>...</code> style override: mediawiki's css definition is specified here:
	color: inherit;

.cs1-hidden-error {
	display: none;
}


.cs1-maint {
	display: none;
	color: #085;
	margin-left: 0.3em;
}

/* kerning */
.cs1-kern-left {
	padding-left: 0.2em;
}

.cs1-kern-right {
	padding-right: 0.2em;
}

/* selflinks – avoid bold font style when cs1|2 template links to the current page */
.citation .mw-selflink {
	font-weight: inherit;
}

@media screen {
	/* Small text size
	Set small text size in one place. 0.95 (here) * 0.9 (from references list) is
	~0.85, which is the lower bound for size for accessibility. Old styling for this
	was just 0.85. We could write the rule so that when this template is inside
	references/reflist, only then does it multiply by 0.95; else multiply by 0.85 */
	.cs1-format {
		font-size: 95%;
	}
	
	}