Skip to content

Commit 2a290b4

Browse files
committed
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
1 parent e6f6799 commit 2a290b4

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

ietf/static/ietf/css/ietf.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,25 @@ ul.progress-section {
771771

772772
.btn .fa-stack { width: 1em; height: 1em; }
773773
.btn .fa-stack .fa-stack-1x { line-height: 80%; }
774+
.fa-stack-1 {
775+
position: relative;
776+
display: inline-block;
777+
width: 1.28571429em;
778+
height: 1em;
779+
vertical-align: inherit;
780+
}
781+
.fa-stack-sm {
782+
width: 100%;
783+
text-align: center;
784+
font-size: 0.7172em;
785+
line-height: inherit;
786+
}
787+
.fa-stack-xs {
788+
width: 100%;
789+
text-align: center;
790+
font-size: 0.5em;
791+
line-height: inherit;
792+
}
774793

775794
/* ========================================================================== */
776795

0 commit comments

Comments
 (0)