Module:Citation/CS1/sandbox/styles.css

From imedwiki
Jump to navigation Jump to search
/*
History of changes since last sync: 2021-01-09
2021-05-03: Removed reliance on .error.
2021-07-28: Removed extra kerning classes
2021-07-29: Removed unused cs1-subscription/registration styles
2021-08-31: Moved .citation styles from MediaWiki:Common.css
2021-08-31: Removed <code> selector
*/

/* Protection icon
the following line controls the page-protection icon in the upper right corner
it must remain within this comment
	{{sandbox other||{{pp-template}}}}

*/

/* Overrides
Some wikis do not override user agent default styles for HTML <cite> and <q>,
unlike en.wp. On en.wp, keep these the same as [[MediaWiki:Common.css]].

The word-wrap and :target styles were moved here from Common.css.
On en.wp, keep these the same as [[Template:Citation/styles.css]].
*/
cite.citation {
	font-style: inherit; /* Remove italics for <cite> */
	/* Break long urls, etc., rather than overflowing box */
	word-wrap: break-word;
}

.citation q {
	quotes: '"' '"' "'" "'"; /* Straight quote marks for <q> */
}

/* Highlight linked elements (such as clicked references) in blue */
.citation:target {
	/* ignore the linter - all browsers of interest implement this */
	background-color: rgba(0, 127, 255, 0.133);
}