Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
galaxyproject
GitHub Repository: galaxyproject/training-material
Path: blob/main/assets/fontawesome/css/svg-with-js.css
2639 views
1
/*!
2
* Font Awesome Free 7.1.0 by @fontawesome - https://fontawesome.com
3
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
* Copyright 2025 Fonticons, Inc.
5
*/
6
:root, :host {
7
--fa-font-solid: normal 900 1em/1 "Font Awesome 7 Free";
8
--fa-font-regular: normal 400 1em/1 "Font Awesome 7 Free";
9
--fa-font-light: normal 300 1em/1 "Font Awesome 7 Pro";
10
--fa-font-thin: normal 100 1em/1 "Font Awesome 7 Pro";
11
--fa-font-duotone: normal 900 1em/1 "Font Awesome 7 Duotone";
12
--fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 7 Duotone";
13
--fa-font-duotone-light: normal 300 1em/1 "Font Awesome 7 Duotone";
14
--fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 7 Duotone";
15
--fa-font-brands: normal 400 1em/1 "Font Awesome 7 Brands";
16
--fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 7 Sharp";
17
--fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 7 Sharp";
18
--fa-font-sharp-light: normal 300 1em/1 "Font Awesome 7 Sharp";
19
--fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 7 Sharp";
20
--fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 7 Sharp Duotone";
21
--fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 7 Sharp Duotone";
22
--fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 7 Sharp Duotone";
23
--fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 7 Sharp Duotone";
24
--fa-font-slab-regular: normal 400 1em/1 "Font Awesome 7 Slab";
25
--fa-font-slab-press-regular: normal 400 1em/1 "Font Awesome 7 Slab Press";
26
--fa-font-whiteboard-semibold: normal 600 1em/1 "Font Awesome 7 Whiteboard";
27
--fa-font-thumbprint-light: normal 300 1em/1 "Font Awesome 7 Thumbprint";
28
--fa-font-notdog-solid: normal 900 1em/1 "Font Awesome 7 Notdog";
29
--fa-font-notdog-duo-solid: normal 900 1em/1 "Font Awesome 7 Notdog Duo";
30
--fa-font-etch-solid: normal 900 1em/1 "Font Awesome 7 Etch";
31
--fa-font-jelly-regular: normal 400 1em/1 "Font Awesome 7 Jelly";
32
--fa-font-jelly-fill-regular: normal 400 1em/1 "Font Awesome 7 Jelly Fill";
33
--fa-font-jelly-duo-regular: normal 400 1em/1 "Font Awesome 7 Jelly Duo";
34
--fa-font-chisel-regular: normal 400 1em/1 "Font Awesome 7 Chisel";
35
--fa-font-utility-semibold: normal 600 1em/1 "Font Awesome 7 Utility";
36
--fa-font-utility-duo-semibold: normal 600 1em/1 "Font Awesome 7 Utility Duo";
37
--fa-font-utility-fill-semibold: normal 600 1em/1 "Font Awesome 7 Utility Fill";
38
}
39
40
.svg-inline--fa {
41
box-sizing: content-box;
42
display: var(--fa-display, inline-block);
43
height: 1em;
44
overflow: visible;
45
vertical-align: -0.125em;
46
width: var(--fa-width, 1.25em);
47
}
48
.svg-inline--fa.fa-2xs {
49
vertical-align: 0.1em;
50
}
51
.svg-inline--fa.fa-xs {
52
vertical-align: 0em;
53
}
54
.svg-inline--fa.fa-sm {
55
vertical-align: -0.0714285714em;
56
}
57
.svg-inline--fa.fa-lg {
58
vertical-align: -0.2em;
59
}
60
.svg-inline--fa.fa-xl {
61
vertical-align: -0.25em;
62
}
63
.svg-inline--fa.fa-2xl {
64
vertical-align: -0.3125em;
65
}
66
.svg-inline--fa.fa-pull-left,
67
.svg-inline--fa .fa-pull-start {
68
float: inline-start;
69
margin-inline-end: var(--fa-pull-margin, 0.3em);
70
}
71
.svg-inline--fa.fa-pull-right,
72
.svg-inline--fa .fa-pull-end {
73
float: inline-end;
74
margin-inline-start: var(--fa-pull-margin, 0.3em);
75
}
76
.svg-inline--fa.fa-li {
77
width: var(--fa-li-width, 2em);
78
inset-inline-start: calc(-1 * var(--fa-li-width, 2em));
79
inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */
80
}
81
82
.fa-layers-counter, .fa-layers-text {
83
display: inline-block;
84
position: absolute;
85
text-align: center;
86
}
87
88
.fa-layers {
89
display: inline-block;
90
height: 1em;
91
position: relative;
92
text-align: center;
93
vertical-align: -0.125em;
94
width: var(--fa-width, 1.25em);
95
}
96
.fa-layers .svg-inline--fa {
97
inset: 0;
98
margin: auto;
99
position: absolute;
100
transform-origin: center center;
101
}
102
103
.fa-layers-text {
104
left: 50%;
105
top: 50%;
106
transform: translate(-50%, -50%);
107
transform-origin: center center;
108
}
109
110
.fa-layers-counter {
111
background-color: var(--fa-counter-background-color, #ff253a);
112
border-radius: var(--fa-counter-border-radius, 1em);
113
box-sizing: border-box;
114
color: var(--fa-inverse, #fff);
115
line-height: var(--fa-counter-line-height, 1);
116
max-width: var(--fa-counter-max-width, 5em);
117
min-width: var(--fa-counter-min-width, 1.5em);
118
overflow: hidden;
119
padding: var(--fa-counter-padding, 0.25em 0.5em);
120
right: var(--fa-right, 0);
121
text-overflow: ellipsis;
122
top: var(--fa-top, 0);
123
transform: scale(var(--fa-counter-scale, 0.25));
124
transform-origin: top right;
125
}
126
127
.fa-layers-bottom-right {
128
bottom: var(--fa-bottom, 0);
129
right: var(--fa-right, 0);
130
top: auto;
131
transform: scale(var(--fa-layers-scale, 0.25));
132
transform-origin: bottom right;
133
}
134
135
.fa-layers-bottom-left {
136
bottom: var(--fa-bottom, 0);
137
left: var(--fa-left, 0);
138
right: auto;
139
top: auto;
140
transform: scale(var(--fa-layers-scale, 0.25));
141
transform-origin: bottom left;
142
}
143
144
.fa-layers-top-right {
145
top: var(--fa-top, 0);
146
right: var(--fa-right, 0);
147
transform: scale(var(--fa-layers-scale, 0.25));
148
transform-origin: top right;
149
}
150
151
.fa-layers-top-left {
152
left: var(--fa-left, 0);
153
right: auto;
154
top: var(--fa-top, 0);
155
transform: scale(var(--fa-layers-scale, 0.25));
156
transform-origin: top left;
157
}
158
159
.fa-1x {
160
font-size: 1em;
161
}
162
163
.fa-2x {
164
font-size: 2em;
165
}
166
167
.fa-3x {
168
font-size: 3em;
169
}
170
171
.fa-4x {
172
font-size: 4em;
173
}
174
175
.fa-5x {
176
font-size: 5em;
177
}
178
179
.fa-6x {
180
font-size: 6em;
181
}
182
183
.fa-7x {
184
font-size: 7em;
185
}
186
187
.fa-8x {
188
font-size: 8em;
189
}
190
191
.fa-9x {
192
font-size: 9em;
193
}
194
195
.fa-10x {
196
font-size: 10em;
197
}
198
199
.fa-2xs {
200
font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that's relative to the scale's 16px base */
201
line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it's parent */
202
vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
203
}
204
205
.fa-xs {
206
font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that's relative to the scale's 16px base */
207
line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it's parent */
208
vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
209
}
210
211
.fa-sm {
212
font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that's relative to the scale's 16px base */
213
line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it's parent */
214
vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
215
}
216
217
.fa-lg {
218
font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that's relative to the scale's 16px base */
219
line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it's parent */
220
vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
221
}
222
223
.fa-xl {
224
font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that's relative to the scale's 16px base */
225
line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it's parent */
226
vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
227
}
228
229
.fa-2xl {
230
font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that's relative to the scale's 16px base */
231
line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it's parent */
232
vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
233
}
234
235
.fa-width-auto {
236
--fa-width: auto;
237
}
238
239
.fa-fw,
240
.fa-width-fixed {
241
--fa-width: 1.25em;
242
}
243
244
.fa-ul {
245
list-style-type: none;
246
margin-inline-start: var(--fa-li-margin, 2.5em);
247
padding-inline-start: 0;
248
}
249
.fa-ul > li {
250
position: relative;
251
}
252
253
.fa-li {
254
inset-inline-start: calc(-1 * var(--fa-li-width, 2em));
255
position: absolute;
256
text-align: center;
257
width: var(--fa-li-width, 2em);
258
line-height: inherit;
259
}
260
261
/* Heads Up: Bordered Icons will not be supported in the future!
262
- This feature will be deprecated in the next major release of Font Awesome (v8)!
263
- You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8.
264
*/
265
/* Notes:
266
* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size)
267
* --@{v.$css-prefix}-border-padding =
268
** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it's vertical alignment)
269
** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon)
270
*/
271
.fa-border {
272
border-color: var(--fa-border-color, #eee);
273
border-radius: var(--fa-border-radius, 0.1em);
274
border-style: var(--fa-border-style, solid);
275
border-width: var(--fa-border-width, 0.0625em);
276
box-sizing: var(--fa-border-box-sizing, content-box);
277
padding: var(--fa-border-padding, 0.1875em 0.25em);
278
}
279
280
.fa-pull-left,
281
.fa-pull-start {
282
float: inline-start;
283
margin-inline-end: var(--fa-pull-margin, 0.3em);
284
}
285
286
.fa-pull-right,
287
.fa-pull-end {
288
float: inline-end;
289
margin-inline-start: var(--fa-pull-margin, 0.3em);
290
}
291
292
.fa-beat {
293
animation-name: fa-beat;
294
animation-delay: var(--fa-animation-delay, 0s);
295
animation-direction: var(--fa-animation-direction, normal);
296
animation-duration: var(--fa-animation-duration, 1s);
297
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
298
animation-timing-function: var(--fa-animation-timing, ease-in-out);
299
}
300
301
.fa-bounce {
302
animation-name: fa-bounce;
303
animation-delay: var(--fa-animation-delay, 0s);
304
animation-direction: var(--fa-animation-direction, normal);
305
animation-duration: var(--fa-animation-duration, 1s);
306
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
307
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
308
}
309
310
.fa-fade {
311
animation-name: fa-fade;
312
animation-delay: var(--fa-animation-delay, 0s);
313
animation-direction: var(--fa-animation-direction, normal);
314
animation-duration: var(--fa-animation-duration, 1s);
315
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
316
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
317
}
318
319
.fa-beat-fade {
320
animation-name: fa-beat-fade;
321
animation-delay: var(--fa-animation-delay, 0s);
322
animation-direction: var(--fa-animation-direction, normal);
323
animation-duration: var(--fa-animation-duration, 1s);
324
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
325
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
326
}
327
328
.fa-flip {
329
animation-name: fa-flip;
330
animation-delay: var(--fa-animation-delay, 0s);
331
animation-direction: var(--fa-animation-direction, normal);
332
animation-duration: var(--fa-animation-duration, 1s);
333
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
334
animation-timing-function: var(--fa-animation-timing, ease-in-out);
335
}
336
337
.fa-shake {
338
animation-name: fa-shake;
339
animation-delay: var(--fa-animation-delay, 0s);
340
animation-direction: var(--fa-animation-direction, normal);
341
animation-duration: var(--fa-animation-duration, 1s);
342
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
343
animation-timing-function: var(--fa-animation-timing, linear);
344
}
345
346
.fa-spin {
347
animation-name: fa-spin;
348
animation-delay: var(--fa-animation-delay, 0s);
349
animation-direction: var(--fa-animation-direction, normal);
350
animation-duration: var(--fa-animation-duration, 2s);
351
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
352
animation-timing-function: var(--fa-animation-timing, linear);
353
}
354
355
.fa-spin-reverse {
356
--fa-animation-direction: reverse;
357
}
358
359
.fa-pulse,
360
.fa-spin-pulse {
361
animation-name: fa-spin;
362
animation-direction: var(--fa-animation-direction, normal);
363
animation-duration: var(--fa-animation-duration, 1s);
364
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
365
animation-timing-function: var(--fa-animation-timing, steps(8));
366
}
367
368
@media (prefers-reduced-motion: reduce) {
369
.fa-beat,
370
.fa-bounce,
371
.fa-fade,
372
.fa-beat-fade,
373
.fa-flip,
374
.fa-pulse,
375
.fa-shake,
376
.fa-spin,
377
.fa-spin-pulse {
378
animation: none !important;
379
transition: none !important;
380
}
381
}
382
@keyframes fa-beat {
383
0%, 90% {
384
transform: scale(1);
385
}
386
45% {
387
transform: scale(var(--fa-beat-scale, 1.25));
388
}
389
}
390
@keyframes fa-bounce {
391
0% {
392
transform: scale(1, 1) translateY(0);
393
}
394
10% {
395
transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
396
}
397
30% {
398
transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
399
}
400
50% {
401
transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
402
}
403
57% {
404
transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
405
}
406
64% {
407
transform: scale(1, 1) translateY(0);
408
}
409
100% {
410
transform: scale(1, 1) translateY(0);
411
}
412
}
413
@keyframes fa-fade {
414
50% {
415
opacity: var(--fa-fade-opacity, 0.4);
416
}
417
}
418
@keyframes fa-beat-fade {
419
0%, 100% {
420
opacity: var(--fa-beat-fade-opacity, 0.4);
421
transform: scale(1);
422
}
423
50% {
424
opacity: 1;
425
transform: scale(var(--fa-beat-fade-scale, 1.125));
426
}
427
}
428
@keyframes fa-flip {
429
50% {
430
transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
431
}
432
}
433
@keyframes fa-shake {
434
0% {
435
transform: rotate(-15deg);
436
}
437
4% {
438
transform: rotate(15deg);
439
}
440
8%, 24% {
441
transform: rotate(-18deg);
442
}
443
12%, 28% {
444
transform: rotate(18deg);
445
}
446
16% {
447
transform: rotate(-22deg);
448
}
449
20% {
450
transform: rotate(22deg);
451
}
452
32% {
453
transform: rotate(-12deg);
454
}
455
36% {
456
transform: rotate(12deg);
457
}
458
40%, 100% {
459
transform: rotate(0deg);
460
}
461
}
462
@keyframes fa-spin {
463
0% {
464
transform: rotate(0deg);
465
}
466
100% {
467
transform: rotate(360deg);
468
}
469
}
470
.fa-rotate-90 {
471
transform: rotate(90deg);
472
}
473
474
.fa-rotate-180 {
475
transform: rotate(180deg);
476
}
477
478
.fa-rotate-270 {
479
transform: rotate(270deg);
480
}
481
482
.fa-flip-horizontal {
483
transform: scale(-1, 1);
484
}
485
486
.fa-flip-vertical {
487
transform: scale(1, -1);
488
}
489
490
.fa-flip-both,
491
.fa-flip-horizontal.fa-flip-vertical {
492
transform: scale(-1, -1);
493
}
494
495
.fa-rotate-by {
496
transform: rotate(var(--fa-rotate-angle, 0));
497
}
498
499
.svg-inline--fa .fa-primary {
500
fill: var(--fa-primary-color, currentColor);
501
opacity: var(--fa-primary-opacity, 1);
502
}
503
504
.svg-inline--fa .fa-secondary {
505
fill: var(--fa-secondary-color, currentColor);
506
opacity: var(--fa-secondary-opacity, 0.4);
507
}
508
509
.svg-inline--fa.fa-swap-opacity .fa-primary {
510
opacity: var(--fa-secondary-opacity, 0.4);
511
}
512
513
.svg-inline--fa.fa-swap-opacity .fa-secondary {
514
opacity: var(--fa-primary-opacity, 1);
515
}
516
517
.svg-inline--fa mask .fa-primary,
518
.svg-inline--fa mask .fa-secondary {
519
fill: black;
520
}
521
522
.svg-inline--fa.fa-inverse {
523
fill: var(--fa-inverse, #fff);
524
}
525
526
.fa-stack {
527
display: inline-block;
528
height: 2em;
529
line-height: 2em;
530
position: relative;
531
vertical-align: middle;
532
width: 2.5em;
533
}
534
535
.fa-inverse {
536
color: var(--fa-inverse, #fff);
537
}
538
539
.svg-inline--fa.fa-stack-1x {
540
--fa-width: 1.25em;
541
height: 1em;
542
width: var(--fa-width);
543
}
544
.svg-inline--fa.fa-stack-2x {
545
--fa-width: 2.5em;
546
height: 2em;
547
width: var(--fa-width);
548
}
549
550
.fa-stack-1x,
551
.fa-stack-2x {
552
inset: 0;
553
margin: auto;
554
position: absolute;
555
z-index: var(--fa-stack-z-index, auto);
556
}
557