Added support to PurgeCSS (#1562)
Tackled #1329 with [PurgeCSS](https://purgecss.com/). Being talking with @varuniyer about using [jekyll-uncss](https://github.com/episource/jekyll-uncss) to reduce css file sizes by ditching unused classes. This approach have 3 main problems: 1 - have some limitations as pointed [here](https://github.com/alshedivat/al-folio/issues/1329#issuecomment-1546517327) 2 - last update to [jekyll-uncss](https://github.com/episource/jekyll-uncss) was about 3 years ago, so it might have a few issues 3 - [uncss](https://github.com/uncss/uncss) haven't seem a new release in a while, currently [lacking maintenance](https://github.com/uncss/uncss/issues/459), and using some deprecated libraries as seem here: ``` npm install -g uncss npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin. npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 ``` I thought about giving PurgeCSS a go, since it has been more [actively maintaned](https://github.com/FullHuman/purgecss), but [jekyll-purgecss](https://github.com/mhanberg/jekyll-purgecss) haven't. For this, I needed to change to use some local libraries instead of getting them via CDN. The good news is that it is quite effective in reducing css file sizes. Comparing dir sizes with `du -hs _site/assets/css/`: | current | minify | PurgeCSS | PurgeCSS + minify | | ------- | ------ | -------- | ----------------- | | 1,1M | 988K | 456K | 420K | --------- Signed-off-by: George Araujo <george.gcac@gmail.com>
This commit is contained in:
parent
b663e9e1c9
commit
64cf57fab3
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
@ -30,8 +30,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
pip3 install --upgrade jupyter
|
pip3 install --upgrade jupyter
|
||||||
npm install -g mermaid.cli
|
npm install -g mermaid.cli
|
||||||
|
npm install -g purgecss
|
||||||
export JEKYLL_ENV=production
|
export JEKYLL_ENV=production
|
||||||
bundle exec jekyll build
|
bundle exec jekyll build --lsi
|
||||||
|
purgecss -c purgecss.config.js
|
||||||
- name: Deploy 🚀
|
- name: Deploy 🚀
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
uses: JamesIves/github-pages-deploy-action@v4
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
|
|||||||
16
README.md
16
README.md
@ -167,10 +167,10 @@ Beyond Vision: Physics meets AI (ICIAP: <a href="https://physicsmeetsai.github.i
|
|||||||
|
|
||||||
## Table Of Contents
|
## Table Of Contents
|
||||||
|
|
||||||
* [User community](#user-community)
|
- [User community](#user-community)
|
||||||
* [Lighthouse PageSpeed Insights](#lighthouse-pagespeed-insights)
|
- [Lighthouse PageSpeed Insights](#lighthouse-pagespeed-insights)
|
||||||
* [Table Of Contents](#table-of-contents)
|
- [Table Of Contents](#table-of-contents)
|
||||||
* [Getting started](#getting-started)
|
- [Getting started](#getting-started)
|
||||||
- [Installation](#installation)
|
- [Installation](#installation)
|
||||||
- [Local setup using Docker (Recommended)](#local-setup-using-docker-recommended)
|
- [Local setup using Docker (Recommended)](#local-setup-using-docker-recommended)
|
||||||
- [Local Setup (Legacy)](#local-setup-legacy)
|
- [Local Setup (Legacy)](#local-setup-legacy)
|
||||||
@ -312,6 +312,14 @@ $ bundle exec jekyll build --lsi
|
|||||||
which will (re-)generate the static webpage in the `_site/` folder.
|
which will (re-)generate the static webpage in the `_site/` folder.
|
||||||
Then simply copy the contents of the `_site/` directory to your hosting server.
|
Then simply copy the contents of the `_site/` directory to your hosting server.
|
||||||
|
|
||||||
|
If you also want to remove unused css classes from your file, run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ purgecss -c purgecss.config.js
|
||||||
|
```
|
||||||
|
|
||||||
|
which will replace the css files in the `_site/assets/css/` folder with the purged css files.
|
||||||
|
|
||||||
**Note:** Make sure to correctly set the `url` and `baseurl` fields in `_config.yml` before building the webpage. If you are deploying your webpage to `your-domain.com/your-project/`, you must set `url: your-domain.com` and `baseurl: /your-project/`. If you are deploying directly to `your-domain.com`, leave `baseurl` blank.
|
**Note:** Make sure to correctly set the `url` and `baseurl` fields in `_config.yml` before building the webpage. If you are deploying your webpage to `your-domain.com/your-project/`, you must set `url: your-domain.com` and `baseurl: /your-project/`. If you are deploying directly to `your-domain.com`, leave `baseurl` blank.
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|||||||
25
_config.yml
25
_config.yml
@ -27,10 +27,6 @@ impressum_path: # set to path to include impressum link in the footer, use the
|
|||||||
# Theme
|
# Theme
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
|
||||||
# code highlighter theme
|
|
||||||
highlight_theme_light: github # https://github.com/jwarby/jekyll-pygments-themes
|
|
||||||
highlight_theme_dark: native # https://github.com/jwarby/jekyll-pygments-themes
|
|
||||||
|
|
||||||
# repo color theme
|
# repo color theme
|
||||||
repo_theme_light: default # https://github.com/anuraghazra/github-readme-stats/blob/master/themes/README.md
|
repo_theme_light: default # https://github.com/anuraghazra/github-readme-stats/blob/master/themes/README.md
|
||||||
repo_theme_dark: dark # https://github.com/anuraghazra/github-readme-stats/blob/master/themes/README.md
|
repo_theme_dark: dark # https://github.com/anuraghazra/github-readme-stats/blob/master/themes/README.md
|
||||||
@ -242,6 +238,9 @@ defaults:
|
|||||||
values:
|
values:
|
||||||
sitemap: false
|
sitemap: false
|
||||||
|
|
||||||
|
sass:
|
||||||
|
style: compressed
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# Jekyll Minifier
|
# Jekyll Minifier
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
@ -377,19 +376,8 @@ enable_progressbar: true # enables a horizontal progress bar linked to
|
|||||||
# Library versions
|
# Library versions
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
|
||||||
academicons:
|
|
||||||
version: "1.9.1"
|
|
||||||
integrity: "sha256-i1+4qU2G2860dGGIOJscdC30s9beBXjFfzjWLjBRsBg="
|
|
||||||
bootstrap:
|
|
||||||
version: "4.6.1"
|
|
||||||
integrity:
|
|
||||||
css: "sha256-DF7Zhf293AJxJNTmh5zhoYYIMs2oXitRfBjY+9L//AY="
|
|
||||||
js: "sha256-fgLAgv7fyCGopR/gBNq2iW3ZKIdqIcyshnUULC4vex8="
|
|
||||||
bootstrap-table:
|
bootstrap-table:
|
||||||
version: "1.21.4"
|
version: "1.22.1"
|
||||||
fontawesome:
|
|
||||||
version: "6.4.0"
|
|
||||||
integrity: "sha256-HtsXJanqjKTc8vVQjO4YMhiqFoXkfBsjBWcX91T1jr8="
|
|
||||||
jquery:
|
jquery:
|
||||||
version: "3.6.0"
|
version: "3.6.0"
|
||||||
integrity: "sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
|
integrity: "sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
|
||||||
@ -398,11 +386,6 @@ mathjax:
|
|||||||
masonry:
|
masonry:
|
||||||
version: "4.2.2"
|
version: "4.2.2"
|
||||||
integrity: "sha256-Nn1q/fx0H7SNLZMQ5Hw5JLaTRZp0yILA/FRexe19VdI="
|
integrity: "sha256-Nn1q/fx0H7SNLZMQ5Hw5JLaTRZp0yILA/FRexe19VdI="
|
||||||
mdb:
|
|
||||||
version: "4.20.0"
|
|
||||||
integrity:
|
|
||||||
css: "sha256-jpjYvU3G3N6nrrBwXJoVEYI/0zw8htfFnhT9ljN3JJw="
|
|
||||||
js: "sha256-NdbiivsvWt7VYCt6hYNT3h/th9vSTL4EDWeGs5SN3DA="
|
|
||||||
medium_zoom:
|
medium_zoom:
|
||||||
version: "1.0.8"
|
version: "1.0.8"
|
||||||
integrity: "sha256-7PhEpEWEW0XXQ0k6kQrPKwuoIomz8R8IYyuU1Qew4P8="
|
integrity: "sha256-7PhEpEWEW0XXQ0k6kQrPKwuoIomz8R8IYyuU1Qew4P8="
|
||||||
|
|||||||
@ -2,37 +2,36 @@
|
|||||||
{% include metadata.html %}
|
{% include metadata.html %}
|
||||||
|
|
||||||
<!-- Bootstrap & MDB -->
|
<!-- Bootstrap & MDB -->
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@{{ site.bootstrap.version }}/dist/css/bootstrap.min.css" rel="stylesheet" integrity="{{ site.bootstrap.integrity.css }}" crossorigin="anonymous">
|
<link rel="stylesheet" href="{{ '/assets/css/bootstrap.min.css' | relative_url | bust_file_cache }}">
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/mdbootstrap@{{ site.mdb.version }}/css/mdb.min.css" integrity="{{ site.mdb.integrity.css }}" crossorigin="anonymous" />
|
<link rel="stylesheet" href="{{ '/assets/css/mdb.min.css' | relative_url | bust_file_cache }}">
|
||||||
|
|
||||||
<!-- Bootstrap Table -->
|
<!-- Bootstrap Table -->
|
||||||
<link defer rel="stylesheet" href="https://unpkg.com/bootstrap-table@{{ site.bootstrap-table.version }}/dist/bootstrap-table.min.css">
|
<link defer rel="stylesheet" href="https://unpkg.com/bootstrap-table@{{ site.bootstrap-table.version }}/dist/bootstrap-table.min.css">
|
||||||
|
|
||||||
<!-- Fonts & Icons -->
|
<!-- Fonts & Icons -->
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@{{ site.fontawesome.version }}/css/all.min.css" integrity="{{ site.fontawesome.integrity }}" crossorigin="anonymous">
|
<link rel="stylesheet" href="{{ '/assets/css/academicons.min.css' | relative_url | bust_file_cache }}">
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/academicons@{{ site.academicons.version }}/css/academicons.min.css" integrity="{{ site.academicons.integrity }}" crossorigin="anonymous">
|
|
||||||
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Roboto+Slab:100,300,400,500,700|Material+Icons">
|
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Roboto+Slab:100,300,400,500,700|Material+Icons">
|
||||||
|
|
||||||
<!-- Code Syntax Highlighting -->
|
<!-- Code Syntax Highlighting -->
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jwarby/jekyll-pygments-themes@master/{{ site.highlight_theme_light | append: '.css' }}" media="" id="highlight_theme_light" />
|
<link rel="stylesheet" href="{{ '/assets/css/jekyll-pygments-themes-github.css' | relative_url | bust_file_cache }}" media="" id="highlight_theme_light" />
|
||||||
|
|
||||||
{% if page.toc and page.toc.sidebar %}
|
{% if page.toc and page.toc.sidebar %}
|
||||||
<!-- Sidebar Table of Contents -->
|
<!-- Sidebar Table of Contents -->
|
||||||
<link href="https://cdn.rawgit.com/afeld/bootstrap-toc/v1.0.1/dist/bootstrap-toc.min.css" rel="stylesheet" />
|
<link href="{{ '/assets/css/bootstrap-toc.min.css' | relative_url | bust_file_cache }}" rel="stylesheet" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- Styles -->
|
<!-- Styles -->
|
||||||
{% if site.icon.size <= 4 %}
|
{% if site.icon.size <= 4 %}
|
||||||
<link rel="shortcut icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>{{ site.icon }}</text></svg>">
|
<link rel="shortcut icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>{{ site.icon }}</text></svg>">
|
||||||
{% elsif site.icon != blank %}
|
{% elsif site.icon != blank %}
|
||||||
<link rel="shortcut icon" href="{{ site.icon | prepend: '/assets/img/' | relative_url}}"/>
|
<link rel="shortcut icon" href="{{ site.icon | prepend: '/assets/img/' | relative_url | bust_file_cache}}"/>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url | bust_css_cache }}">
|
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url | bust_css_cache }}">
|
||||||
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
|
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
|
||||||
|
|
||||||
<!-- Dark Mode -->
|
<!-- Dark Mode -->
|
||||||
{% if site.enable_darkmode %}
|
{% if site.enable_darkmode %}
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jwarby/jekyll-pygments-themes@master/{{ site.highlight_theme_dark | append: '.css' }}" media="none" id="highlight_theme_dark" />
|
<link rel="stylesheet" href="{{ '/assets/css/jekyll-pygments-themes-native.css' | relative_url | bust_file_cache }}" media="none" id="highlight_theme_dark" />
|
||||||
<script src="{{ '/assets/js/theme.js' | relative_url | bust_file_cache }}"></script>
|
<script src="{{ '/assets/js/theme.js' | relative_url | bust_file_cache }}"></script>
|
||||||
<script src="{{ '/assets/js/dark_mode.js' | relative_url | bust_file_cache }}"></script>
|
<script src="{{ '/assets/js/dark_mode.js' | relative_url | bust_file_cache }}"></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
<!-- Bootsrap & MDB scripts -->
|
<!-- Bootsrap & MDB scripts -->
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@{{ site.bootstrap.version }}/dist/js/bootstrap.bundle.min.js" integrity="{{ site.bootstrap.integrity.js }}" crossorigin="anonymous"></script>
|
<script src="{{ '/assets/js/bootstrap.bundle.min.js' | relative_url }}"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/mdbootstrap@{{ site.mdb.version }}/js/mdb.min.js" integrity="{{ site.mdb.integrity.js }}" crossorigin="anonymous"></script>
|
<script src="{{ '/assets/js/mdb.min.js' | relative_url }}"></script>
|
||||||
|
|||||||
@ -8,12 +8,12 @@
|
|||||||
{%- if site.enable_medium_zoom %}
|
{%- if site.enable_medium_zoom %}
|
||||||
<!-- Medium Zoom JS -->
|
<!-- Medium Zoom JS -->
|
||||||
<script defer src="https://cdn.jsdelivr.net/npm/medium-zoom@{{ site.medium_zoom.version }}/dist/medium-zoom.min.js" integrity="{{ site.medium_zoom.integrity }}" crossorigin="anonymous"></script>
|
<script defer src="https://cdn.jsdelivr.net/npm/medium-zoom@{{ site.medium_zoom.version }}/dist/medium-zoom.min.js" integrity="{{ site.medium_zoom.integrity }}" crossorigin="anonymous"></script>
|
||||||
<script defer src="{{ '/assets/js/zoom.js' | relative_url }}"></script>
|
<script defer src="{{ '/assets/js/zoom.js' | relative_url | bust_file_cache }}"></script>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
{% if page.toc and page.toc.sidebar %}
|
{% if page.toc and page.toc.sidebar %}
|
||||||
<!-- Sidebar Table of Contents -->
|
<!-- Sidebar Table of Contents -->
|
||||||
<script defer src="https://cdn.rawgit.com/afeld/bootstrap-toc/v1.0.1/dist/bootstrap-toc.min.js"></script>
|
<script defer src="{{ '/assets/js/bootstrap-toc.min.js' | relative_url | bust_file_cache }}"></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- Bootstrap Table -->
|
<!-- Bootstrap Table -->
|
||||||
|
|||||||
@ -3,7 +3,6 @@
|
|||||||
* To adjust anything, simply edit the variables below and rebuild the theme.
|
* To adjust anything, simply edit the variables below and rebuild the theme.
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
// Colors
|
// Colors
|
||||||
$red-color: #FF3636 !default;
|
$red-color: #FF3636 !default;
|
||||||
$red-color-dark: #B71C1C !default;
|
$red-color-dark: #B71C1C !default;
|
||||||
@ -31,8 +30,10 @@ $grey-900: #212529;
|
|||||||
$white-color: #ffffff !default;
|
$white-color: #ffffff !default;
|
||||||
$black-color: #000000 !default;
|
$black-color: #000000 !default;
|
||||||
|
|
||||||
|
|
||||||
// Theme colors
|
// Theme colors
|
||||||
|
|
||||||
$code-bg-color-light: rgba($purple-color, 0.05);
|
$code-bg-color-light: rgba($purple-color, 0.05);
|
||||||
$code-bg-color-dark: #2c3237 !default;
|
$code-bg-color-dark: #2c3237 !default;
|
||||||
|
|
||||||
|
// Font awesome location
|
||||||
|
$fa-font-path: "../webfonts";
|
||||||
153
_sass/font-awesome/_animated.scss
vendored
Normal file
153
_sass/font-awesome/_animated.scss
vendored
Normal file
@ -0,0 +1,153 @@
|
|||||||
|
// animating icons
|
||||||
|
// --------------------------
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-beat {
|
||||||
|
animation-name: #{$fa-css-prefix}-beat;
|
||||||
|
animation-delay: var(--#{$fa-css-prefix}-animation-delay, 0s);
|
||||||
|
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
|
||||||
|
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 1s);
|
||||||
|
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
|
||||||
|
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, ease-in-out);
|
||||||
|
}
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-bounce {
|
||||||
|
animation-name: #{$fa-css-prefix}-bounce;
|
||||||
|
animation-delay: var(--#{$fa-css-prefix}-animation-delay, 0s);
|
||||||
|
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
|
||||||
|
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 1s);
|
||||||
|
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
|
||||||
|
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, cubic-bezier(0.280, 0.840, 0.420, 1));
|
||||||
|
}
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-fade {
|
||||||
|
animation-name: #{$fa-css-prefix}-fade;
|
||||||
|
animation-delay: var(--#{$fa-css-prefix}-animation-delay, 0s);
|
||||||
|
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
|
||||||
|
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 1s);
|
||||||
|
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
|
||||||
|
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, cubic-bezier(.4,0,.6,1));
|
||||||
|
}
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-beat-fade {
|
||||||
|
animation-name: #{$fa-css-prefix}-beat-fade;
|
||||||
|
animation-delay: var(--#{$fa-css-prefix}-animation-delay, 0s);
|
||||||
|
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
|
||||||
|
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 1s);
|
||||||
|
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
|
||||||
|
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, cubic-bezier(.4,0,.6,1));
|
||||||
|
}
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-flip {
|
||||||
|
animation-name: #{$fa-css-prefix}-flip;
|
||||||
|
animation-delay: var(--#{$fa-css-prefix}-animation-delay, 0s);
|
||||||
|
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
|
||||||
|
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 1s);
|
||||||
|
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
|
||||||
|
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, ease-in-out);
|
||||||
|
}
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-shake {
|
||||||
|
animation-name: #{$fa-css-prefix}-shake;
|
||||||
|
animation-delay: var(--#{$fa-css-prefix}-animation-delay, 0s);
|
||||||
|
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
|
||||||
|
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 1s);
|
||||||
|
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
|
||||||
|
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, linear);
|
||||||
|
}
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-spin {
|
||||||
|
animation-name: #{$fa-css-prefix}-spin;
|
||||||
|
animation-delay: var(--#{$fa-css-prefix}-animation-delay, 0s);
|
||||||
|
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
|
||||||
|
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 2s);
|
||||||
|
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
|
||||||
|
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, linear);
|
||||||
|
}
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-spin-reverse {
|
||||||
|
--#{$fa-css-prefix}-animation-direction: reverse;
|
||||||
|
}
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-pulse,
|
||||||
|
.#{$fa-css-prefix}-spin-pulse {
|
||||||
|
animation-name: #{$fa-css-prefix}-spin;
|
||||||
|
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
|
||||||
|
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 1s);
|
||||||
|
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
|
||||||
|
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, steps(8));
|
||||||
|
}
|
||||||
|
|
||||||
|
// if agent or operating system prefers reduced motion, disable animations
|
||||||
|
// see: https://www.smashingmagazine.com/2020/09/design-reduced-motion-sensitivities/
|
||||||
|
// see: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
.#{$fa-css-prefix}-beat,
|
||||||
|
.#{$fa-css-prefix}-bounce,
|
||||||
|
.#{$fa-css-prefix}-fade,
|
||||||
|
.#{$fa-css-prefix}-beat-fade,
|
||||||
|
.#{$fa-css-prefix}-flip,
|
||||||
|
.#{$fa-css-prefix}-pulse,
|
||||||
|
.#{$fa-css-prefix}-shake,
|
||||||
|
.#{$fa-css-prefix}-spin,
|
||||||
|
.#{$fa-css-prefix}-spin-pulse {
|
||||||
|
animation-delay: -1ms;
|
||||||
|
animation-duration: 1ms;
|
||||||
|
animation-iteration-count: 1;
|
||||||
|
transition-delay: 0s;
|
||||||
|
transition-duration: 0s;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes #{$fa-css-prefix}-beat {
|
||||||
|
0%, 90% { transform: scale(1); }
|
||||||
|
45% { transform: scale(var(--#{$fa-css-prefix}-beat-scale, 1.25)); }
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes #{$fa-css-prefix}-bounce {
|
||||||
|
0% { transform: scale(1,1) translateY(0); }
|
||||||
|
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); }
|
||||||
|
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)); }
|
||||||
|
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); }
|
||||||
|
57% { transform: scale(1,1) translateY(var(--#{$fa-css-prefix}-bounce-rebound, -0.125em)); }
|
||||||
|
64% { transform: scale(1,1) translateY(0); }
|
||||||
|
100% { transform: scale(1,1) translateY(0); }
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes #{$fa-css-prefix}-fade {
|
||||||
|
50% { opacity: var(--#{$fa-css-prefix}-fade-opacity, 0.4); }
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes #{$fa-css-prefix}-beat-fade {
|
||||||
|
0%, 100% {
|
||||||
|
opacity: var(--#{$fa-css-prefix}-beat-fade-opacity, 0.4);
|
||||||
|
transform: scale(1);
|
||||||
|
}
|
||||||
|
50% {
|
||||||
|
opacity: 1;
|
||||||
|
transform: scale(var(--#{$fa-css-prefix}-beat-fade-scale, 1.125));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes #{$fa-css-prefix}-flip {
|
||||||
|
50% {
|
||||||
|
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));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes #{$fa-css-prefix}-shake {
|
||||||
|
0% { transform: rotate(-15deg); }
|
||||||
|
4% { transform: rotate(15deg); }
|
||||||
|
8%, 24% { transform: rotate(-18deg); }
|
||||||
|
12%, 28% { transform: rotate(18deg); }
|
||||||
|
16% { transform: rotate(-22deg); }
|
||||||
|
20% { transform: rotate(22deg); }
|
||||||
|
32% { transform: rotate(-12deg); }
|
||||||
|
36% { transform: rotate(12deg); }
|
||||||
|
40%, 100% { transform: rotate(0deg); }
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes #{$fa-css-prefix}-spin {
|
||||||
|
0% { transform: rotate(0deg); }
|
||||||
|
100% { transform: rotate(360deg); }
|
||||||
|
}
|
||||||
|
|
||||||
20
_sass/font-awesome/_bordered-pulled.scss
vendored
Normal file
20
_sass/font-awesome/_bordered-pulled.scss
vendored
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
// bordered + pulled icons
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-border {
|
||||||
|
border-color: var(--#{$fa-css-prefix}-border-color, #{$fa-border-color});
|
||||||
|
border-radius: var(--#{$fa-css-prefix}-border-radius, #{$fa-border-radius});
|
||||||
|
border-style: var(--#{$fa-css-prefix}-border-style, #{$fa-border-style});
|
||||||
|
border-width: var(--#{$fa-css-prefix}-border-width, #{$fa-border-width});
|
||||||
|
padding: var(--#{$fa-css-prefix}-border-padding, #{$fa-border-padding});
|
||||||
|
}
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-pull-left {
|
||||||
|
float: left;
|
||||||
|
margin-right: var(--#{$fa-css-prefix}-pull-margin, #{$fa-pull-margin});
|
||||||
|
}
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-pull-right {
|
||||||
|
float: right;
|
||||||
|
margin-left: var(--#{$fa-css-prefix}-pull-margin, #{$fa-pull-margin});
|
||||||
|
}
|
||||||
43
_sass/font-awesome/_core.scss
vendored
Normal file
43
_sass/font-awesome/_core.scss
vendored
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
// base icon class definition
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.#{$fa-css-prefix} {
|
||||||
|
font-family: var(--#{$fa-css-prefix}-style-family, '#{$fa-style-family}');
|
||||||
|
font-weight: var(--#{$fa-css-prefix}-style, #{$fa-style});
|
||||||
|
}
|
||||||
|
|
||||||
|
.#{$fa-css-prefix},
|
||||||
|
.#{$fa-css-prefix}-classic,
|
||||||
|
.#{$fa-css-prefix}-sharp,
|
||||||
|
.fas,
|
||||||
|
.#{$fa-css-prefix}-solid,
|
||||||
|
.far,
|
||||||
|
.#{$fa-css-prefix}-regular,
|
||||||
|
.fab,
|
||||||
|
.#{$fa-css-prefix}-brands {
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
display: var(--#{$fa-css-prefix}-display, #{$fa-display});
|
||||||
|
font-style: normal;
|
||||||
|
font-variant: normal;
|
||||||
|
line-height: 1;
|
||||||
|
text-rendering: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fas,
|
||||||
|
.#{$fa-css-prefix}-classic,
|
||||||
|
.#{$fa-css-prefix}-solid,
|
||||||
|
.far,
|
||||||
|
.#{$fa-css-prefix}-regular {
|
||||||
|
font-family: 'Font Awesome 6 Free';
|
||||||
|
}
|
||||||
|
|
||||||
|
.fab,
|
||||||
|
.#{$fa-css-prefix}-brands {
|
||||||
|
font-family: 'Font Awesome 6 Brands';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
%fa-icon {
|
||||||
|
@include fa-icon;
|
||||||
|
}
|
||||||
7
_sass/font-awesome/_fixed-width.scss
vendored
Normal file
7
_sass/font-awesome/_fixed-width.scss
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
// fixed-width icons
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-fw {
|
||||||
|
text-align: center;
|
||||||
|
width: $fa-fw-width;
|
||||||
|
}
|
||||||
57
_sass/font-awesome/_functions.scss
vendored
Normal file
57
_sass/font-awesome/_functions.scss
vendored
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
// functions
|
||||||
|
// --------------------------
|
||||||
|
|
||||||
|
// fa-content: convenience function used to set content property
|
||||||
|
@function fa-content($fa-var) {
|
||||||
|
@return unquote("\"#{ $fa-var }\"");
|
||||||
|
}
|
||||||
|
|
||||||
|
// fa-divide: Originally obtained from the Bootstrap https://github.com/twbs/bootstrap
|
||||||
|
//
|
||||||
|
// Licensed under: The MIT License (MIT)
|
||||||
|
//
|
||||||
|
// Copyright (c) 2011-2021 Twitter, Inc.
|
||||||
|
// Copyright (c) 2011-2021 The Bootstrap Authors
|
||||||
|
//
|
||||||
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
// of this software and associated documentation files (the "Software"), to deal
|
||||||
|
// in the Software without restriction, including without limitation the rights
|
||||||
|
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
// copies of the Software, and to permit persons to whom the Software is
|
||||||
|
// furnished to do so, subject to the following conditions:
|
||||||
|
//
|
||||||
|
// The above copyright notice and this permission notice shall be included in
|
||||||
|
// all copies or substantial portions of the Software.
|
||||||
|
//
|
||||||
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
// THE SOFTWARE.
|
||||||
|
|
||||||
|
@function fa-divide($dividend, $divisor, $precision: 10) {
|
||||||
|
$sign: if($dividend > 0 and $divisor > 0, 1, -1);
|
||||||
|
$dividend: abs($dividend);
|
||||||
|
$divisor: abs($divisor);
|
||||||
|
$quotient: 0;
|
||||||
|
$remainder: $dividend;
|
||||||
|
@if $dividend == 0 {
|
||||||
|
@return 0;
|
||||||
|
}
|
||||||
|
@if $divisor == 0 {
|
||||||
|
@error "Cannot divide by 0";
|
||||||
|
}
|
||||||
|
@if $divisor == 1 {
|
||||||
|
@return $dividend;
|
||||||
|
}
|
||||||
|
@while $remainder >= $divisor {
|
||||||
|
$quotient: $quotient + 1;
|
||||||
|
$remainder: $remainder - $divisor;
|
||||||
|
}
|
||||||
|
@if $remainder > 0 and $precision > 0 {
|
||||||
|
$remainder: fa-divide($remainder * 10, $divisor, $precision - 1) * .1;
|
||||||
|
}
|
||||||
|
@return ($quotient + $remainder) * $sign;
|
||||||
|
}
|
||||||
10
_sass/font-awesome/_icons.scss
vendored
Normal file
10
_sass/font-awesome/_icons.scss
vendored
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
// specific icon class definition
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
||||||
|
readers do not read off random characters that represent icons */
|
||||||
|
|
||||||
|
@each $name, $icon in $fa-icons {
|
||||||
|
.#{$fa-css-prefix}-#{$name}::before { content: unquote("\"#{ $icon }\""); }
|
||||||
|
}
|
||||||
|
|
||||||
18
_sass/font-awesome/_list.scss
vendored
Normal file
18
_sass/font-awesome/_list.scss
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
// icons in a list
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-ul {
|
||||||
|
list-style-type: none;
|
||||||
|
margin-left: var(--#{$fa-css-prefix}-li-margin, #{$fa-li-margin});
|
||||||
|
padding-left: 0;
|
||||||
|
|
||||||
|
> li { position: relative; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-li {
|
||||||
|
left: calc(var(--#{$fa-css-prefix}-li-width, #{$fa-li-width}) * -1);
|
||||||
|
position: absolute;
|
||||||
|
text-align: center;
|
||||||
|
width: var(--#{$fa-css-prefix}-li-width, #{$fa-li-width});
|
||||||
|
line-height: inherit;
|
||||||
|
}
|
||||||
75
_sass/font-awesome/_mixins.scss
vendored
Normal file
75
_sass/font-awesome/_mixins.scss
vendored
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
// mixins
|
||||||
|
// --------------------------
|
||||||
|
|
||||||
|
// base rendering for an icon
|
||||||
|
@mixin fa-icon {
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
display: inline-block;
|
||||||
|
font-style: normal;
|
||||||
|
font-variant: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
line-height: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
// sets relative font-sizing and alignment (in _sizing)
|
||||||
|
@mixin fa-size ($font-size) {
|
||||||
|
font-size: fa-divide($font-size, $fa-size-scale-base) * 1em; // converts step in sizing scale into an em-based value that's relative to the scale's base
|
||||||
|
line-height: fa-divide(1, $font-size) * 1em; // sets the line-height of the icon back to that of it's parent
|
||||||
|
vertical-align: (fa-divide(6, $font-size) - fa-divide(3, 8)) * 1em; // vertically centers the icon taking into account the surrounding text's descender
|
||||||
|
}
|
||||||
|
|
||||||
|
// only display content to screen readers
|
||||||
|
// see: https://www.a11yproject.com/posts/2013-01-11-how-to-hide-content/
|
||||||
|
// see: https://hugogiraudel.com/2016/10/13/css-hide-and-seek/
|
||||||
|
@mixin fa-sr-only() {
|
||||||
|
position: absolute;
|
||||||
|
width: 1px;
|
||||||
|
height: 1px;
|
||||||
|
padding: 0;
|
||||||
|
margin: -1px;
|
||||||
|
overflow: hidden;
|
||||||
|
clip: rect(0, 0, 0, 0);
|
||||||
|
white-space: nowrap;
|
||||||
|
border-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// use in conjunction with .sr-only to only display content when it's focused
|
||||||
|
@mixin fa-sr-only-focusable() {
|
||||||
|
&:not(:focus) {
|
||||||
|
@include fa-sr-only();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// sets a specific icon family to use alongside style + icon mixins
|
||||||
|
|
||||||
|
// convenience mixins for declaring pseudo-elements by CSS variable,
|
||||||
|
// including all style-specific font properties, and both the ::before
|
||||||
|
// and ::after elements in the duotone case.
|
||||||
|
@mixin fa-icon-solid($fa-var) {
|
||||||
|
@extend %fa-icon;
|
||||||
|
@extend .fa-solid;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
content: unquote("\"#{ $fa-var }\"");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@mixin fa-icon-regular($fa-var) {
|
||||||
|
@extend %fa-icon;
|
||||||
|
@extend .fa-regular;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
content: unquote("\"#{ $fa-var }\"");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@mixin fa-icon-brands($fa-var) {
|
||||||
|
@extend %fa-icon;
|
||||||
|
@extend .fa-brands;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
content: unquote("\"#{ $fa-var }\"");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
31
_sass/font-awesome/_rotated-flipped.scss
vendored
Normal file
31
_sass/font-awesome/_rotated-flipped.scss
vendored
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
// rotating + flipping icons
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-rotate-90 {
|
||||||
|
transform: rotate(90deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-rotate-180 {
|
||||||
|
transform: rotate(180deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-rotate-270 {
|
||||||
|
transform: rotate(270deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-flip-horizontal {
|
||||||
|
transform: scale(-1, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-flip-vertical {
|
||||||
|
transform: scale(1, -1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-flip-both,
|
||||||
|
.#{$fa-css-prefix}-flip-horizontal.#{$fa-css-prefix}-flip-vertical {
|
||||||
|
transform: scale(-1, -1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-rotate-by {
|
||||||
|
transform: rotate(var(--#{$fa-css-prefix}-rotate-angle, none));
|
||||||
|
}
|
||||||
14
_sass/font-awesome/_screen-reader.scss
vendored
Normal file
14
_sass/font-awesome/_screen-reader.scss
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
// screen-reader utilities
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
// only display content to screen readers
|
||||||
|
.sr-only,
|
||||||
|
.#{$fa-css-prefix}-sr-only {
|
||||||
|
@include fa-sr-only;
|
||||||
|
}
|
||||||
|
|
||||||
|
// use in conjunction with .sr-only to only display content when it's focused
|
||||||
|
.sr-only-focusable,
|
||||||
|
.#{$fa-css-prefix}-sr-only-focusable {
|
||||||
|
@include fa-sr-only-focusable;
|
||||||
|
}
|
||||||
2042
_sass/font-awesome/_shims.scss
vendored
Normal file
2042
_sass/font-awesome/_shims.scss
vendored
Normal file
File diff suppressed because it is too large
Load Diff
16
_sass/font-awesome/_sizing.scss
vendored
Normal file
16
_sass/font-awesome/_sizing.scss
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
// sizing icons
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
// literal magnification scale
|
||||||
|
@for $i from 1 through 10 {
|
||||||
|
.#{$fa-css-prefix}-#{$i}x {
|
||||||
|
font-size: $i * 1em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// step-based scale (with alignment)
|
||||||
|
@each $size, $value in $fa-sizes {
|
||||||
|
.#{$fa-css-prefix}-#{$size} {
|
||||||
|
@include fa-size($value);
|
||||||
|
}
|
||||||
|
}
|
||||||
32
_sass/font-awesome/_stacked.scss
vendored
Normal file
32
_sass/font-awesome/_stacked.scss
vendored
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
// stacking icons
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-stack {
|
||||||
|
display: inline-block;
|
||||||
|
height: 2em;
|
||||||
|
line-height: 2em;
|
||||||
|
position: relative;
|
||||||
|
vertical-align: $fa-stack-vertical-align;
|
||||||
|
width: $fa-stack-width;
|
||||||
|
}
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-stack-1x,
|
||||||
|
.#{$fa-css-prefix}-stack-2x {
|
||||||
|
left: 0;
|
||||||
|
position: absolute;
|
||||||
|
text-align: center;
|
||||||
|
width: 100%;
|
||||||
|
z-index: var(--#{$fa-css-prefix}-stack-z-index, #{$fa-stack-z-index});
|
||||||
|
}
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-stack-1x {
|
||||||
|
line-height: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-stack-2x {
|
||||||
|
font-size: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-inverse {
|
||||||
|
color: var(--#{$fa-css-prefix}-inverse, #{$fa-inverse});
|
||||||
|
}
|
||||||
4961
_sass/font-awesome/_variables.scss
vendored
Normal file
4961
_sass/font-awesome/_variables.scss
vendored
Normal file
File diff suppressed because it is too large
Load Diff
30
_sass/font-awesome/brands.scss
vendored
Normal file
30
_sass/font-awesome/brands.scss
vendored
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
/*!
|
||||||
|
* Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com
|
||||||
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||||
|
* Copyright 2023 Fonticons, Inc.
|
||||||
|
*/
|
||||||
|
@import 'functions';
|
||||||
|
@import 'variables';
|
||||||
|
|
||||||
|
:root, :host {
|
||||||
|
--#{$fa-css-prefix}-style-family-brands: 'Font Awesome 6 Brands';
|
||||||
|
--#{$fa-css-prefix}-font-brands: normal 400 1em/1 'Font Awesome 6 Brands';
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Font Awesome 6 Brands';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: $fa-font-display;
|
||||||
|
src: url('#{$fa-font-path}/fa-brands-400.woff2') format('woff2'),
|
||||||
|
url('#{$fa-font-path}/fa-brands-400.ttf') format('truetype');
|
||||||
|
}
|
||||||
|
|
||||||
|
.fab,
|
||||||
|
.#{$fa-css-prefix}-brands {
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
@each $name, $icon in $fa-brand-icons {
|
||||||
|
.#{$fa-css-prefix}-#{$name}:before { content: unquote("\"#{ $icon }\""); }
|
||||||
|
}
|
||||||
21
_sass/font-awesome/fontawesome.scss
vendored
Normal file
21
_sass/font-awesome/fontawesome.scss
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
/*!
|
||||||
|
* Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com
|
||||||
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||||
|
* Copyright 2023 Fonticons, Inc.
|
||||||
|
*/
|
||||||
|
// Font Awesome core compile (Web Fonts-based)
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
@import 'functions';
|
||||||
|
@import 'variables';
|
||||||
|
@import 'mixins';
|
||||||
|
@import 'core';
|
||||||
|
@import 'sizing';
|
||||||
|
@import 'fixed-width';
|
||||||
|
@import 'list';
|
||||||
|
@import 'bordered-pulled';
|
||||||
|
@import 'animated';
|
||||||
|
@import 'rotated-flipped';
|
||||||
|
@import 'stacked';
|
||||||
|
@import 'icons';
|
||||||
|
@import 'screen-reader';
|
||||||
26
_sass/font-awesome/regular.scss
vendored
Normal file
26
_sass/font-awesome/regular.scss
vendored
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
/*!
|
||||||
|
* Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com
|
||||||
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||||
|
* Copyright 2023 Fonticons, Inc.
|
||||||
|
*/
|
||||||
|
@import 'functions';
|
||||||
|
@import 'variables';
|
||||||
|
|
||||||
|
:root, :host {
|
||||||
|
--#{$fa-css-prefix}-style-family-classic: '#{ $fa-style-family }';
|
||||||
|
--#{$fa-css-prefix}-font-regular: normal 400 1em/1 '#{ $fa-style-family }';
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Font Awesome 6 Free';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: $fa-font-display;
|
||||||
|
src: url('#{$fa-font-path}/fa-regular-400.woff2') format('woff2'),
|
||||||
|
url('#{$fa-font-path}/fa-regular-400.ttf') format('truetype');
|
||||||
|
}
|
||||||
|
|
||||||
|
.far,
|
||||||
|
.#{$fa-css-prefix}-regular {
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
26
_sass/font-awesome/solid.scss
vendored
Normal file
26
_sass/font-awesome/solid.scss
vendored
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
/*!
|
||||||
|
* Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com
|
||||||
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||||
|
* Copyright 2023 Fonticons, Inc.
|
||||||
|
*/
|
||||||
|
@import 'functions';
|
||||||
|
@import 'variables';
|
||||||
|
|
||||||
|
:root, :host {
|
||||||
|
--#{$fa-css-prefix}-style-family-classic: '#{ $fa-style-family }';
|
||||||
|
--#{$fa-css-prefix}-font-solid: normal 900 1em/1 '#{ $fa-style-family }';
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Font Awesome 6 Free';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 900;
|
||||||
|
font-display: $fa-font-display;
|
||||||
|
src: url('#{$fa-font-path}/fa-solid-900.woff2') format('woff2'),
|
||||||
|
url('#{$fa-font-path}/fa-solid-900.ttf') format('truetype');
|
||||||
|
}
|
||||||
|
|
||||||
|
.fas,
|
||||||
|
.#{$fa-css-prefix}-solid {
|
||||||
|
font-weight: 900;
|
||||||
|
}
|
||||||
11
_sass/font-awesome/v4-shims.scss
vendored
Normal file
11
_sass/font-awesome/v4-shims.scss
vendored
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
/*!
|
||||||
|
* Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com
|
||||||
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||||
|
* Copyright 2023 Fonticons, Inc.
|
||||||
|
*/
|
||||||
|
// V4 shims compile (Web Fonts-based)
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
@import 'functions';
|
||||||
|
@import 'variables';
|
||||||
|
@import 'shims';
|
||||||
1
assets/css/academicons.min.css
vendored
Executable file
1
assets/css/academicons.min.css
vendored
Executable file
File diff suppressed because one or more lines are too long
4
assets/css/bootstrap-toc.min.css
vendored
Normal file
4
assets/css/bootstrap-toc.min.css
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
/*!
|
||||||
|
* Bootstrap Table of Contents v1.0.1 (http://afeld.github.io/bootstrap-toc/)
|
||||||
|
* Copyright 2015 Aidan Feldman
|
||||||
|
* Licensed under MIT (https://github.com/afeld/bootstrap-toc/blob/gh-pages/LICENSE.md) */nav[data-toggle=toc] .nav>li>a{display:block;padding:4px 20px;font-size:13px;font-weight:500;color:#767676}nav[data-toggle=toc] .nav>li>a:focus,nav[data-toggle=toc] .nav>li>a:hover{padding-left:19px;color:#563d7c;text-decoration:none;background-color:transparent;border-left:1px solid #563d7c}nav[data-toggle=toc] .nav-link.active,nav[data-toggle=toc] .nav-link.active:focus,nav[data-toggle=toc] .nav-link.active:hover{padding-left:18px;font-weight:700;color:#563d7c;background-color:transparent;border-left:2px solid #563d7c}nav[data-toggle=toc] .nav-link+ul{display:none;padding-bottom:10px}nav[data-toggle=toc] .nav .nav>li>a{padding-top:1px;padding-bottom:1px;padding-left:30px;font-size:12px;font-weight:400}nav[data-toggle=toc] .nav .nav>li>a:focus,nav[data-toggle=toc] .nav .nav>li>a:hover{padding-left:29px}nav[data-toggle=toc] .nav .nav>li>.active,nav[data-toggle=toc] .nav .nav>li>.active:focus,nav[data-toggle=toc] .nav .nav>li>.active:hover{padding-left:28px;font-weight:500}nav[data-toggle=toc] .nav-link.active+ul{display:block}
|
||||||
7
assets/css/bootstrap.min.css
vendored
Normal file
7
assets/css/bootstrap.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
assets/css/bootstrap.min.css.map
Normal file
1
assets/css/bootstrap.min.css.map
Normal file
File diff suppressed because one or more lines are too long
62
assets/css/jekyll-pygments-themes-github.css
Normal file
62
assets/css/jekyll-pygments-themes-github.css
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
/* https://github.com/jwarby/jekyll-pygments-themes */
|
||||||
|
.highlight .hll { background-color: #ffffcc }
|
||||||
|
.highlight .c { color: #999988; font-style: italic } /* Comment */
|
||||||
|
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
|
||||||
|
.highlight .k { color: #000000; font-weight: bold } /* Keyword */
|
||||||
|
.highlight .o { color: #000000; font-weight: bold } /* Operator */
|
||||||
|
.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
|
||||||
|
.highlight .cp { color: #999999; font-weight: bold; font-style: italic } /* Comment.Preproc */
|
||||||
|
.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
|
||||||
|
.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
|
||||||
|
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
|
||||||
|
.highlight .ge { color: #000000; font-style: italic } /* Generic.Emph */
|
||||||
|
.highlight .gr { color: #aa0000 } /* Generic.Error */
|
||||||
|
.highlight .gh { color: #999999 } /* Generic.Heading */
|
||||||
|
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
|
||||||
|
.highlight .go { color: #888888 } /* Generic.Output */
|
||||||
|
.highlight .gp { color: #555555 } /* Generic.Prompt */
|
||||||
|
.highlight .gs { font-weight: bold } /* Generic.Strong */
|
||||||
|
.highlight .gu { color: #aaaaaa } /* Generic.Subheading */
|
||||||
|
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
|
||||||
|
.highlight .kc { color: #000000; font-weight: bold } /* Keyword.Constant */
|
||||||
|
.highlight .kd { color: #000000; font-weight: bold } /* Keyword.Declaration */
|
||||||
|
.highlight .kn { color: #000000; font-weight: bold } /* Keyword.Namespace */
|
||||||
|
.highlight .kp { color: #000000; font-weight: bold } /* Keyword.Pseudo */
|
||||||
|
.highlight .kr { color: #000000; font-weight: bold } /* Keyword.Reserved */
|
||||||
|
.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
|
||||||
|
.highlight .m { color: #009999 } /* Literal.Number */
|
||||||
|
.highlight .s { color: #d01040 } /* Literal.String */
|
||||||
|
.highlight .na { color: #008080 } /* Name.Attribute */
|
||||||
|
.highlight .nb { color: #0086B3 } /* Name.Builtin */
|
||||||
|
.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
|
||||||
|
.highlight .no { color: #008080 } /* Name.Constant */
|
||||||
|
.highlight .nd { color: #3c5d5d; font-weight: bold } /* Name.Decorator */
|
||||||
|
.highlight .ni { color: #800080 } /* Name.Entity */
|
||||||
|
.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
|
||||||
|
.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
|
||||||
|
.highlight .nl { color: #990000; font-weight: bold } /* Name.Label */
|
||||||
|
.highlight .nn { color: #555555 } /* Name.Namespace */
|
||||||
|
.highlight .nt { color: #000080 } /* Name.Tag */
|
||||||
|
.highlight .nv { color: #008080 } /* Name.Variable */
|
||||||
|
.highlight .ow { color: #000000; font-weight: bold } /* Operator.Word */
|
||||||
|
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
|
||||||
|
.highlight .mf { color: #009999 } /* Literal.Number.Float */
|
||||||
|
.highlight .mh { color: #009999 } /* Literal.Number.Hex */
|
||||||
|
.highlight .mi { color: #009999 } /* Literal.Number.Integer */
|
||||||
|
.highlight .mo { color: #009999 } /* Literal.Number.Oct */
|
||||||
|
.highlight .sb { color: #d01040 } /* Literal.String.Backtick */
|
||||||
|
.highlight .sc { color: #d01040 } /* Literal.String.Char */
|
||||||
|
.highlight .sd { color: #d01040 } /* Literal.String.Doc */
|
||||||
|
.highlight .s2 { color: #d01040 } /* Literal.String.Double */
|
||||||
|
.highlight .se { color: #d01040 } /* Literal.String.Escape */
|
||||||
|
.highlight .sh { color: #d01040 } /* Literal.String.Heredoc */
|
||||||
|
.highlight .si { color: #d01040 } /* Literal.String.Interpol */
|
||||||
|
.highlight .sx { color: #d01040 } /* Literal.String.Other */
|
||||||
|
.highlight .sr { color: #009926 } /* Literal.String.Regex */
|
||||||
|
.highlight .s1 { color: #d01040 } /* Literal.String.Single */
|
||||||
|
.highlight .ss { color: #990073 } /* Literal.String.Symbol */
|
||||||
|
.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
|
||||||
|
.highlight .vc { color: #008080 } /* Name.Variable.Class */
|
||||||
|
.highlight .vg { color: #008080 } /* Name.Variable.Global */
|
||||||
|
.highlight .vi { color: #008080 } /* Name.Variable.Instance */
|
||||||
|
.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
|
||||||
71
assets/css/jekyll-pygments-themes-native.css
Normal file
71
assets/css/jekyll-pygments-themes-native.css
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
/* https://github.com/jwarby/jekyll-pygments-themes */
|
||||||
|
.highlight pre { background-color: #404040 }
|
||||||
|
.highlight .hll { background-color: #404040 }
|
||||||
|
.highlight .c { color: #999999; font-style: italic } /* Comment */
|
||||||
|
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
|
||||||
|
.highlight .g { color: #d0d0d0 } /* Generic */
|
||||||
|
.highlight .k { color: #6ab825; font-weight: bold } /* Keyword */
|
||||||
|
.highlight .l { color: #d0d0d0 } /* Literal */
|
||||||
|
.highlight .n { color: #d0d0d0 } /* Name */
|
||||||
|
.highlight .o { color: #d0d0d0 } /* Operator */
|
||||||
|
.highlight .x { color: #d0d0d0 } /* Other */
|
||||||
|
.highlight .p { color: #d0d0d0 } /* Punctuation */
|
||||||
|
.highlight .cm { color: #999999; font-style: italic } /* Comment.Multiline */
|
||||||
|
.highlight .cp { color: #cd2828; font-weight: bold } /* Comment.Preproc */
|
||||||
|
.highlight .c1 { color: #999999; font-style: italic } /* Comment.Single */
|
||||||
|
.highlight .cs { color: #e50808; font-weight: bold; background-color: #520000 } /* Comment.Special */
|
||||||
|
.highlight .gd { color: #d22323 } /* Generic.Deleted */
|
||||||
|
.highlight .ge { color: #d0d0d0; font-style: italic } /* Generic.Emph */
|
||||||
|
.highlight .gr { color: #d22323 } /* Generic.Error */
|
||||||
|
.highlight .gh { color: #ffffff; font-weight: bold } /* Generic.Heading */
|
||||||
|
.highlight .gi { color: #589819 } /* Generic.Inserted */
|
||||||
|
.highlight .go { color: #cccccc } /* Generic.Output */
|
||||||
|
.highlight .gp { color: #aaaaaa } /* Generic.Prompt */
|
||||||
|
.highlight .gs { color: #d0d0d0; font-weight: bold } /* Generic.Strong */
|
||||||
|
.highlight .gu { color: #ffffff; text-decoration: underline } /* Generic.Subheading */
|
||||||
|
.highlight .gt { color: #d22323 } /* Generic.Traceback */
|
||||||
|
.highlight .kc { color: #6ab825; font-weight: bold } /* Keyword.Constant */
|
||||||
|
.highlight .kd { color: #6ab825; font-weight: bold } /* Keyword.Declaration */
|
||||||
|
.highlight .kn { color: #6ab825; font-weight: bold } /* Keyword.Namespace */
|
||||||
|
.highlight .kp { color: #6ab825 } /* Keyword.Pseudo */
|
||||||
|
.highlight .kr { color: #6ab825; font-weight: bold } /* Keyword.Reserved */
|
||||||
|
.highlight .kt { color: #6ab825; font-weight: bold } /* Keyword.Type */
|
||||||
|
.highlight .ld { color: #d0d0d0 } /* Literal.Date */
|
||||||
|
.highlight .m { color: #3677a9 } /* Literal.Number */
|
||||||
|
.highlight .s { color: #ed9d13 } /* Literal.String */
|
||||||
|
.highlight .na { color: #bbbbbb } /* Name.Attribute */
|
||||||
|
.highlight .nb { color: #24909d } /* Name.Builtin */
|
||||||
|
.highlight .nc { color: #447fcf; text-decoration: underline } /* Name.Class */
|
||||||
|
.highlight .no { color: #40ffff } /* Name.Constant */
|
||||||
|
.highlight .nd { color: #ffa500 } /* Name.Decorator */
|
||||||
|
.highlight .ni { color: #d0d0d0 } /* Name.Entity */
|
||||||
|
.highlight .ne { color: #bbbbbb } /* Name.Exception */
|
||||||
|
.highlight .nf { color: #447fcf } /* Name.Function */
|
||||||
|
.highlight .nl { color: #d0d0d0 } /* Name.Label */
|
||||||
|
.highlight .nn { color: #447fcf; text-decoration: underline } /* Name.Namespace */
|
||||||
|
.highlight .nx { color: #d0d0d0 } /* Name.Other */
|
||||||
|
.highlight .py { color: #d0d0d0 } /* Name.Property */
|
||||||
|
.highlight .nt { color: #6ab825; font-weight: bold } /* Name.Tag */
|
||||||
|
.highlight .nv { color: #40ffff } /* Name.Variable */
|
||||||
|
.highlight .ow { color: #6ab825; font-weight: bold } /* Operator.Word */
|
||||||
|
.highlight .w { color: #666666 } /* Text.Whitespace */
|
||||||
|
.highlight .mf { color: #3677a9 } /* Literal.Number.Float */
|
||||||
|
.highlight .mh { color: #3677a9 } /* Literal.Number.Hex */
|
||||||
|
.highlight .mi { color: #3677a9 } /* Literal.Number.Integer */
|
||||||
|
.highlight .mo { color: #3677a9 } /* Literal.Number.Oct */
|
||||||
|
.highlight .sb { color: #ed9d13 } /* Literal.String.Backtick */
|
||||||
|
.highlight .sc { color: #ed9d13 } /* Literal.String.Char */
|
||||||
|
.highlight .sd { color: #ed9d13 } /* Literal.String.Doc */
|
||||||
|
.highlight .s2 { color: #ed9d13 } /* Literal.String.Double */
|
||||||
|
.highlight .se { color: #ed9d13 } /* Literal.String.Escape */
|
||||||
|
.highlight .sh { color: #ed9d13 } /* Literal.String.Heredoc */
|
||||||
|
.highlight .si { color: #ed9d13 } /* Literal.String.Interpol */
|
||||||
|
.highlight .sx { color: #ffa500 } /* Literal.String.Other */
|
||||||
|
.highlight .sr { color: #ed9d13 } /* Literal.String.Regex */
|
||||||
|
.highlight .s1 { color: #ed9d13 } /* Literal.String.Single */
|
||||||
|
.highlight .ss { color: #ed9d13 } /* Literal.String.Symbol */
|
||||||
|
.highlight .bp { color: #24909d } /* Name.Builtin.Pseudo */
|
||||||
|
.highlight .vc { color: #40ffff } /* Name.Variable.Class */
|
||||||
|
.highlight .vg { color: #40ffff } /* Name.Variable.Global */
|
||||||
|
.highlight .vi { color: #40ffff } /* Name.Variable.Instance */
|
||||||
|
.highlight .il { color: #3677a9 } /* Literal.Number.Integer.Long */
|
||||||
@ -12,5 +12,9 @@ $max-content-width: {{ site.max_width }};
|
|||||||
"layout",
|
"layout",
|
||||||
"base",
|
"base",
|
||||||
"distill",
|
"distill",
|
||||||
"cv"
|
"cv",
|
||||||
|
"font-awesome/fontawesome",
|
||||||
|
"font-awesome/brands",
|
||||||
|
"font-awesome/solid",
|
||||||
|
"font-awesome/regular"
|
||||||
;
|
;
|
||||||
|
|||||||
48
assets/css/mdb.min.css
vendored
Normal file
48
assets/css/mdb.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
assets/css/mdb.min.css.map
Normal file
1
assets/css/mdb.min.css.map
Normal file
File diff suppressed because one or more lines are too long
BIN
assets/fonts/academicons.ttf
Normal file
BIN
assets/fonts/academicons.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/academicons.woff
Normal file
BIN
assets/fonts/academicons.woff
Normal file
Binary file not shown.
5
assets/js/bootstrap-toc.min.js
vendored
Normal file
5
assets/js/bootstrap-toc.min.js
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
/*!
|
||||||
|
* Bootstrap Table of Contents v1.0.1 (http://afeld.github.io/bootstrap-toc/)
|
||||||
|
* Copyright 2015 Aidan Feldman
|
||||||
|
* Licensed under MIT (https://github.com/afeld/bootstrap-toc/blob/gh-pages/LICENSE.md) */
|
||||||
|
!function(a){"use strict";window.Toc={helpers:{findOrFilter:function(e,t){var n=e.find(t);return e.filter(t).add(n).filter(":not([data-toc-skip])")},generateUniqueIdBase:function(e){return a(e).text().trim().replace(/\'/gi,"").replace(/[& +$,:;=?@"#{}|^~[`%!'<>\]\.\/\(\)\*\\\n\t\b\v]/g,"-").replace(/-{2,}/g,"-").substring(0,64).replace(/^-+|-+$/gm,"").toLowerCase()||e.tagName.toLowerCase()},generateUniqueId:function(e){for(var t=this.generateUniqueIdBase(e),n=0;;n++){var r=t;if(0<n&&(r+="-"+n),!document.getElementById(r))return r}},generateAnchor:function(e){if(e.id)return e.id;var t=this.generateUniqueId(e);return e.id=t},createNavList:function(){return a('<ul class="nav navbar-nav"></ul>')},createChildNavList:function(e){var t=this.createNavList();return e.append(t),t},generateNavEl:function(e,t){var n=a('<a class="nav-link"></a>');n.attr("href","#"+e),n.text(t);var r=a("<li></li>");return r.append(n),r},generateNavItem:function(e){var t=this.generateAnchor(e),n=a(e),r=n.data("toc-text")||n.text();return this.generateNavEl(t,r)},getTopLevel:function(e){for(var t=1;t<=6;t++){if(1<this.findOrFilter(e,"h"+t).length)return t}return 1},getHeadings:function(e,t){var n="h"+t,r="h"+(t+1);return this.findOrFilter(e,n+","+r)},getNavLevel:function(e){return parseInt(e.tagName.charAt(1),10)},populateNav:function(r,a,e){var i,s=r,c=this;e.each(function(e,t){var n=c.generateNavItem(t);c.getNavLevel(t)===a?s=r:i&&s===r&&(s=c.createChildNavList(i)),s.append(n),i=n})},parseOps:function(e){var t;return(t=e.jquery?{$nav:e}:e).$scope=t.$scope||a(document.body),t}},init:function(e){(e=this.helpers.parseOps(e)).$nav.attr("data-toggle","toc");var t=this.helpers.createChildNavList(e.$nav),n=this.helpers.getTopLevel(e.$scope),r=this.helpers.getHeadings(e.$scope,n);this.helpers.populateNav(t,n,r)}},a(function(){a('nav[data-toggle="toc"]').each(function(e,t){var n=a(t);Toc.init(n)})})}(jQuery);
|
||||||
7
assets/js/bootstrap.bundle.min.js
vendored
Normal file
7
assets/js/bootstrap.bundle.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
assets/js/bootstrap.bundle.min.js.map
Normal file
1
assets/js/bootstrap.bundle.min.js.map
Normal file
File diff suppressed because one or more lines are too long
20
assets/js/mdb.min.js
vendored
Normal file
20
assets/js/mdb.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
assets/js/mdb.min.js.map
Normal file
1
assets/js/mdb.min.js.map
Normal file
File diff suppressed because one or more lines are too long
BIN
assets/webfonts/fa-brands-400.ttf
Normal file
BIN
assets/webfonts/fa-brands-400.ttf
Normal file
Binary file not shown.
BIN
assets/webfonts/fa-brands-400.woff2
Normal file
BIN
assets/webfonts/fa-brands-400.woff2
Normal file
Binary file not shown.
BIN
assets/webfonts/fa-regular-400.ttf
Normal file
BIN
assets/webfonts/fa-regular-400.ttf
Normal file
Binary file not shown.
BIN
assets/webfonts/fa-regular-400.woff2
Normal file
BIN
assets/webfonts/fa-regular-400.woff2
Normal file
Binary file not shown.
BIN
assets/webfonts/fa-solid-900.ttf
Normal file
BIN
assets/webfonts/fa-solid-900.ttf
Normal file
Binary file not shown.
BIN
assets/webfonts/fa-solid-900.woff2
Normal file
BIN
assets/webfonts/fa-solid-900.woff2
Normal file
Binary file not shown.
BIN
assets/webfonts/fa-v4compatibility.ttf
Normal file
BIN
assets/webfonts/fa-v4compatibility.ttf
Normal file
Binary file not shown.
BIN
assets/webfonts/fa-v4compatibility.woff2
Normal file
BIN
assets/webfonts/fa-v4compatibility.woff2
Normal file
Binary file not shown.
@ -95,6 +95,9 @@ export JEKYLL_ENV=production
|
|||||||
# Build site
|
# Build site
|
||||||
bundle exec jekyll build --lsi
|
bundle exec jekyll build --lsi
|
||||||
|
|
||||||
|
# Purge unused css
|
||||||
|
purgecss -c purgecss.config.js
|
||||||
|
|
||||||
# Delete and move files
|
# Delete and move files
|
||||||
find . -maxdepth 1 ! -name '_site' ! -name '.git' ! -name 'CNAME' ! -name '.gitignore' -exec rm -rf {} \;
|
find . -maxdepth 1 ! -name '_site' ! -name '.git' ! -name 'CNAME' ! -name '.gitignore' -exec rm -rf {} \;
|
||||||
mv _site/* .
|
mv _site/* .
|
||||||
|
|||||||
13
purgecss.config.js
Normal file
13
purgecss.config.js
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
module.exports = {
|
||||||
|
content: [
|
||||||
|
"_site/**/*.html",
|
||||||
|
"_site/**/*.js"
|
||||||
|
],
|
||||||
|
css: [
|
||||||
|
"_site/assets/css/*.css"
|
||||||
|
],
|
||||||
|
output: "_site/assets/css/",
|
||||||
|
skippedContentGlobs: [
|
||||||
|
"_site/assets/**/*.html"
|
||||||
|
]
|
||||||
|
};
|
||||||
Loading…
Reference in New Issue
Block a user