summaryrefslogtreecommitdiff
path: root/packages/fontawesome-free-6.5.2-web/less/_stacked.less
diff options
context:
space:
mode:
Diffstat (limited to 'packages/fontawesome-free-6.5.2-web/less/_stacked.less')
-rw-r--r--packages/fontawesome-free-6.5.2-web/less/_stacked.less31
1 files changed, 31 insertions, 0 deletions
diff --git a/packages/fontawesome-free-6.5.2-web/less/_stacked.less b/packages/fontawesome-free-6.5.2-web/less/_stacked.less
new file mode 100644
index 0000000..5955df6
--- /dev/null
+++ b/packages/fontawesome-free-6.5.2-web/less/_stacked.less
@@ -0,0 +1,31 @@
+// stacking icons
+// -------------------------
+
+.@{fa-css-prefix}-stack {
+ display: inline-block;
+ height: 2em;
+ line-height: 2em;
+ position: relative;
+ vertical-align: @fa-stack-vertical-align;
+ width: @fa-stack-width;
+}
+
+.@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x {
+ left: 0;
+ position: absolute;
+ text-align: center;
+ width: 100%;
+ z-index: ~'var(--@{fa-css-prefix}-stack-z-index, @{fa-stack-z-index})';
+}
+
+.@{fa-css-prefix}-stack-1x {
+ line-height: inherit;
+}
+
+.@{fa-css-prefix}-stack-2x {
+ font-size: 2em;
+}
+
+.@{fa-css-prefix}-inverse {
+ color: ~'var(--@{fa-css-prefix}-inverse, @{fa-inverse})';
+}