Difference between revisions of "Module:Citation/CS1/styles.css"
Jump to navigation
Jump to search
(Created page with "/*-------------------------< P R O T E C T I O N I C O N >-------------------- the following line controls the page-protection icon in the upper right corner it must remain...") |
|||
Line 6: | Line 6: | ||
*/ | */ | ||
+ | |||
+ | |||
+ | /*-------------------------< O V E R R I D E S >-------------------------------- | ||
+ | |||
+ | cs1|2 references are wrapped in <cite>...</cite> tags. Some wikis 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; | ||
+ | } | ||
+ | |||
+ | .citation q { | ||
+ | /* Straight quote marks for <q>; keep same as [[MediaWiki:Common.css]] */ | ||
+ | quotes: '"' '"' "'" "'"; | ||
+ | } |
Revision as of 14:18, 9 March 2020
/*-------------------------< P R O T E C T I O N I C O N >-------------------- the following line controls the page-protection icon in the upper right corner it must remain within this comment {{sandbox other||{{pp-template}}}} */ /*-------------------------< O V E R R I D E S >-------------------------------- cs1|2 references are wrapped in <cite>...</cite> tags. Some wikis 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; } .citation q { /* Straight quote marks for <q>; keep same as [[MediaWiki:Common.css]] */ quotes: '"' '"' "'" "'"; }