progit2
progit2 copied to clipboard
Web version displays italicized words as monospace, without italics
Several jargon terms are marked with italics in the PDF version. For example, staged in section The Three States, or remote in section The Refspec.
In the HTML version though, these terms are <em> elements which are formatted as monospace rather than italics. This is due to the following CSS rule, which overrides UA stylesheets:
#documentation #main p em {
font-family: Courier,monospace !important;
font-variant-ligatures: none;
font-style: normal;
font-weight: 700;
color: #4e443c;
}
In several cases (jargon terms), it might be sensible to use monospace, but "disabling" italics seems misguided, making the format both less common and harder to distinguish from code fragments. For sure, the format would better be consistent regardless of the version.