bullframe.css 3.8.1 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/.browserslistrc +10 -6
  2. package/.stylelintrc.json +10 -0
  3. package/CHANGELOG.md +20 -4
  4. package/LICENSE +20 -20
  5. package/README.md +28 -179
  6. package/dist/css/bullframe-classless-dark-prefers.css +357 -425
  7. package/dist/css/bullframe-classless-dark-prefers.min.css +2 -3
  8. package/dist/css/bullframe-classless-dark-prefers.min.css.map +1 -1
  9. package/dist/css/bullframe-classless-dark.css +328 -412
  10. package/dist/css/bullframe-classless-dark.min.css +2 -3
  11. package/dist/css/bullframe-classless-dark.min.css.map +1 -1
  12. package/dist/css/bullframe-classless.css +237 -293
  13. package/dist/css/bullframe-classless.min.css +2 -2
  14. package/dist/css/bullframe-classless.min.css.map +1 -1
  15. package/dist/css/bullframe-dark-prefers.css +468 -633
  16. package/dist/css/bullframe-dark-prefers.min.css +2 -2
  17. package/dist/css/bullframe-dark-prefers.min.css.map +1 -1
  18. package/dist/css/bullframe-dark.css +402 -593
  19. package/dist/css/bullframe-dark.min.css +2 -2
  20. package/dist/css/bullframe-dark.min.css.map +1 -1
  21. package/dist/css/bullframe-utilities.css +87 -125
  22. package/dist/css/bullframe-utilities.min.css +1 -1
  23. package/dist/css/bullframe-utilities.min.css.map +1 -1
  24. package/dist/css/bullframe.css +288 -455
  25. package/dist/css/bullframe.min.css +1 -1
  26. package/dist/css/bullframe.min.css.map +1 -1
  27. package/docs/test/css/style.css +130 -130
  28. package/docs/test/icons/safari-pinned-tab.svg +28 -28
  29. package/docs/test/js/vendor/html5shiv.js +335 -335
  30. package/docs/test/js/vendor/ie10-viewport-bug-workaround.js +20 -20
  31. package/gulpfile.js +5 -2
  32. package/index.html +1214 -1223
  33. package/package.json +14 -11
  34. package/src/scss/bullframe-classless-dark-prefers.scss +5 -5
  35. package/src/scss/bullframe-classless-dark.scss +5 -5
  36. package/src/scss/bullframe-classless.scss +1 -9
  37. package/src/scss/bullframe-dark-prefers.scss +4 -4
  38. package/src/scss/bullframe-dark.scss +4 -4
  39. package/src/scss/bullframe-utilities.scss +1 -1
  40. package/src/scss/bullframe.scss +0 -7
  41. package/src/scss/forms/_forms-normalization.scss +4 -2
  42. package/src/scss/forms/_forms-styling-radio-checkbox.scss +84 -85
  43. package/src/scss/forms/_forms-styling-range.scss +99 -103
  44. package/src/scss/forms/_forms-styling-select.scss +63 -63
  45. package/src/scss/forms/_forms-styling.scss +119 -121
  46. package/src/scss/miscellaneous/_misc-focus.scss +0 -1
  47. package/src/scss/miscellaneous/_misc-layout.scss +1 -24
  48. package/src/scss/mixins/_mixin-grid-flex.scss +83 -83
  49. package/src/scss/mixins/_mixin-layout.scss +42 -42
  50. package/src/scss/mixins/_mixin-texts.scss +38 -37
  51. package/src/scss/typography/_typography-blockquotes.scss +23 -23
  52. package/src/scss/typography/_typography-headings.scss +43 -43
  53. package/src/scss/typography/_typography-html-body.scss +72 -72
  54. package/src/scss/typography/_typography-misc.scss +3 -3
  55. package/src/scss/typography/_typography-monospaced-elements.scss +50 -56
  56. package/src/scss/utilities/_utility-buttons.scss +71 -71
  57. package/src/scss/utilities/_utility-embeds.scss +34 -34
  58. package/src/scss/utilities/_utility-filters.scss +24 -24
  59. package/src/scss/utilities/_utility-form-states.scss +80 -80
  60. package/src/scss/utilities/_utility-global-dark-classless.scss +157 -169
  61. package/src/scss/utilities/_utility-global-dark-prefers-classless.scss +3 -3
  62. package/src/scss/utilities/_utility-global-dark-prefers.scss +3 -3
  63. package/src/scss/utilities/_utility-global-dark-scrollbars.scss +29 -29
  64. package/src/scss/utilities/_utility-global-dark.scss +213 -224
  65. package/src/scss/utilities/_utility-grid-system.scss +204 -204
  66. package/src/scss/utilities/_utility-layout.scss +195 -196
  67. package/src/scss/utilities/_utility-lists.scss +17 -17
  68. package/src/scss/utilities/_utility-print.scss +101 -111
  69. package/src/scss/utilities/_utility-reduced-motion.scss +29 -29
  70. package/src/scss/utilities/_utility-tables.scss +40 -40
  71. package/src/scss/utilities/_utility-texts.scss +199 -199
  72. package/src/scss/utilities/_utility-z-index.scss +82 -82
  73. package/src/scss/variables/_variables-breakpoints.scss +5 -5
  74. package/src/scss/variables/_variables-colors.scss +31 -31
  75. package/src/scss/variables/_variables-spacing.scss +25 -25
  76. package/src/scss/variables/_variables-texts.scss +12 -12
  77. package/dist/css/bullframe-classless-dark-ie10+.css +0 -1321
  78. package/dist/css/bullframe-classless-dark-ie10+.min.css +0 -4
  79. package/dist/css/bullframe-classless-dark-ie10+.min.css.map +0 -1
  80. package/dist/css/bullframe-classless-dark-prefers-ie10+.css +0 -1301
  81. package/dist/css/bullframe-classless-dark-prefers-ie10+.min.css +0 -4
  82. package/dist/css/bullframe-classless-dark-prefers-ie10+.min.css.map +0 -1
  83. package/dist/css/bullframe-classless-ie10+.css +0 -1084
  84. package/dist/css/bullframe-classless-ie10+.min.css +0 -3
  85. package/dist/css/bullframe-classless-ie10+.min.css.map +0 -1
  86. package/dist/css/bullframe-dark-ie10+.css +0 -2569
  87. package/dist/css/bullframe-dark-ie10+.min.css +0 -3
  88. package/dist/css/bullframe-dark-ie10+.min.css.map +0 -1
  89. package/dist/css/bullframe-dark-prefers-ie10+.css +0 -2541
  90. package/dist/css/bullframe-dark-prefers-ie10+.min.css +0 -3
  91. package/dist/css/bullframe-dark-prefers-ie10+.min.css.map +0 -1
  92. package/dist/css/bullframe-ie10+.css +0 -2250
  93. package/dist/css/bullframe-ie10+.min.css +0 -2
  94. package/dist/css/bullframe-ie10+.min.css.map +0 -1
  95. package/docs/images-readme/browserstack-logo.png +0 -0
  96. package/src/scss/bullframe-classless-dark-ie10+.scss +0 -5
  97. package/src/scss/bullframe-classless-dark-prefers-ie10+.scss +0 -5
  98. package/src/scss/bullframe-classless-ie10+.scss +0 -43
  99. package/src/scss/bullframe-dark-ie10+.scss +0 -4
  100. package/src/scss/bullframe-dark-prefers-ie10+.scss +0 -4
  101. package/src/scss/bullframe-ie10+.scss +0 -121
  102. package/src/scss/forms/_forms-styling-ie-hacks.scss +0 -56
  103. package/src/scss/forms/_forms-styling-select-ie-hacks.scss +0 -30
