jekyll-theme-centos 2.2.21 → 2.3.0.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/aws-images.csv +81 -0
- data/_data/full-altarchlist.csv +74 -0
- data/_data/full-mirrorlist.csv +609 -0
- data/_includes/blog/header.html +22 -0
- data/_includes/breadcrumbs.html +13 -0
- data/_includes/default/alert-danger.html +4 -0
- data/_includes/default/alert-info.html +4 -0
- data/_includes/default/alert-success.html +4 -0
- data/_includes/default/alert-warning.html +4 -0
- data/_includes/default/figure.html +3 -0
- data/_includes/default/header.html +10 -0
- data/_includes/default/video.html +3 -0
- data/_includes/download/cards-body-convert.html +8 -6
- data/_includes/download/cards-body-doc.html +4 -7
- data/_includes/download/cards-body-eol.html +4 -13
- data/_includes/download/cards-body.html +5 -6
- data/_includes/download/cards-footer.html +0 -0
- data/_includes/download/cards-header-convert.html +8 -7
- data/_includes/download/cards-header-doc.html +8 -7
- data/_includes/download/cards-header-eol.html +8 -7
- data/_includes/download/cards-header.html +10 -12
- data/_includes/download/cards.html +58 -53
- data/_includes/editbar.html +43 -0
- data/_includes/footer.html +36 -0
- data/_includes/head-datatables.html +8 -0
- data/_includes/head.html +7 -0
- data/_includes/header.html +7 -0
- data/_includes/home/header.html +1 -1
- data/_includes/home/planet.html +6 -3
- data/_includes/navbar.html +28 -0
- data/_includes/people/about.html +10 -10
- data/_includes/people/header.html +2 -2
- data/_includes/people/posts.html +13 -10
- data/_includes/people/projects.html +17 -21
- data/_includes/people/pubkeys.html +7 -9
- data/_includes/people/support.html +9 -9
- data/_includes/post/header.html +23 -0
- data/_includes/search.html +81 -0
- data/_includes/{base/toc-accordion.html → toc-accordion.html} +4 -4
- data/_includes/{base/toc.html → toc.html} +0 -0
- data/_includes/top.html +3 -0
- data/_layouts/default-datatables.html +35 -0
- data/_layouts/default.html +34 -0
- data/_layouts/home.html +11 -9
- data/_layouts/people.html +59 -0
- data/_sass/bootstrap/_accordion.scss +0 -9
- data/_sass/bootstrap/_alert.scss +11 -8
- data/_sass/bootstrap/_button-group.scss +2 -2
- data/_sass/bootstrap/_buttons.scss +3 -3
- data/_sass/bootstrap/_card.scss +0 -5
- data/_sass/bootstrap/_carousel.scss +2 -20
- data/_sass/bootstrap/_close.scss +9 -32
- data/_sass/bootstrap/_dropdown.scss +0 -1
- data/_sass/bootstrap/_functions.scss +1 -1
- data/_sass/bootstrap/_grid.scss +0 -6
- data/_sass/bootstrap/_helpers.scss +0 -2
- data/_sass/bootstrap/_list-group.scss +7 -12
- data/_sass/bootstrap/_maps.scss +0 -120
- data/_sass/bootstrap/_mixins.scss +2 -1
- data/_sass/bootstrap/_nav.scss +3 -40
- data/_sass/bootstrap/_navbar.scss +4 -15
- data/_sass/bootstrap/_offcanvas.scss +2 -4
- data/_sass/bootstrap/_pagination.scss +1 -1
- data/_sass/bootstrap/_progress.scss +1 -10
- data/_sass/bootstrap/_reboot.scss +3 -3
- data/_sass/bootstrap/_root.scss +10 -121
- data/_sass/bootstrap/_tables.scss +11 -18
- data/_sass/bootstrap/_tooltip.scss +5 -4
- data/_sass/bootstrap/_utilities.scss +13 -172
- data/_sass/bootstrap/_variables.scss +153 -262
- data/_sass/bootstrap/bootstrap-grid.scss +3 -1
- data/_sass/bootstrap/bootstrap-reboot.scss +0 -1
- data/_sass/bootstrap/bootstrap-utilities.scss +0 -1
- data/_sass/bootstrap/bootstrap.scss +0 -1
- data/_sass/bootstrap/forms/_floating-labels.scss +3 -22
- data/_sass/bootstrap/forms/_form-check.scss +11 -24
- data/_sass/bootstrap/forms/_form-control.scss +3 -23
- data/_sass/bootstrap/forms/_form-select.scss +2 -11
- data/_sass/bootstrap/forms/_input-group.scss +1 -1
- data/_sass/bootstrap/helpers/_color-bg.scss +2 -0
- data/_sass/bootstrap/helpers/_colored-links.scss +2 -20
- data/_sass/bootstrap/mixins/_alert.scss +1 -4
- data/_sass/bootstrap/mixins/_banner.scss +4 -2
- data/_sass/bootstrap/mixins/_caret.scss +25 -30
- data/_sass/bootstrap/mixins/_forms.scss +7 -8
- data/_sass/bootstrap/mixins/_list-group.scss +0 -2
- data/_sass/bootstrap/mixins/_utilities.scss +1 -1
- data/_sass/bootstrap/mixins/_visually-hidden.scss +1 -5
- data/_sass/bootstrap/vendor/_rfs.scss +29 -23
- data/_sass/centos/_headings.scss +17 -0
- data/_sass/centos/_links.scss +11 -0
- data/_sass/centos/_sponsors.scss +112 -0
- data/_sass/centos/_variables.scss +23 -0
- data/_sass/centos/sites/lists/mmcfg.scss +9 -0
- data/_sass/fontawesome-free/_animated.scss +153 -0
- data/_sass/fontawesome-free/_bordered-pulled.scss +20 -0
- data/_sass/fontawesome-free/_core.scss +43 -0
- data/_sass/fontawesome-free/_fixed-width.scss +7 -0
- data/_sass/fontawesome-free/_functions.scss +57 -0
- data/_sass/fontawesome-free/_icons.scss +9 -0
- data/_sass/fontawesome-free/_list.scss +18 -0
- data/_sass/fontawesome-free/_mixins.scss +75 -0
- data/_sass/fontawesome-free/_rotated-flipped.scss +31 -0
- data/_sass/fontawesome-free/_screen-reader.scss +14 -0
- data/_sass/fontawesome-free/_shims.scss +2042 -0
- data/_sass/fontawesome-free/_sizing.scss +16 -0
- data/_sass/fontawesome-free/_stacked.scss +32 -0
- data/_sass/fontawesome-free/_variables.scss +4957 -0
- data/_sass/fontawesome-free/brands.scss +30 -0
- data/_sass/fontawesome-free/fontawesome.scss +21 -0
- data/_sass/fontawesome-free/regular.scss +26 -0
- data/_sass/fontawesome-free/solid.scss +26 -0
- data/_sass/fontawesome-free/v4-shims.scss +11 -0
- data/_sass/montserrat/_montserrat.scss +79 -0
- data/_sass/overpass-mono/_overpass-mono.scss +33 -0
- data/assets/css/dataTables.bootstrap5.css +5 -19
- data/assets/css/dataTables.bootstrap5.min.css +2 -2
- data/assets/css/sites/lists/mmcfg.min.scss +4 -0
- data/assets/css/stylesheet.min.scss +20 -0
- data/assets/img/anaconda-symbolic.svg +0 -0
- data/assets/img/anaconda.svg +0 -0
- data/assets/img/centos-dynamicmsg-logo.svg +0 -0
- data/assets/img/centos-dynamicmsg-type.svg +0 -0
- data/assets/img/centos-dynamicmsg-whitelogo.svg +0 -0
- data/assets/img/centos-dynamicmsg-whitetype.svg +0 -0
- data/assets/img/centos-gdm-whitelogo.svg +0 -0
- data/assets/img/centos-ipa-whiteheader.svg +0 -0
- data/assets/img/centos-logo-2bits.svg +0 -0
- data/assets/img/centos-logo.svg +0 -0
- data/assets/img/centos-message-logo.svg +0 -0
- data/assets/img/centos-motif.png +0 -0
- data/assets/img/centos-poweredby-logo.svg +0 -0
- data/assets/img/centos-symbol-2bits.svg +0 -0
- data/assets/img/centos-symbol.svg +0 -0
- data/assets/img/centos-type.svg +0 -0
- data/assets/img/centos-vertical-logo.svg +0 -0
- data/assets/img/centos-vertical-message-logo.svg +0 -0
- data/assets/img/centos-whitelogo.svg +0 -0
- data/assets/img/people/username.png +0 -0
- data/assets/js/bootstrap.bundle.js +1473 -704
- data/assets/js/bootstrap.bundle.js.map +1 -1
- data/assets/js/bootstrap.bundle.min.js +3 -3
- data/assets/js/bootstrap.bundle.min.js.map +1 -1
- data/assets/js/bootstrap.esm.js +1423 -660
- data/assets/js/bootstrap.esm.js.map +1 -1
- data/assets/js/bootstrap.esm.min.js +3 -3
- data/assets/js/bootstrap.esm.min.js.map +1 -1
- data/assets/js/bootstrap.js +1432 -669
- data/assets/js/bootstrap.js.map +1 -1
- data/assets/js/bootstrap.min.js +3 -3
- data/assets/js/bootstrap.min.js.map +1 -1
- data/assets/js/clipboard.js +890 -0
- data/assets/js/dataTables.bootstrap5.js +200 -0
- data/assets/js/dataTables.bootstrap5.min.js +1 -1
- data/assets/js/dataTables.bootstrap5.min.mjs +4 -0
- data/assets/js/dataTables.bootstrap5.mjs +164 -0
- data/assets/js/jquery.js +10993 -0
- data/assets/js/jquery.min.js +2 -2
- data/assets/js/jquery.min.map +1 -0
- data/assets/js/jquery.slim.js +8894 -0
- data/assets/js/jquery.slim.min.js +2 -2
- data/assets/js/jquery.slim.min.map +1 -0
- data/assets/webfonts/Montserrat-Black.woff +0 -0
- data/assets/webfonts/Montserrat-Black.woff2 +0 -0
- data/assets/webfonts/Montserrat-BlackItalic.woff +0 -0
- data/assets/webfonts/Montserrat-BlackItalic.woff2 +0 -0
- data/assets/webfonts/Montserrat-Bold.woff +0 -0
- data/assets/webfonts/Montserrat-Bold.woff2 +0 -0
- data/assets/webfonts/Montserrat-BoldItalic.woff +0 -0
- data/assets/webfonts/Montserrat-BoldItalic.woff2 +0 -0
- data/assets/webfonts/Montserrat-ExtraBold.woff +0 -0
- data/assets/webfonts/Montserrat-ExtraBold.woff2 +0 -0
- data/assets/webfonts/Montserrat-ExtraBoldItalic.woff +0 -0
- data/assets/webfonts/Montserrat-ExtraBoldItalic.woff2 +0 -0
- data/assets/webfonts/Montserrat-ExtraLight.woff +0 -0
- data/assets/webfonts/Montserrat-ExtraLight.woff2 +0 -0
- data/assets/webfonts/Montserrat-ExtraLightItalic.woff +0 -0
- data/assets/webfonts/Montserrat-ExtraLightItalic.woff2 +0 -0
- data/assets/webfonts/Montserrat-Italic.woff +0 -0
- data/assets/webfonts/Montserrat-Italic.woff2 +0 -0
- data/assets/webfonts/Montserrat-Light.woff +0 -0
- data/assets/webfonts/Montserrat-Light.woff2 +0 -0
- data/assets/webfonts/Montserrat-LightItalic.woff +0 -0
- data/assets/webfonts/Montserrat-LightItalic.woff2 +0 -0
- data/assets/webfonts/Montserrat-Medium.woff +0 -0
- data/assets/webfonts/Montserrat-Medium.woff2 +0 -0
- data/assets/webfonts/Montserrat-MediumItalic.woff +0 -0
- data/assets/webfonts/Montserrat-MediumItalic.woff2 +0 -0
- data/assets/webfonts/Montserrat-Regular.woff +0 -0
- data/assets/webfonts/Montserrat-Regular.woff2 +0 -0
- data/assets/webfonts/Montserrat-SemiBold.woff +0 -0
- data/assets/webfonts/Montserrat-SemiBold.woff2 +0 -0
- data/assets/webfonts/Montserrat-SemiBoldItalic.woff +0 -0
- data/assets/webfonts/Montserrat-SemiBoldItalic.woff2 +0 -0
- data/assets/webfonts/Montserrat-Thin.woff +0 -0
- data/assets/webfonts/Montserrat-Thin.woff2 +0 -0
- data/assets/webfonts/Montserrat-ThinItalic.woff +0 -0
- data/assets/webfonts/Montserrat-ThinItalic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-Black.woff +0 -0
- data/assets/webfonts/MontserratAlternates-Black.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-BlackItalic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-BlackItalic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-Bold.woff +0 -0
- data/assets/webfonts/MontserratAlternates-Bold.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-BoldItalic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-BoldItalic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-ExtraBold.woff +0 -0
- data/assets/webfonts/MontserratAlternates-ExtraBold.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-ExtraBoldItalic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-ExtraBoldItalic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-ExtraLight.woff +0 -0
- data/assets/webfonts/MontserratAlternates-ExtraLight.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-ExtraLightItalic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-ExtraLightItalic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-Italic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-Italic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-Light.woff +0 -0
- data/assets/webfonts/MontserratAlternates-Light.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-LightItalic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-LightItalic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-Medium.woff +0 -0
- data/assets/webfonts/MontserratAlternates-Medium.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-MediumItalic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-MediumItalic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-Regular.woff +0 -0
- data/assets/webfonts/MontserratAlternates-Regular.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-SemiBold.woff +0 -0
- data/assets/webfonts/MontserratAlternates-SemiBold.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-SemiBoldItalic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-SemiBoldItalic.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-Thin.woff +0 -0
- data/assets/webfonts/MontserratAlternates-Thin.woff2 +0 -0
- data/assets/webfonts/MontserratAlternates-ThinItalic.woff +0 -0
- data/assets/webfonts/MontserratAlternates-ThinItalic.woff2 +0 -0
- data/assets/webfonts/fa-brands-400.ttf +0 -0
- data/assets/webfonts/fa-brands-400.woff2 +0 -0
- data/assets/webfonts/fa-regular-400.ttf +0 -0
- data/assets/webfonts/fa-regular-400.woff2 +0 -0
- data/assets/webfonts/fa-solid-900.ttf +0 -0
- data/assets/webfonts/fa-solid-900.woff2 +0 -0
- data/assets/webfonts/fa-v4compatibility.ttf +0 -0
- data/assets/webfonts/fa-v4compatibility.woff2 +0 -0
- data/assets/webfonts/overpass-mono-bold.woff +0 -0
- data/assets/webfonts/overpass-mono-bold.woff2 +0 -0
- data/assets/webfonts/overpass-mono-light.woff +0 -0
- data/assets/webfonts/overpass-mono-light.woff2 +0 -0
- data/assets/webfonts/overpass-mono-regular.woff +0 -0
- data/assets/webfonts/overpass-mono-regular.woff2 +0 -0
- data/assets/webfonts/overpass-mono-semibold.woff +0 -0
- data/assets/webfonts/overpass-mono-semibold.woff2 +0 -0
- data/default.md +165 -0
- data/index.md +9 -0
- data/people.md +63 -0
- metadata +197 -63
- data/_config.yml +0 -144
- data/_data/base/footer.yml +0 -32
- data/_data/base/identity.yml +0 -20
- data/_data/base/navbar.yml +0 -57
- data/_data/base/navbar_absolute.yml +0 -74
- data/_data/base/navbar_www.yml +0 -74
- data/_data/download/cards.yml +0 -148
- data/_data/download/navbar.yml +0 -48
- data/_data/people/navbar.yml +0 -34
- data/_includes/base/announcements.html +0 -6
- data/_includes/base/breadcrumbs.html +0 -13
- data/_includes/base/footer.html +0 -61
- data/_includes/base/head.html +0 -17
- data/_includes/base/header.html +0 -17
- data/_includes/base/navbar.html +0 -32
- data/_includes/base/script.html +0 -70
- data/_includes/download/cards-body-screenshot.html +0 -26
- data/_includes/download/cards-header-screenshot.html +0 -8
- data/_layouts/base/default.html +0 -31
- data/_layouts/download/default.html +0 -7
- data/_layouts/people/default.html +0 -20
- data/_sass/base/_centos.scss +0 -75
- data/_sass/base/_variables.scss +0 -24
- data/_sass/bootstrap/_variables-dark.scss +0 -85
- data/_sass/bootstrap/helpers/_focus-ring.scss +0 -5
- data/_sass/bootstrap/helpers/_icon-link.scss +0 -25
- data/_sass/bootstrap/mixins/_color-mode.scss +0 -21
- data/assets/css/base/stylesheet.min.scss +0 -6
- data/assets/icons/android-chrome-192.png +0 -0
- data/assets/icons/android-chrome-512.png +0 -0
- data/assets/icons/apple-touch-icon.png +0 -0
- data/assets/icons/favicon-16.png +0 -0
- data/assets/icons/favicon-32.png +0 -0
- data/assets/icons/favicon.ico +0 -0
- data/assets/icons/favicon.svg +0 -1
- data/assets/img/base/screenshot.svg +0 -135
- data/assets/img/download/centos-linux-7-2009-screenshot-n.png +0 -0
- data/assets/img/download/centos-stream-8-screenshot-n.png +0 -0
- data/assets/img/download/centos-stream-9-screenshot-n.png +0 -0
- data/assets/img/download/distribution-release-screenshot-n.png +0 -0
- data/assets/img/download/distribution-release-screenshot-n.svg +0 -128
- data/assets/img/people/YourUsername.svg +0 -58
- data/assets/img/people/screenshot.svg +0 -135
- data/assets/js/jquery.dataTables.min.js +0 -4
- data/assets/js/vanilla-back-to-top.min.js +0 -1
- data/site.webmanifest +0 -11
@@ -1,4 +1,4 @@
|
|
1
|
-
// stylelint-disable scss/
|
1
|
+
// stylelint-disable property-blacklist, scss/dollar-variable-default
|
2
2
|
|
3
3
|
// SCSS RFS mixin
|
4
4
|
//
|
@@ -154,7 +154,8 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height
|
|
154
154
|
&.enable-rfs {
|
155
155
|
@content;
|
156
156
|
}
|
157
|
-
}
|
157
|
+
}
|
158
|
+
@else {
|
158
159
|
@content;
|
159
160
|
}
|
160
161
|
}
|
@@ -167,7 +168,7 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height
|
|
167
168
|
@content;
|
168
169
|
}
|
169
170
|
|
170
|
-
@include _rfs-media-query
|
171
|
+
@include _rfs-media-query {
|
171
172
|
.enable-rfs &,
|
172
173
|
&.enable-rfs {
|
173
174
|
@content;
|
@@ -181,7 +182,7 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height
|
|
181
182
|
@content;
|
182
183
|
}
|
183
184
|
}
|
184
|
-
@include _rfs-media-query
|
185
|
+
@include _rfs-media-query {
|
185
186
|
@content;
|
186
187
|
}
|
187
188
|
}
|
@@ -192,12 +193,12 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height
|
|
192
193
|
// Convert to list
|
193
194
|
$values: if(type-of($values) != list, ($values,), $values);
|
194
195
|
|
195
|
-
$val:
|
196
|
+
$val: '';
|
196
197
|
|
197
198
|
// Loop over each value and calculate value
|
198
199
|
@each $value in $values {
|
199
200
|
@if $value == 0 {
|
200
|
-
$val: $val +
|
201
|
+
$val: $val + ' 0';
|
201
202
|
}
|
202
203
|
@else {
|
203
204
|
// Cache $value unit
|
@@ -205,14 +206,15 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height
|
|
205
206
|
|
206
207
|
@if $unit == px {
|
207
208
|
// Convert to rem if needed
|
208
|
-
$val: $val +
|
209
|
+
$val: $val + ' ' + if($rfs-unit == rem, #{divide($value, $value * 0 + $rfs-rem-value)}rem, $value);
|
209
210
|
}
|
210
211
|
@else if $unit == rem {
|
211
212
|
// Convert to px if needed
|
212
|
-
$val: $val +
|
213
|
-
}
|
213
|
+
$val: $val + ' ' + if($rfs-unit == px, #{divide($value, $value * 0 + 1) * $rfs-rem-value}px, $value);
|
214
|
+
}
|
215
|
+
@else {
|
214
216
|
// If $value isn't a number (like inherit) or $value has a unit (not px or rem, like 1.5em) or $ is 0, just print the value
|
215
|
-
$val: $val +
|
217
|
+
$val: $val + ' ' + $value;
|
216
218
|
}
|
217
219
|
}
|
218
220
|
}
|
@@ -226,26 +228,30 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height
|
|
226
228
|
// Convert to list
|
227
229
|
$values: if(type-of($values) != list, ($values,), $values);
|
228
230
|
|
229
|
-
$val:
|
231
|
+
$val: '';
|
230
232
|
|
231
233
|
// Loop over each value and calculate value
|
232
234
|
@each $value in $values {
|
233
235
|
@if $value == 0 {
|
234
|
-
$val: $val +
|
235
|
-
}
|
236
|
+
$val: $val + ' 0';
|
237
|
+
}
|
238
|
+
|
239
|
+
@else {
|
236
240
|
// Cache $value unit
|
237
241
|
$unit: if(type-of($value) == "number", unit($value), false);
|
238
242
|
|
239
243
|
// If $value isn't a number (like inherit) or $value has a unit (not px or rem, like 1.5em) or $ is 0, just print the value
|
240
244
|
@if not $unit or $unit != px and $unit != rem {
|
241
|
-
$val: $val +
|
242
|
-
}
|
245
|
+
$val: $val + ' ' + $value;
|
246
|
+
}
|
247
|
+
|
248
|
+
@else {
|
243
249
|
// Remove unit from $value for calculations
|
244
250
|
$value: divide($value, $value * 0 + if($unit == px, 1, divide(1, $rfs-rem-value)));
|
245
251
|
|
246
252
|
// Only add the media query if the value is greater than the minimum value
|
247
253
|
@if abs($value) <= $rfs-base-value or not $enable-rfs {
|
248
|
-
$val: $val +
|
254
|
+
$val: $val + ' ' + if($rfs-unit == rem, #{divide($value, $rfs-rem-value)}rem, #{$value}px);
|
249
255
|
}
|
250
256
|
@else {
|
251
257
|
// Calculate the minimum value
|
@@ -267,7 +273,7 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height
|
|
267
273
|
$variable-width: #{divide($value-diff * 100, $rfs-breakpoint)}#{$variable-unit};
|
268
274
|
|
269
275
|
// Return the calculated value
|
270
|
-
$val: $val +
|
276
|
+
$val: $val + ' calc(' + $min-width + if($value < 0, ' - ', ' + ') + $variable-width + ')';
|
271
277
|
}
|
272
278
|
}
|
273
279
|
}
|
@@ -281,22 +287,22 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height
|
|
281
287
|
@mixin rfs($values, $property: font-size) {
|
282
288
|
@if $values != null {
|
283
289
|
$val: rfs-value($values);
|
284
|
-
$
|
290
|
+
$fluidVal: rfs-fluid-value($values);
|
285
291
|
|
286
292
|
// Do not print the media query if responsive & non-responsive values are the same
|
287
|
-
@if $val == $
|
293
|
+
@if $val == $fluidVal {
|
288
294
|
#{$property}: $val;
|
289
295
|
}
|
290
296
|
@else {
|
291
|
-
@include _rfs-rule
|
292
|
-
#{$property}: if($rfs-mode == max-media-query, $val, $
|
297
|
+
@include _rfs-rule {
|
298
|
+
#{$property}: if($rfs-mode == max-media-query, $val, $fluidVal);
|
293
299
|
|
294
300
|
// Include safari iframe resize fix if needed
|
295
301
|
min-width: if($rfs-safari-iframe-resize-bug-fix, (0 * 1vw), null);
|
296
302
|
}
|
297
303
|
|
298
|
-
@include _rfs-media-query-rule
|
299
|
-
#{$property}: if($rfs-mode == max-media-query, $
|
304
|
+
@include _rfs-media-query-rule {
|
305
|
+
#{$property}: if($rfs-mode == max-media-query, $fluidVal, $val);
|
300
306
|
}
|
301
307
|
}
|
302
308
|
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
// --------------------------------------------------------------------------------
|
2
|
+
// Navbar and linked headings' correction.
|
3
|
+
//
|
4
|
+
// By default, when you access page headings from the page table of content
|
5
|
+
// (toc) links, the heading is hidden behind the navbar. This workaround fixes
|
6
|
+
// the linked headings visibility issue in the page.
|
7
|
+
// --------------------------------------------------------------------------------
|
8
|
+
h1,h2,h3,h4,h5,h6 {
|
9
|
+
&::before {
|
10
|
+
display: block;
|
11
|
+
height: 6rem;
|
12
|
+
margin-top: -6rem;
|
13
|
+
visibility: hidden;
|
14
|
+
content: "";
|
15
|
+
}
|
16
|
+
margin-top: 3rem;
|
17
|
+
}
|
@@ -0,0 +1,112 @@
|
|
1
|
+
/* Sponsors' rolling images used in the homepage.
|
2
|
+
*
|
3
|
+
* Thanks Anand Vunnam for sharing the code used as reference.
|
4
|
+
* https://bbbootstrap.com/snippets/bootstrap-5-rolling-images-animation-33714815
|
5
|
+
**/
|
6
|
+
@keyframes roll {
|
7
|
+
0% {
|
8
|
+
left: 0%;
|
9
|
+
}
|
10
|
+
100% {
|
11
|
+
left: -100%;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
@keyframes roll-reverse {
|
15
|
+
0% {
|
16
|
+
left: 100%;
|
17
|
+
}
|
18
|
+
100% {
|
19
|
+
left: 0%; }
|
20
|
+
}
|
21
|
+
@keyframes roll-clockwise {
|
22
|
+
0% {
|
23
|
+
left: -100%;
|
24
|
+
}
|
25
|
+
100% {
|
26
|
+
left: 0%; }
|
27
|
+
}
|
28
|
+
@keyframes roll-reverse-clockwise {
|
29
|
+
0% {
|
30
|
+
left: 0%;
|
31
|
+
}
|
32
|
+
100% {
|
33
|
+
left: 100%;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
.container {
|
37
|
+
.start-roller {
|
38
|
+
left: 0;
|
39
|
+
top: 0;
|
40
|
+
background-image: linear-gradient(to right, #f8f9fa 30%, #f8f9fa00);
|
41
|
+
}
|
42
|
+
.end-roller {
|
43
|
+
right: 0;
|
44
|
+
top: 0;
|
45
|
+
background-image: linear-gradient(to left, #f8f9fa 30%, #f8f9fa00);
|
46
|
+
}
|
47
|
+
.start-roller, .end-roller {
|
48
|
+
height: 100%;
|
49
|
+
width: 40px;
|
50
|
+
position: absolute;
|
51
|
+
z-index: 1;
|
52
|
+
}
|
53
|
+
.rollers {
|
54
|
+
flex: 0 0 230px;
|
55
|
+
.wrapper {
|
56
|
+
position: relative;
|
57
|
+
// You may need to adjust the wrapper width based on the number of images
|
58
|
+
// you are loading. In our case, 15600px is fine to present 65 images.
|
59
|
+
// The image size expected is 200x60 pixels.
|
60
|
+
width: 15600px;
|
61
|
+
height: 80px;
|
62
|
+
margin: 0 0 20px 0;
|
63
|
+
flex: 0 0 auto;
|
64
|
+
.items-container {
|
65
|
+
display: flex;
|
66
|
+
align-items: center;
|
67
|
+
position: absolute;
|
68
|
+
width: 100%;
|
69
|
+
height: 100%;
|
70
|
+
animation-duration: 240s;
|
71
|
+
animation-iteration-count: infinite;
|
72
|
+
animation-timing-function: linear;
|
73
|
+
&.roll-LL {
|
74
|
+
animation-name: roll;
|
75
|
+
}
|
76
|
+
&.roll-RL {
|
77
|
+
animation-name: roll-reverse;
|
78
|
+
left: 100%;
|
79
|
+
}
|
80
|
+
&.reverse-roll-LL {
|
81
|
+
animation-name: roll-clockwise;
|
82
|
+
left: -100%;
|
83
|
+
}
|
84
|
+
&.reverse-roll-RL {
|
85
|
+
animation-name: roll-reverse-clockwise;
|
86
|
+
left: 100%;
|
87
|
+
}
|
88
|
+
.item {
|
89
|
+
flex: 1 1 200px;
|
90
|
+
min-width: 0;
|
91
|
+
margin: 20px;
|
92
|
+
.company {
|
93
|
+
filter: grayscale(100%);
|
94
|
+
opacity: 0.2;
|
95
|
+
width: 100%;
|
96
|
+
object-fit: scale-down;
|
97
|
+
opacity: 0.4;
|
98
|
+
&:hover {
|
99
|
+
filter: grayscale(0%);
|
100
|
+
opacity: 1;
|
101
|
+
cursor: pointer;
|
102
|
+
}
|
103
|
+
}
|
104
|
+
img {
|
105
|
+
vertical-align: middle;
|
106
|
+
height: 60px;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
//
|
2
|
+
// CentOS Branding
|
3
|
+
//
|
4
|
+
$centos-color-1: #a14f8c;
|
5
|
+
$centos-color-2: #262577;
|
6
|
+
$centos-color-3: #9ccd2a;
|
7
|
+
$centos-color-4: #efa724;
|
8
|
+
//
|
9
|
+
// Bootstrap customization
|
10
|
+
//
|
11
|
+
$body-color: shade-color($centos-color-1, 75);
|
12
|
+
$enable-rounded: true;
|
13
|
+
$enable-negative-margins: true;
|
14
|
+
$nav-pills-link-active-bg: $centos-color-1;
|
15
|
+
$link-color: $centos-color-1;
|
16
|
+
$link-decoration: none;
|
17
|
+
$primary: $centos-color-1;
|
18
|
+
$secondary: $centos-color-4;
|
19
|
+
$dark: #200735;
|
20
|
+
$dropdown-dark-bg: $dark;
|
21
|
+
$font-family-sans-serif: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
|
22
|
+
$font-family-monospace: overpass-mono, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
|
23
|
+
$line-height-base: 1.75;
|
@@ -0,0 +1,153 @@
|
|
1
|
+
// animating icons
|
2
|
+
// --------------------------
|
3
|
+
|
4
|
+
.#{$fa-css-prefix}-beat {
|
5
|
+
animation-name: #{$fa-css-prefix}-beat;
|
6
|
+
animation-delay: var(--#{$fa-css-prefix}-animation-delay, 0s);
|
7
|
+
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
|
8
|
+
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 1s);
|
9
|
+
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
|
10
|
+
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, ease-in-out);
|
11
|
+
}
|
12
|
+
|
13
|
+
.#{$fa-css-prefix}-bounce {
|
14
|
+
animation-name: #{$fa-css-prefix}-bounce;
|
15
|
+
animation-delay: var(--#{$fa-css-prefix}-animation-delay, 0s);
|
16
|
+
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
|
17
|
+
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 1s);
|
18
|
+
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
|
19
|
+
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, cubic-bezier(0.280, 0.840, 0.420, 1));
|
20
|
+
}
|
21
|
+
|
22
|
+
.#{$fa-css-prefix}-fade {
|
23
|
+
animation-name: #{$fa-css-prefix}-fade;
|
24
|
+
animation-delay: var(--#{$fa-css-prefix}-animation-delay, 0s);
|
25
|
+
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
|
26
|
+
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 1s);
|
27
|
+
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
|
28
|
+
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, cubic-bezier(.4,0,.6,1));
|
29
|
+
}
|
30
|
+
|
31
|
+
.#{$fa-css-prefix}-beat-fade {
|
32
|
+
animation-name: #{$fa-css-prefix}-beat-fade;
|
33
|
+
animation-delay: var(--#{$fa-css-prefix}-animation-delay, 0s);
|
34
|
+
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
|
35
|
+
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 1s);
|
36
|
+
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
|
37
|
+
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, cubic-bezier(.4,0,.6,1));
|
38
|
+
}
|
39
|
+
|
40
|
+
.#{$fa-css-prefix}-flip {
|
41
|
+
animation-name: #{$fa-css-prefix}-flip;
|
42
|
+
animation-delay: var(--#{$fa-css-prefix}-animation-delay, 0s);
|
43
|
+
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
|
44
|
+
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 1s);
|
45
|
+
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
|
46
|
+
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, ease-in-out);
|
47
|
+
}
|
48
|
+
|
49
|
+
.#{$fa-css-prefix}-shake {
|
50
|
+
animation-name: #{$fa-css-prefix}-shake;
|
51
|
+
animation-delay: var(--#{$fa-css-prefix}-animation-delay, 0s);
|
52
|
+
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
|
53
|
+
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 1s);
|
54
|
+
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
|
55
|
+
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, linear);
|
56
|
+
}
|
57
|
+
|
58
|
+
.#{$fa-css-prefix}-spin {
|
59
|
+
animation-name: #{$fa-css-prefix}-spin;
|
60
|
+
animation-delay: var(--#{$fa-css-prefix}-animation-delay, 0s);
|
61
|
+
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
|
62
|
+
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 2s);
|
63
|
+
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
|
64
|
+
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, linear);
|
65
|
+
}
|
66
|
+
|
67
|
+
.#{$fa-css-prefix}-spin-reverse {
|
68
|
+
--#{$fa-css-prefix}-animation-direction: reverse;
|
69
|
+
}
|
70
|
+
|
71
|
+
.#{$fa-css-prefix}-pulse,
|
72
|
+
.#{$fa-css-prefix}-spin-pulse {
|
73
|
+
animation-name: #{$fa-css-prefix}-spin;
|
74
|
+
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
|
75
|
+
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 1s);
|
76
|
+
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
|
77
|
+
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, steps(8));
|
78
|
+
}
|
79
|
+
|
80
|
+
// if agent or operating system prefers reduced motion, disable animations
|
81
|
+
// see: https://www.smashingmagazine.com/2020/09/design-reduced-motion-sensitivities/
|
82
|
+
// see: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion
|
83
|
+
@media (prefers-reduced-motion: reduce) {
|
84
|
+
.#{$fa-css-prefix}-beat,
|
85
|
+
.#{$fa-css-prefix}-bounce,
|
86
|
+
.#{$fa-css-prefix}-fade,
|
87
|
+
.#{$fa-css-prefix}-beat-fade,
|
88
|
+
.#{$fa-css-prefix}-flip,
|
89
|
+
.#{$fa-css-prefix}-pulse,
|
90
|
+
.#{$fa-css-prefix}-shake,
|
91
|
+
.#{$fa-css-prefix}-spin,
|
92
|
+
.#{$fa-css-prefix}-spin-pulse {
|
93
|
+
animation-delay: -1ms;
|
94
|
+
animation-duration: 1ms;
|
95
|
+
animation-iteration-count: 1;
|
96
|
+
transition-delay: 0s;
|
97
|
+
transition-duration: 0s;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
@keyframes #{$fa-css-prefix}-beat {
|
102
|
+
0%, 90% { transform: scale(1); }
|
103
|
+
45% { transform: scale(var(--#{$fa-css-prefix}-beat-scale, 1.25)); }
|
104
|
+
}
|
105
|
+
|
106
|
+
@keyframes #{$fa-css-prefix}-bounce {
|
107
|
+
0% { transform: scale(1,1) translateY(0); }
|
108
|
+
10% { transform: scale(var(--#{$fa-css-prefix}-bounce-start-scale-x, 1.1),var(--#{$fa-css-prefix}-bounce-start-scale-y, 0.9)) translateY(0); }
|
109
|
+
30% { transform: scale(var(--#{$fa-css-prefix}-bounce-jump-scale-x, 0.9),var(--#{$fa-css-prefix}-bounce-jump-scale-y, 1.1)) translateY(var(--#{$fa-css-prefix}-bounce-height, -0.5em)); }
|
110
|
+
50% { transform: scale(var(--#{$fa-css-prefix}-bounce-land-scale-x, 1.05),var(--#{$fa-css-prefix}-bounce-land-scale-y, 0.95)) translateY(0); }
|
111
|
+
57% { transform: scale(1,1) translateY(var(--#{$fa-css-prefix}-bounce-rebound, -0.125em)); }
|
112
|
+
64% { transform: scale(1,1) translateY(0); }
|
113
|
+
100% { transform: scale(1,1) translateY(0); }
|
114
|
+
}
|
115
|
+
|
116
|
+
@keyframes #{$fa-css-prefix}-fade {
|
117
|
+
50% { opacity: var(--#{$fa-css-prefix}-fade-opacity, 0.4); }
|
118
|
+
}
|
119
|
+
|
120
|
+
@keyframes #{$fa-css-prefix}-beat-fade {
|
121
|
+
0%, 100% {
|
122
|
+
opacity: var(--#{$fa-css-prefix}-beat-fade-opacity, 0.4);
|
123
|
+
transform: scale(1);
|
124
|
+
}
|
125
|
+
50% {
|
126
|
+
opacity: 1;
|
127
|
+
transform: scale(var(--#{$fa-css-prefix}-beat-fade-scale, 1.125));
|
128
|
+
}
|
129
|
+
}
|
130
|
+
|
131
|
+
@keyframes #{$fa-css-prefix}-flip {
|
132
|
+
50% {
|
133
|
+
transform: rotate3d(var(--#{$fa-css-prefix}-flip-x, 0), var(--#{$fa-css-prefix}-flip-y, 1), var(--#{$fa-css-prefix}-flip-z, 0), var(--#{$fa-css-prefix}-flip-angle, -180deg));
|
134
|
+
}
|
135
|
+
}
|
136
|
+
|
137
|
+
@keyframes #{$fa-css-prefix}-shake {
|
138
|
+
0% { transform: rotate(-15deg); }
|
139
|
+
4% { transform: rotate(15deg); }
|
140
|
+
8%, 24% { transform: rotate(-18deg); }
|
141
|
+
12%, 28% { transform: rotate(18deg); }
|
142
|
+
16% { transform: rotate(-22deg); }
|
143
|
+
20% { transform: rotate(22deg); }
|
144
|
+
32% { transform: rotate(-12deg); }
|
145
|
+
36% { transform: rotate(12deg); }
|
146
|
+
40%, 100% { transform: rotate(0deg); }
|
147
|
+
}
|
148
|
+
|
149
|
+
@keyframes #{$fa-css-prefix}-spin {
|
150
|
+
0% { transform: rotate(0deg); }
|
151
|
+
100% { transform: rotate(360deg); }
|
152
|
+
}
|
153
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
// bordered + pulled icons
|
2
|
+
// -------------------------
|
3
|
+
|
4
|
+
.#{$fa-css-prefix}-border {
|
5
|
+
border-color: var(--#{$fa-css-prefix}-border-color, #{$fa-border-color});
|
6
|
+
border-radius: var(--#{$fa-css-prefix}-border-radius, #{$fa-border-radius});
|
7
|
+
border-style: var(--#{$fa-css-prefix}-border-style, #{$fa-border-style});
|
8
|
+
border-width: var(--#{$fa-css-prefix}-border-width, #{$fa-border-width});
|
9
|
+
padding: var(--#{$fa-css-prefix}-border-padding, #{$fa-border-padding});
|
10
|
+
}
|
11
|
+
|
12
|
+
.#{$fa-css-prefix}-pull-left {
|
13
|
+
float: left;
|
14
|
+
margin-right: var(--#{$fa-css-prefix}-pull-margin, #{$fa-pull-margin});
|
15
|
+
}
|
16
|
+
|
17
|
+
.#{$fa-css-prefix}-pull-right {
|
18
|
+
float: right;
|
19
|
+
margin-left: var(--#{$fa-css-prefix}-pull-margin, #{$fa-pull-margin});
|
20
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
// base icon class definition
|
2
|
+
// -------------------------
|
3
|
+
|
4
|
+
.#{$fa-css-prefix} {
|
5
|
+
font-family: var(--#{$fa-css-prefix}-style-family, '#{$fa-style-family}');
|
6
|
+
font-weight: var(--#{$fa-css-prefix}-style, #{$fa-style});
|
7
|
+
}
|
8
|
+
|
9
|
+
.#{$fa-css-prefix},
|
10
|
+
.#{$fa-css-prefix}-classic,
|
11
|
+
.#{$fa-css-prefix}-sharp,
|
12
|
+
.fas,
|
13
|
+
.#{$fa-css-prefix}-solid,
|
14
|
+
.far,
|
15
|
+
.#{$fa-css-prefix}-regular,
|
16
|
+
.fab,
|
17
|
+
.#{$fa-css-prefix}-brands {
|
18
|
+
-moz-osx-font-smoothing: grayscale;
|
19
|
+
-webkit-font-smoothing: antialiased;
|
20
|
+
display: var(--#{$fa-css-prefix}-display, #{$fa-display});
|
21
|
+
font-style: normal;
|
22
|
+
font-variant: normal;
|
23
|
+
line-height: 1;
|
24
|
+
text-rendering: auto;
|
25
|
+
}
|
26
|
+
|
27
|
+
.fas,
|
28
|
+
.#{$fa-css-prefix}-classic,
|
29
|
+
.#{$fa-css-prefix}-solid,
|
30
|
+
.far,
|
31
|
+
.#{$fa-css-prefix}-regular {
|
32
|
+
font-family: 'Font Awesome 6 Free';
|
33
|
+
}
|
34
|
+
|
35
|
+
.fab,
|
36
|
+
.#{$fa-css-prefix}-brands {
|
37
|
+
font-family: 'Font Awesome 6 Brands';
|
38
|
+
}
|
39
|
+
|
40
|
+
|
41
|
+
%fa-icon {
|
42
|
+
@include fa-icon;
|
43
|
+
}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
// functions
|
2
|
+
// --------------------------
|
3
|
+
|
4
|
+
// fa-content: convenience function used to set content property
|
5
|
+
@function fa-content($fa-var) {
|
6
|
+
@return unquote("\"#{ $fa-var }\"");
|
7
|
+
}
|
8
|
+
|
9
|
+
// fa-divide: Originally obtained from the Bootstrap https://github.com/twbs/bootstrap
|
10
|
+
//
|
11
|
+
// Licensed under: The MIT License (MIT)
|
12
|
+
//
|
13
|
+
// Copyright (c) 2011-2021 Twitter, Inc.
|
14
|
+
// Copyright (c) 2011-2021 The Bootstrap Authors
|
15
|
+
//
|
16
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
17
|
+
// of this software and associated documentation files (the "Software"), to deal
|
18
|
+
// in the Software without restriction, including without limitation the rights
|
19
|
+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
20
|
+
// copies of the Software, and to permit persons to whom the Software is
|
21
|
+
// furnished to do so, subject to the following conditions:
|
22
|
+
//
|
23
|
+
// The above copyright notice and this permission notice shall be included in
|
24
|
+
// all copies or substantial portions of the Software.
|
25
|
+
//
|
26
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
27
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
28
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
29
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
30
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
31
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
32
|
+
// THE SOFTWARE.
|
33
|
+
|
34
|
+
@function fa-divide($dividend, $divisor, $precision: 10) {
|
35
|
+
$sign: if($dividend > 0 and $divisor > 0, 1, -1);
|
36
|
+
$dividend: abs($dividend);
|
37
|
+
$divisor: abs($divisor);
|
38
|
+
$quotient: 0;
|
39
|
+
$remainder: $dividend;
|
40
|
+
@if $dividend == 0 {
|
41
|
+
@return 0;
|
42
|
+
}
|
43
|
+
@if $divisor == 0 {
|
44
|
+
@error "Cannot divide by 0";
|
45
|
+
}
|
46
|
+
@if $divisor == 1 {
|
47
|
+
@return $dividend;
|
48
|
+
}
|
49
|
+
@while $remainder >= $divisor {
|
50
|
+
$quotient: $quotient + 1;
|
51
|
+
$remainder: $remainder - $divisor;
|
52
|
+
}
|
53
|
+
@if $remainder > 0 and $precision > 0 {
|
54
|
+
$remainder: fa-divide($remainder * 10, $divisor, $precision - 1) * .1;
|
55
|
+
}
|
56
|
+
@return ($quotient + $remainder) * $sign;
|
57
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
// specific icon class definition
|
2
|
+
// -------------------------
|
3
|
+
|
4
|
+
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
5
|
+
readers do not read off random characters that represent icons */
|
6
|
+
|
7
|
+
@each $name, $icon in $fa-icons {
|
8
|
+
.#{$fa-css-prefix}-#{$name}::before { content: unquote("\"#{ $icon }\""); }
|
9
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
// icons in a list
|
2
|
+
// -------------------------
|
3
|
+
|
4
|
+
.#{$fa-css-prefix}-ul {
|
5
|
+
list-style-type: none;
|
6
|
+
margin-left: var(--#{$fa-css-prefix}-li-margin, #{$fa-li-margin});
|
7
|
+
padding-left: 0;
|
8
|
+
|
9
|
+
> li { position: relative; }
|
10
|
+
}
|
11
|
+
|
12
|
+
.#{$fa-css-prefix}-li {
|
13
|
+
left: calc(var(--#{$fa-css-prefix}-li-width, #{$fa-li-width}) * -1);
|
14
|
+
position: absolute;
|
15
|
+
text-align: center;
|
16
|
+
width: var(--#{$fa-css-prefix}-li-width, #{$fa-li-width});
|
17
|
+
line-height: inherit;
|
18
|
+
}
|