summaryrefslogtreecommitdiff
path: root/pyssg.xyz/live/static/font-awesome/less/_larger.less
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2022-12-13 00:11:16 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2022-12-13 00:11:16 -0600
commitdb4b3736d4f45137a733ce5eb1e50aec968ca1d2 (patch)
treea68b12886c8fbf9952c19a4f3cc7f819a6913bfe /pyssg.xyz/live/static/font-awesome/less/_larger.less
parentca643e729e585d4077c0e84de97a020d04bf551a (diff)
update pyssg.xyz site files
Diffstat (limited to 'pyssg.xyz/live/static/font-awesome/less/_larger.less')
-rw-r--r--pyssg.xyz/live/static/font-awesome/less/_larger.less27
1 files changed, 27 insertions, 0 deletions
diff --git a/pyssg.xyz/live/static/font-awesome/less/_larger.less b/pyssg.xyz/live/static/font-awesome/less/_larger.less
new file mode 100644
index 0000000..6cbb1ec
--- /dev/null
+++ b/pyssg.xyz/live/static/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);