2 // --------------------------
6 font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration
7 font-size: inherit; // can't have font-size inherit on line above, so need to override
8 text-rendering: auto; // optimizelegibility throws things off #1094
9 -webkit-font-smoothing: antialiased;
10 -moz-osx-font-smoothing: grayscale;
14 .fa-icon-rotate(@degrees, @rotation) {
15 -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=@{rotation})";
16 -webkit-transform: rotate(@degrees);
17 -ms-transform: rotate(@degrees);
18 transform: rotate(@degrees);
21 .fa-icon-flip(@horiz, @vert, @rotation) {
22 -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=@{rotation}, mirror=1)";
23 -webkit-transform: scale(@horiz, @vert);
24 -ms-transform: scale(@horiz, @vert);
25 transform: scale(@horiz, @vert);
29 // Only display content to screen readers. A la Bootstrap 4.
31 // See: http://a11yproject.com/posts/how-to-hide-content/
44 // Use in conjunction with .sr-only to only display content when it's focused.
46 // Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
48 // Credit: HTML5 Boilerplate
50 .sr-only-focusable() {