Module:Citation/CS1/styles.css: Difference between revisions
overrides;
No edit summary |
(overrides;) |
||
Line 1: | Line 1: | ||
/*----------------------------< O V E R R I D E S >------------------------------------------------------------ | |||
cs1|2 references are wrapped in <cite>...</cite> tags. Some wiki's have not chosen to override the generic user | |||
agent italic styling as en.wiki has. This (untested) styling should override the user agent default when cs1|2 | |||
templates are rendered. | |||
Similarly, some languages use different quotation punctuation so that setting is also made available here. | |||
*/ | |||
cite.citation { /* Reset italic styling set by user agent (only for cs1|2 templates; the reason for the .citation qualifier) */ | |||
font-style: inherit; | |||
} | |||
q { /* Straight quote marks for <q> */ | |||
quotes: '"' '"' "'" "'"; | |||
} | |||
/*----------------------------< C O M M O N P R E S E N T A T I O N >---------------------------------------- | |||
<code>...</code> style override: mediawiki's css definition is specified here: | |||
https://git.wikimedia.org/blob/mediawiki%2Fcore.git/69cd73811f7aadd093050dbf20ed70ef0b42a713/skins%2Fcommon%2FcommonElements.css#L199 | |||
*/ | |||
.cs1_style_code { /* preserve font but remove other <code> styling; used in error messages */ | .cs1_style_code { /* preserve font but remove other <code> styling; used in error messages */ | ||
color:inherit; | color:inherit; |