Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

Template:F//styles.css: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m Protected "Template:F//styles.css": High-risk template or module: 771 transclusions (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite))
use ::first-letter selector of span.fnumber, so entire template replacement can be span-wrapped for more semantic markup
Line 1: Line 1:
.fnumber {
span.fnumber {
display: inline-block;
}

span.fnumber::first-letter {
font-style: italic;
font-style: italic;
font-family: Trebuchet MS, Candara, Georgia, Calibri, Corbel, serif;
font-family: Trebuchet MS, Candara, Georgia, Calibri, Corbel, serif;

Revision as of 22:08, 18 January 2024

span.fnumber {
	display: inline-block;
}

span.fnumber::first-letter {
	font-style: italic;
	font-family: Trebuchet MS, Candara, Georgia, Calibri, Corbel, serif;
}
');