@@ -1,29 +1,29 @@
1
- // prefers-reduced-motion media feature query
2
- // https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion
3
- //
4
- // @media (prefers-reduced-motion: reduce) { ... }
5
- // Indicates that user has notified the system that they prefer an
6
- // interface that minimizes the amount of movement or animation,
7
- // preferably to the point where all non-essential movement is removed.
8
-
9
- // taken from https://github.com/jensimmons/cssremedy
10
- //
11
- // 1. Immediately jump any animation to the end point
12
- // 2. Remove transitions & fixed background attachment
13
- // See: https://github.com/mozdevs/cssremedy/issues/11
14
- @media (prefers-reduced-motion: reduce) {
15
- .bf-reduced-motion,
16
- .bf-reduced-motion::before,
17
- .bf-reduced-motion::after,
18
- .bf-reduced-motion *,
19
- .bf-reduced-motion *::before,
20
- .bf-reduced-motion *::after {
21
- animation-delay: -1ms !important;
22
- animation-duration: 1ms !important;
23
- animation-iteration-count: 1 !important;
24
- background-attachment: initial !important;
25
- scroll-behavior: auto !important;
26
- transition-delay: 0s !important;
27
- transition-duration: 0s !important;
28
- }
29
- }
1
+ // prefers-reduced-motion media feature query
2
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion
3
+ //
4
+ // @media (prefers-reduced-motion: reduce) { ... }
5
+ // Indicates that user has notified the system that they prefer an
6
+ // interface that minimizes the amount of movement or animation,
7
+ // preferably to the point where all non-essential movement is removed.
8
+
9
+ // taken from https://github.com/jensimmons/cssremedy
10
+ //
11
+ // 1. Immediately jump any animation to the end point
12
+ // 2. Remove transitions & fixed background attachment
13
+ // See: https://github.com/mozdevs/cssremedy/issues/11
14
+ @media (prefers-reduced-motion: reduce) {
15
+ .bf-reduced-motion,
16
+ .bf-reduced-motion::before,
17
+ .bf-reduced-motion::after,
18
+ .bf-reduced-motion *,
19
+ .bf-reduced-motion *::before,
20
+ .bf-reduced-motion *::after {
21
+ animation-delay: -1ms !important;
22
+ animation-duration: 1ms !important;
23
+ animation-iteration-count: 1 !important;
24
+ background-attachment: initial !important;
25
+ scroll-behavior: auto !important;
26
+ transition-delay: 0s !important;
27
+ transition-duration: 0s !important;
28
+ }
29
+ }
@@ -1,40 +1,40 @@
1
- .bf-table th,
2
- .bf-table td {
3
- padding: $bf-spacing-lg-px;
4
- padding: $bf-spacing-lg-rem;
5
- border-bottom: 1px solid $bf-gray;
6
- margin-bottom: $bf-spacing-md-px;
7
- margin-bottom: $bf-spacing-md-rem;
8
- }
9
-
10
- // responsive tables
11
- // ! issues on Opera 10-11, Opera Mobile Presto and Opera Mini
12
- // Read more about Opera: http://barrow.io/overflow-scrolling
13
-
14
- .bf-table-responsive {
15
- overflow-x: auto;
16
- overflow-y: hidden;
17
-
18
- // this is a not standard CSS property, so it's for IE only
19
- // https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-overflow-style
20
- -ms-overflow-style: scrollbar;
21
- }
22
-
23
- .bf-table-responsive table {
24
- width: 100%;
25
- margin-bottom: $bf-spacing-md-px;
26
- margin-bottom: $bf-spacing-md-rem;
27
- }
28
-
29
- // force webkit scrollbars appearance
30
- .bf-table-responsive.scrollbar {
31
- // this is a not standard CSS property, so it's for webkit only
32
- // https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-overflow-scrolling
33
- -webkit-overflow-scrolling: auto;
34
- }
35
-
36
- // zebra striping
37
- .bf-table--zebra tbody tr:nth-child(odd),
38
- .bf-table-responsive--zebra tbody tr:nth-child(odd) {
39
- background-color: $bf-gray-light-extra;
40
- }
1
+ .bf-table th,
2
+ .bf-table td {
3
+ padding: $bf-spacing-lg-px;
4
+ padding: $bf-spacing-lg-rem;
5
+ border-bottom: 1px solid $bf-gray;
6
+ margin-bottom: $bf-spacing-md-px;
7
+ margin-bottom: $bf-spacing-md-rem;
8
+ }
9
+
10
+ // responsive tables
11
+ // ! issues on Opera 10-11, Opera Mobile Presto and Opera Mini
12
+ // Read more about Opera: http://barrow.io/overflow-scrolling
13
+
14
+ .bf-table-responsive {
15
+ overflow-x: auto;
16
+ overflow-y: hidden;
17
+
18
+ // this is a not standard CSS property, so it's for IE only
19
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-overflow-style
20
+ -ms-overflow-style: scrollbar;
21
+ }
22
+
23
+ .bf-table-responsive table {
24
+ width: 100%;
25
+ margin-bottom: $bf-spacing-md-px;
26
+ margin-bottom: $bf-spacing-md-rem;
27
+ }
28
+
29
+ // force webkit scrollbars appearance
30
+ .bf-table-responsive.scrollbar {
31
+ // this is a not standard CSS property, so it's for webkit only
32
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-overflow-scrolling
33
+ -webkit-overflow-scrolling: auto;
34
+ }
35
+
36
+ // zebra striping
37
+ .bf-table--zebra tbody tr:nth-child(odd),
38
+ .bf-table-responsive--zebra tbody tr:nth-child(odd) {
39
+ background-color: $bf-gray-light-extra;
40
+ }
@@ -1,199 +1,199 @@
1
- .bf-t-transform-uppercase {
2
- text-transform: uppercase !important;
3
- }
4
-
5
- .bf-t-transform-none {
6
- text-transform: none !important;
7
- }
8
-
9
- .bf-t-left {
10
- text-align: left !important;
11
- }
12
-
13
- .bf-t-center {
14
- text-align: center !important;
15
- }
16
-
17
- .bf-t-right {
18
- text-align: right !important;
19
- }
20
-
21
- .bf-t-shadow {
22
- text-shadow: 0 0 2px $bf-dark !important;
23
- text-shadow: 0 0 .2rem $bf-dark !important;
24
- }
25
-
26
- .bf-t-italic {
27
- font-style: italic !important;
28
- }
29
-
30
- // useful to 'reset' <i> inherited style
31
- .bf-t-style-normal {
32
- font-style: normal !important;
33
- }
34
-
35
- // useful to 'reset' <b> inherited style
36
- .bf-t-weight-300 {
37
- font-weight: 300 !important;
38
- }
39
-
40
- .bf-t-weight-400 {
41
- font-weight: 400 !important;
42
- }
43
-
44
- .bf-t-weight-500 {
45
- font-weight: 500 !important;
46
- }
47
-
48
- .bf-t-weight-600 {
49
- font-weight: 600 !important;
50
- }
51
-
52
- .bf-t-weight-700 {
53
- font-weight: 700 !important;
54
- }
55
-
56
- .bf-t-weight-800 {
57
- font-weight: 800 !important;
58
- }
59
-
60
- .bf-text-break {
61
- word-wrap: break-word !important;
62
- }
63
-
64
- .bf-t-truncate {
65
- max-width: 100% !important;
66
- overflow: hidden !important;
67
- text-overflow: ellipsis !important;
68
- white-space: nowrap !important;
69
- word-wrap: normal !important;
70
- }
71
-
72
- .bf-t-truncate--multiline-2 {
73
- overflow: hidden !important;
74
- text-overflow: ellipsis !important;
75
- display: -webkit-box !important;
76
- -webkit-line-clamp: 2 !important;
77
- -webkit-box-orient: vertical !important;
78
- }
79
-
80
- .bf-t-truncate--multiline-3 {
81
- overflow: hidden !important;
82
- text-overflow: ellipsis !important;
83
- display: -webkit-box !important;
84
- -webkit-line-clamp: 3 !important;
85
- -webkit-box-orient: vertical !important;
86
- }
87
-
88
-
89
- .bf-no-select {
90
- user-select: none !important;
91
-
92
- // this is a not standard CSS property, so it's for webkit only
93
- // https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-touch-callout
94
- // useful on iOS
95
- // https://css-tricks.com/force-selection-text-block/#article-header-id-7
96
- // https://ishadeed.com/article/selection-in-css scroll down to
97
- // 'selection on mobile' section
98
- -webkit-touch-callout: none !important;
99
- }
100
-
101
- .bf-font-sans-serif {
102
- font-family:
103
- /* Safari for OS X and iOS (San Francisco) */ -apple-system,
104
- /* Chrome < 56 for OS X (San Francisco) */ BlinkMacSystemFont,
105
- /* Windows */ 'Segoe UI', /* Android */ Roboto,
106
- /* Linux with KDE */ Oxygen-Sans, /* Ubuntu (all variants) */ Ubuntu,
107
- /* Linux with GNOME Shell */ Cantarell,
108
- /* macOS 1.10 and below */ 'Helvetica Neue', Helvetica,
109
- /* Basic web fallback */ Arial, sans-serif,
110
- /* emoji fonts */ 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
111
- 'Noto Color Emoji' !important;
112
- }
113
-
114
- .bf-font-serif {
115
- font-family: Georgia, Times, 'Times New Roman', serif,
116
- /* emoji fonts */ 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
117
- 'Noto Color Emoji' !important;
118
- }
119
-
120
- .bf-font-monospace {
121
- font-family:
122
- /* macOS 1.10+ */ 'Menlo', /* Windows 6+ */ 'Consolas',
123
- /* Android 4+ */ 'Roboto Mono', /* Ubuntu 1.10+ */ 'Ubuntu Monospace',
124
- /* KDE Plasma 5+ */ 'Noto Mono', /* KDE Plasma 4+ */ 'Oxygen Mono',
125
- /* Linux/OpenOffice fallback */ 'Liberation Mono', /* fallback */ monospace,
126
- /* emoji fonts */ 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
127
- 'Noto Color Emoji' !important;
128
- }
129
-
130
- .bf-h1,
131
- .bf-h2,
132
- .bf-h3,
133
- .bf-h4,
134
- .bf-h5,
135
- .bf-h6 {
136
- font-weight: 700 !important; // fallback
137
- font-weight: 600 !important;
138
- margin-top: 0 !important;
139
- line-height: 1.2 !important;
140
- margin-bottom: $bf-spacing-lg-px !important;
141
- margin-bottom: $bf-spacing-lg-rem !important;
142
- }
143
-
144
- .bf-h1 {
145
- font-size: 36px !important;
146
- font-size: 3.6rem !important;
147
- }
148
-
149
- .bf-h2 {
150
- font-size: 30px !important;
151
- font-size: 3rem !important;
152
- }
153
-
154
- .bf-h3 {
155
- font-size: 24px !important;
156
- font-size: 2.4rem !important;
157
- }
158
-
159
- .bf-h4 {
160
- font-size: 20px !important;
161
- font-size: 2rem !important;
162
- }
163
-
164
- .bf-h5,
165
- .bf-h6 {
166
- font-size: 16px !important;
167
- font-size: 1.6rem !important;
168
- }
169
-
170
- p.bf-lead {
171
- font-size: 120% !important;
172
- }
173
-
174
- // responsive typography
175
- // https://codepen.io/marcop135/pen/eYmPmJm
176
- // https://css-tricks.com/snippets/css/fluid-typography/
177
- //
178
- // old browsers that don't support CSS variables ignore what follows
179
- // (mostly IE and Opera Mini)
180
- // in this way, old browsers will ignore 'calc' property too, avoiding issues
181
- // https://caniuse.com/#feat=calc
182
- // https://caniuse.com/#feat=css-variables
183
- // https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties
184
- body.bf-responsive-typography {
185
- --body-rt-font-size-flex: calc(1.6rem + 3 * ((100vw - 320px) / 680));
186
- --body-rt-font-size-max: 1.9rem;
187
- }
188
-
189
- @media (min-width: 320px) {
190
- body.bf-responsive-typography {
191
- font-size: var(--body-rt-font-size-flex);
192
- }
193
- }
194
-
195
- @media (min-width: 1000px) {
196
- body.bf-responsive-typography {
197
- font-size: var(--body-rt-font-size-max);
198
- }
199
- }
1
+ .bf-t-transform-uppercase {
2
+ text-transform: uppercase !important;
3
+ }
4
+
5
+ .bf-t-transform-none {
6
+ text-transform: none !important;
7
+ }
8
+
9
+ .bf-t-left {
10
+ text-align: left !important;
11
+ }
12
+
13
+ .bf-t-center {
14
+ text-align: center !important;
15
+ }
16
+
17
+ .bf-t-right {
18
+ text-align: right !important;
19
+ }
20
+
21
+ .bf-t-shadow {
22
+ text-shadow: 0 0 2px $bf-dark !important;
23
+ text-shadow: 0 0 .2rem $bf-dark !important;
24
+ }
25
+
26
+ .bf-t-italic {
27
+ font-style: italic !important;
28
+ }
29
+
30
+ // useful to 'reset' <i> inherited style
31
+ .bf-t-style-normal {
32
+ font-style: normal !important;
33
+ }
34
+
35
+ // useful to 'reset' <b> inherited style
36
+ .bf-t-weight-300 {
37
+ font-weight: 300 !important;
38
+ }
39
+
40
+ .bf-t-weight-400 {
41
+ font-weight: 400 !important;
42
+ }
43
+
44
+ .bf-t-weight-500 {
45
+ font-weight: 500 !important;
46
+ }
47
+
48
+ .bf-t-weight-600 {
49
+ font-weight: 600 !important;
50
+ }
51
+
52
+ .bf-t-weight-700 {
53
+ font-weight: 700 !important;
54
+ }
55
+
56
+ .bf-t-weight-800 {
57
+ font-weight: 800 !important;
58
+ }
59
+
60
+ .bf-text-break {
61
+ word-wrap: break-word !important;
62
+ }
63
+
64
+ .bf-t-truncate {
65
+ max-width: 100% !important;
66
+ overflow: hidden !important;
67
+ text-overflow: ellipsis !important;
68
+ white-space: nowrap !important;
69
+ word-wrap: normal !important;
70
+ }
71
+
72
+ .bf-t-truncate--multiline-2 {
73
+ overflow: hidden !important;
74
+ text-overflow: ellipsis !important;
75
+ display: -webkit-box !important;
76
+ -webkit-line-clamp: 2 !important;
77
+ -webkit-box-orient: vertical !important;
78
+ }
79
+
80
+ .bf-t-truncate--multiline-3 {
81
+ overflow: hidden !important;
82
+ text-overflow: ellipsis !important;
83
+ display: -webkit-box !important;
84
+ -webkit-line-clamp: 3 !important;
85
+ -webkit-box-orient: vertical !important;
86
+ }
87
+
88
+
89
+ .bf-no-select {
90
+ user-select: none !important;
91
+
92
+ // this is a not standard CSS property, so it's for webkit only
93
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-touch-callout
94
+ // useful on iOS
95
+ // https://css-tricks.com/force-selection-text-block/#article-header-id-7
96
+ // https://ishadeed.com/article/selection-in-css scroll down to
97
+ // 'selection on mobile' section
98
+ -webkit-touch-callout: none !important;
99
+ }
100
+
101
+ .bf-font-sans-serif {
102
+ font-family:
103
+ /* Safari for OS X and iOS (San Francisco) */ -apple-system,
104
+ /* Chrome < 56 for OS X (San Francisco) */ BlinkMacSystemFont,
105
+ /* Windows */ 'Segoe UI', /* Android */ Roboto,
106
+ /* Linux with KDE */ Oxygen-Sans, /* Ubuntu (all variants) */ Ubuntu,
107
+ /* Linux with GNOME Shell */ Cantarell,
108
+ /* macOS 1.10 and below */ 'Helvetica Neue', Helvetica,
109
+ /* Basic web fallback */ Arial, sans-serif,
110
+ /* emoji fonts */ 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
111
+ 'Noto Color Emoji' !important;
112
+ }
113
+
114
+ .bf-font-serif {
115
+ font-family: Georgia, Times, 'Times New Roman', serif,
116
+ /* emoji fonts */ 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
117
+ 'Noto Color Emoji' !important;
118
+ }
119
+
120
+ .bf-font-monospace {
121
+ font-family:
122
+ /* macOS 1.10+ */ 'Menlo', /* Windows 6+ */ 'Consolas',
123
+ /* Android 4+ */ 'Roboto Mono', /* Ubuntu 1.10+ */ 'Ubuntu Monospace',
124
+ /* KDE Plasma 5+ */ 'Noto Mono', /* KDE Plasma 4+ */ 'Oxygen Mono',
125
+ /* Linux/OpenOffice fallback */ 'Liberation Mono', /* fallback */ monospace,
126
+ /* emoji fonts */ 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
127
+ 'Noto Color Emoji' !important;
128
+ }
129
+
130
+ .bf-h1,
131
+ .bf-h2,
132
+ .bf-h3,
133
+ .bf-h4,
134
+ .bf-h5,
135
+ .bf-h6 {
136
+ font-weight: 700 !important; // fallback
137
+ font-weight: 600 !important;
138
+ margin-top: 0 !important;
139
+ line-height: 1.2 !important;
140
+ margin-bottom: $bf-spacing-lg-px !important;
141
+ margin-bottom: $bf-spacing-lg-rem !important;
142
+ }
143
+
144
+ .bf-h1 {
145
+ font-size: 36px !important;
146
+ font-size: 3.6rem !important;
147
+ }
148
+
149
+ .bf-h2 {
150
+ font-size: 30px !important;
151
+ font-size: 3rem !important;
152
+ }
153
+
154
+ .bf-h3 {
155
+ font-size: 24px !important;
156
+ font-size: 2.4rem !important;
157
+ }
158
+
159
+ .bf-h4 {
160
+ font-size: 20px !important;
161
+ font-size: 2rem !important;
162
+ }
163
+
164
+ .bf-h5,
165
+ .bf-h6 {
166
+ font-size: 16px !important;
167
+ font-size: 1.6rem !important;
168
+ }
169
+
170
+ p.bf-lead {
171
+ font-size: 120% !important;
172
+ }
173
+
174
+ // responsive typography
175
+ // https://codepen.io/marcop135/pen/eYmPmJm
176
+ // https://css-tricks.com/snippets/css/fluid-typography/
177
+ //
178
+ // old browsers that don't support CSS variables ignore what follows
179
+ // (mostly IE and Opera Mini)
180
+ // in this way, old browsers will ignore 'calc' property too, avoiding issues
181
+ // https://caniuse.com/#feat=calc
182
+ // https://caniuse.com/#feat=css-variables
183
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties
184
+ body.bf-responsive-typography {
185
+ --body-rt-font-size-flex: calc(1.6rem + 3 * ((100vw - 320px) / 680));
186
+ --body-rt-font-size-max: 1.9rem;
187
+ }
188
+
189
+ @media (min-width: 320px) {
190
+ body.bf-responsive-typography {
191
+ font-size: var(--body-rt-font-size-flex);
192
+ }
193
+ }
194
+
195
+ @media (min-width: 1000px) {
196
+ body.bf-responsive-typography {
197
+ font-size: var(--body-rt-font-size-max);
198
+ }
199
+ }