Disable ligatures in code blocks
I recently created a new Ghost blog and a colleague pointed out that ligatures for code blocks looked a bit off. They weren't enabled in Firefox by default, but in Chrome (possibly different browser defaults?). This PR standardises it and removes any ligatures from `<code>` and `<tt>` blocks.
This commit is contained in:
parent
de91a4006b
commit
f0ce0d8718
1 changed files with 3 additions and 0 deletions
|
@ -344,6 +344,9 @@ code, tt {
|
|||
border: #E3EDF3 1px solid;
|
||||
background: #F7FAFB;
|
||||
border-radius: 2px;
|
||||
-webkit-font-feature-settings: "liga" 0;
|
||||
-moz-font-feature-settings: "liga" 0;
|
||||
font-feature-settings: "liga" 0;
|
||||
}
|
||||
|
||||
pre {
|
||||
|
|
Loading…
Reference in a new issue