From f0ce0d8718daa3e1b489b2b5a2989263b41850ac Mon Sep 17 00:00:00 2001 From: Alex Jegtnes Date: Wed, 20 Jan 2016 22:31:24 +0000 Subject: [PATCH] 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 `` and `` blocks. --- assets/css/screen.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/assets/css/screen.css b/assets/css/screen.css index 898b956..e0afb6f 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -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 {