aboutsummaryrefslogtreecommitdiff
path: root/themes/docsy/assets/vendor/Font-Awesome/less/_larger.less
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2019-10-06 21:10:46 +0200
committerDimitri Staessens <[email protected]>2019-10-06 21:10:46 +0200
commit568553394d0a8b34668a75c9839a0f1f426469b2 (patch)
tree175c08844f05611b059ba6900fb6519dbbc735d2 /themes/docsy/assets/vendor/Font-Awesome/less/_larger.less
parentd5d6f70371958eec0679831abd283498ff2731e5 (diff)
downloadwebsite-568553394d0a8b34668a75c9839a0f1f426469b2.tar.gz
website-568553394d0a8b34668a75c9839a0f1f426469b2.zip
theme: Switch to docsy theme
Diffstat (limited to 'themes/docsy/assets/vendor/Font-Awesome/less/_larger.less')
-rw-r--r--themes/docsy/assets/vendor/Font-Awesome/less/_larger.less27
1 files changed, 27 insertions, 0 deletions
diff --git a/themes/docsy/assets/vendor/Font-Awesome/less/_larger.less b/themes/docsy/assets/vendor/Font-Awesome/less/_larger.less
new file mode 100644
index 0000000..6cbb1ec
--- /dev/null
+++ b/themes/docsy/assets/vendor/Font-Awesome/less/_larger.less
@@ -0,0 +1,27 @@
+// Icon Sizes
+// -------------------------
+
+.larger(@factor) when (@factor > 0) {
+ .larger((@factor - 1));
+
+ .@{fa-css-prefix}-@{factor}x {
+ font-size: (@factor * 1em);
+ }
+}
+
+/* makes the font 33% larger relative to the icon container */
+.@{fa-css-prefix}-lg {
+ font-size: (4em / 3);
+ line-height: (3em / 4);
+ vertical-align: -.0667em;
+}
+
+.@{fa-css-prefix}-xs {
+ font-size: .75em;
+}
+
+.@{fa-css-prefix}-sm {
+ font-size: .875em;
+}
+
+.larger(10);