Web version displays italicized words as monospace, without italics
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Idoneità per principianti
- 55/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- css
- Ambito
- documentation
Direzione di ricerca
Locate the #documentation #main p em CSS rule shown in the issue and inspect how it affects em elements in the HTML documentation. Adjust the styling so italicized terms render as italics rather than monospace, then compare the HTML examples with the PDF presentation.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- CSS
- Stelle
- 6.6k
- Fork
- 2.1k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di progit/progit2
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
-
enhancement
Difficoltà 1/5 1-3 ore Idoneità per principianti 65/100
-
enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100