about summary refs log tree commit diff
path: root/src/librustdoc/html/static
diff options
context:
space:
mode:
authorAdrien Tétar <adri-from-59@hotmail.fr>2014-11-01 00:16:48 +0100
committerAdrien Tétar <adri-from-59@hotmail.fr>2014-11-01 00:16:48 +0100
commitf4fb57b1106dfd386da8bec2c0617e50e1e7311f (patch)
tree2608c4ba7f14b880eb306db22876bf372fa12800 /src/librustdoc/html/static
parentc809a4ff014bef082873953c0369dc2a423f8144 (diff)
downloadrust-f4fb57b1106dfd386da8bec2c0617e50e1e7311f.tar.gz
rust-f4fb57b1106dfd386da8bec2c0617e50e1e7311f.zip
doc: enable OpenType kerning and ligatures
Diffstat (limited to 'src/librustdoc/html/static')
-rw-r--r--src/librustdoc/html/static/main.css6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/main.css b/src/librustdoc/html/static/main.css
index cb40cccf3b3..7cc34798f99 100644
--- a/src/librustdoc/html/static/main.css
+++ b/src/librustdoc/html/static/main.css
@@ -69,6 +69,10 @@ body {
     margin: 0;
     position: relative;
     padding: 10px 15px 20px 15px;
+
+    -webkit-font-feature-settings: "kern", "liga";
+    -moz-font-feature-settings: "kern", "liga";
+    font-feature-settings: "kern", "liga";
 }
 
 h1 {
@@ -101,7 +105,7 @@ h3.impl, h3.method, h4.method {
 h3.impl, h3.method {
     margin-top: 15px;
 }
-h1, h2, h3, h4, section.sidebar, a.source, .search-input, .content table a, .collapse-toggle {
+h1, h2, h3, h4, section.sidebar, a.source, .search-input, .content table :not(code)>a, .collapse-toggle {
     font-family: "Fira Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
 }