From 2a290b4f0b9785859c1de6c3af7685b5e6d2026d Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Tue, 5 May 2020 12:56:43 +0000 Subject: [PATCH] Added CSS styling to support superposition of Font-Awesome glyphs other than the builtin 1x on 2x sizes. Commit ready to merge. - Legacy-Id: 17736 --- ietf/static/ietf/css/ietf.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/ietf/static/ietf/css/ietf.css b/ietf/static/ietf/css/ietf.css index 28dc5082c..51e1220d8 100644 --- a/ietf/static/ietf/css/ietf.css +++ b/ietf/static/ietf/css/ietf.css @@ -771,6 +771,25 @@ ul.progress-section { .btn .fa-stack { width: 1em; height: 1em; } .btn .fa-stack .fa-stack-1x { line-height: 80%; } +.fa-stack-1 { + position: relative; + display: inline-block; + width: 1.28571429em; + height: 1em; + vertical-align: inherit; +} +.fa-stack-sm { + width: 100%; + text-align: center; + font-size: 0.7172em; + line-height: inherit; +} +.fa-stack-xs { + width: 100%; + text-align: center; + font-size: 0.5em; + line-height: inherit; +} /* ========================================================================== */