Difference between revisions of "Module:Citation/CS1/styles.css"

From imedwiki
Jump to navigation Jump to search
(update)
(update)
Line 18: Line 18:
 
.citation q {
 
.citation q {
 
quotes: '"' '"' "'" "'"; /* Straight quote marks for <q> */
 
quotes: '"' '"' "'" "'"; /* Straight quote marks for <q> */
 +
}
 +
 +
 +
 +
/* kerning */
 +
.cs1-kern-left,
 +
.cs1-kern-wl-left {
 +
padding-left: 0.2em;
 +
}
 +
 +
.cs1-kern-right,
 +
.cs1-kern-wl-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;
 
}
 
}

Revision as of 13:10, 20 September 2021

/* 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]]
*/
cite.citation {
	font-style: inherit; /* Remove italics for <cite> */
}


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



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

.cs1-kern-right,
.cs1-kern-wl-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;
}