diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index 52865cf0da5cefb0e7858c97aa80d3cceba8f73f..2600fc4d49441fefc8d30525248181bbff8f1ea6 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -2162,8 +2162,9 @@ table th[class*="span"],
 }
 
 [class^="glyphicon-"]:before {
-  display: inline-block;
-  font: normal 12px/1 'Glyphicons Halflings';
+  font-family: 'Glyphicons Halflings';
+  font-style: normal;
+  line-height: 1;
 }
 
 .glyphicon-glass:before {
@@ -3237,16 +3238,13 @@ button.close {
           border-radius: 3px;
 }
 
-.btn-large [class^="glyphicon-"]::before {
-  font-size: 14px;
-}
-
-.btn-small [class^="glyphicon-"]::before {
-  font-size: 10px;
+.btn [class^="glyphicon-"]::before {
+  vertical-align: -2px;
 }
 
+.btn-small [class^="glyphicon-"]::before,
 .btn-mini [class^="glyphicon-"]::before {
-  font-size: 9px;
+  vertical-align: -1px;
 }
 
 .btn-block {
diff --git a/less/buttons.less b/less/buttons.less
index 3e07b2b05b4a6995471508a6e262281a82b1be17..45bd07604663624f667ff38f58c331a28e2b9fdf 100644
--- a/less/buttons.less
+++ b/less/buttons.less
@@ -95,9 +95,9 @@
 // Icons in buttons
 // -------------------------
 
-.btn-large [class^="glyphicon-"]::before { font-size: 14px; }
-.btn-small [class^="glyphicon-"]::before { font-size: 10px; }
-.btn-mini [class^="glyphicon-"]::before  { font-size: 9px; }
+.btn [class^="glyphicon-"]::before       { vertical-align: -2px; }
+.btn-small [class^="glyphicon-"]::before,
+.btn-mini [class^="glyphicon-"]::before  { vertical-align: -1px; }
 
 
 // Block button
diff --git a/less/glyphicons.less b/less/glyphicons.less
index 64e954f352361ae4233f5c6b62164b0beee3b722..ad22b457931d3a288e0d0d4248524b715ce019eb 100644
--- a/less/glyphicons.less
+++ b/less/glyphicons.less
@@ -32,8 +32,9 @@
 
 // Catchall baseclass
 [class^="glyphicon-"]:before {
-  display: inline-block;
-  font: normal 12px/1 'Glyphicons Halflings';
+  font-family: 'Glyphicons Halflings';
+  font-style: normal;
+  line-height: 1;
 }
 
 // Individual icons