jekyll-theme-dtf-basic 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +438 -0
- data/README.md +39 -0
- data/_config.yml +84 -0
- data/_data/authors.yml +2 -0
- data/_data/navigation.yml +4 -0
- data/_includes/dtf/alert_element.html +4 -0
- data/_includes/dtf/author_element.html +17 -0
- data/_includes/dtf/feature_element.html +13 -0
- data/_includes/dtf/feature_group.html +12 -0
- data/_includes/dtf/picture_element.html +13 -0
- data/_includes/dtf/post_element.html +19 -0
- data/_includes/dtf/post_group.html +12 -0
- data/_includes/dtf/project_element.html +19 -0
- data/_includes/dtf/project_group.html +17 -0
- data/_includes/footer.html +7 -0
- data/_includes/head.html +12 -0
- data/_includes/nav.html +45 -0
- data/_includes/pagination.html +19 -0
- data/_layouts/archive.html +19 -0
- data/_layouts/default.html +19 -0
- data/_layouts/page.html +13 -0
- data/_layouts/post.html +43 -0
- data/_sass/basic/_style.scss +55 -0
- data/_sass/bootstrap-5.3.3/_accordion.scss +158 -0
- data/_sass/bootstrap-5.3.3/_alert.scss +68 -0
- data/_sass/bootstrap-5.3.3/_badge.scss +38 -0
- data/_sass/bootstrap-5.3.3/_breadcrumb.scss +40 -0
- data/_sass/bootstrap-5.3.3/_button-group.scss +142 -0
- data/_sass/bootstrap-5.3.3/_buttons.scss +216 -0
- data/_sass/bootstrap-5.3.3/_card.scss +239 -0
- data/_sass/bootstrap-5.3.3/_carousel.scss +236 -0
- data/_sass/bootstrap-5.3.3/_close.scss +63 -0
- data/_sass/bootstrap-5.3.3/_containers.scss +41 -0
- data/_sass/bootstrap-5.3.3/_dropdown.scss +250 -0
- data/_sass/bootstrap-5.3.3/_forms.scss +9 -0
- data/_sass/bootstrap-5.3.3/_functions.scss +302 -0
- data/_sass/bootstrap-5.3.3/_grid.scss +39 -0
- data/_sass/bootstrap-5.3.3/_helpers.scss +12 -0
- data/_sass/bootstrap-5.3.3/_images.scss +42 -0
- data/_sass/bootstrap-5.3.3/_list-group.scss +197 -0
- data/_sass/bootstrap-5.3.3/_maps.scss +174 -0
- data/_sass/bootstrap-5.3.3/_mixins.scss +42 -0
- data/_sass/bootstrap-5.3.3/_modal.scss +236 -0
- data/_sass/bootstrap-5.3.3/_nav.scss +197 -0
- data/_sass/bootstrap-5.3.3/_navbar.scss +289 -0
- data/_sass/bootstrap-5.3.3/_offcanvas.scss +143 -0
- data/_sass/bootstrap-5.3.3/_pagination.scss +109 -0
- data/_sass/bootstrap-5.3.3/_placeholders.scss +51 -0
- data/_sass/bootstrap-5.3.3/_popover.scss +196 -0
- data/_sass/bootstrap-5.3.3/_progress.scss +68 -0
- data/_sass/bootstrap-5.3.3/_reboot.scss +611 -0
- data/_sass/bootstrap-5.3.3/_root.scss +187 -0
- data/_sass/bootstrap-5.3.3/_spinners.scss +85 -0
- data/_sass/bootstrap-5.3.3/_tables.scss +171 -0
- data/_sass/bootstrap-5.3.3/_toasts.scss +73 -0
- data/_sass/bootstrap-5.3.3/_tooltip.scss +119 -0
- data/_sass/bootstrap-5.3.3/_transitions.scss +27 -0
- data/_sass/bootstrap-5.3.3/_type.scss +106 -0
- data/_sass/bootstrap-5.3.3/_utilities.scss +806 -0
- data/_sass/bootstrap-5.3.3/_variables-dark.scss +87 -0
- data/_sass/bootstrap-5.3.3/_variables.scss +1751 -0
- data/_sass/bootstrap-5.3.3/bootstrap-grid.scss +62 -0
- data/_sass/bootstrap-5.3.3/bootstrap-reboot.scss +10 -0
- data/_sass/bootstrap-5.3.3/bootstrap-utilities.scss +19 -0
- data/_sass/bootstrap-5.3.3/bootstrap.scss +52 -0
- data/_sass/bootstrap-5.3.3/forms/_floating-labels.scss +95 -0
- data/_sass/bootstrap-5.3.3/forms/_form-check.scss +189 -0
- data/_sass/bootstrap-5.3.3/forms/_form-control.scss +214 -0
- data/_sass/bootstrap-5.3.3/forms/_form-range.scss +91 -0
- data/_sass/bootstrap-5.3.3/forms/_form-select.scss +80 -0
- data/_sass/bootstrap-5.3.3/forms/_form-text.scss +11 -0
- data/_sass/bootstrap-5.3.3/forms/_input-group.scss +132 -0
- data/_sass/bootstrap-5.3.3/forms/_labels.scss +36 -0
- data/_sass/bootstrap-5.3.3/forms/_validation.scss +12 -0
- data/_sass/bootstrap-5.3.3/helpers/_clearfix.scss +3 -0
- data/_sass/bootstrap-5.3.3/helpers/_color-bg.scss +7 -0
- data/_sass/bootstrap-5.3.3/helpers/_colored-links.scss +30 -0
- data/_sass/bootstrap-5.3.3/helpers/_focus-ring.scss +5 -0
- data/_sass/bootstrap-5.3.3/helpers/_icon-link.scss +25 -0
- data/_sass/bootstrap-5.3.3/helpers/_position.scss +36 -0
- data/_sass/bootstrap-5.3.3/helpers/_ratio.scss +26 -0
- data/_sass/bootstrap-5.3.3/helpers/_stacks.scss +15 -0
- data/_sass/bootstrap-5.3.3/helpers/_stretched-link.scss +15 -0
- data/_sass/bootstrap-5.3.3/helpers/_text-truncation.scss +7 -0
- data/_sass/bootstrap-5.3.3/helpers/_visually-hidden.scss +8 -0
- data/_sass/bootstrap-5.3.3/helpers/_vr.scss +8 -0
- data/_sass/bootstrap-5.3.3/mixins/_alert.scss +18 -0
- data/_sass/bootstrap-5.3.3/mixins/_backdrop.scss +14 -0
- data/_sass/bootstrap-5.3.3/mixins/_banner.scss +7 -0
- data/_sass/bootstrap-5.3.3/mixins/_border-radius.scss +78 -0
- data/_sass/bootstrap-5.3.3/mixins/_box-shadow.scss +18 -0
- data/_sass/bootstrap-5.3.3/mixins/_breakpoints.scss +127 -0
- data/_sass/bootstrap-5.3.3/mixins/_buttons.scss +70 -0
- data/_sass/bootstrap-5.3.3/mixins/_caret.scss +69 -0
- data/_sass/bootstrap-5.3.3/mixins/_clearfix.scss +9 -0
- data/_sass/bootstrap-5.3.3/mixins/_color-mode.scss +21 -0
- data/_sass/bootstrap-5.3.3/mixins/_color-scheme.scss +7 -0
- data/_sass/bootstrap-5.3.3/mixins/_container.scss +11 -0
- data/_sass/bootstrap-5.3.3/mixins/_deprecate.scss +10 -0
- data/_sass/bootstrap-5.3.3/mixins/_forms.scss +163 -0
- data/_sass/bootstrap-5.3.3/mixins/_gradients.scss +47 -0
- data/_sass/bootstrap-5.3.3/mixins/_grid.scss +151 -0
- data/_sass/bootstrap-5.3.3/mixins/_image.scss +16 -0
- data/_sass/bootstrap-5.3.3/mixins/_list-group.scss +26 -0
- data/_sass/bootstrap-5.3.3/mixins/_lists.scss +7 -0
- data/_sass/bootstrap-5.3.3/mixins/_pagination.scss +10 -0
- data/_sass/bootstrap-5.3.3/mixins/_reset-text.scss +17 -0
- data/_sass/bootstrap-5.3.3/mixins/_resize.scss +6 -0
- data/_sass/bootstrap-5.3.3/mixins/_table-variants.scss +24 -0
- data/_sass/bootstrap-5.3.3/mixins/_text-truncate.scss +8 -0
- data/_sass/bootstrap-5.3.3/mixins/_transition.scss +26 -0
- data/_sass/bootstrap-5.3.3/mixins/_utilities.scss +97 -0
- data/_sass/bootstrap-5.3.3/mixins/_visually-hidden.scss +33 -0
- data/_sass/bootstrap-5.3.3/tests/jasmine.js +16 -0
- data/_sass/bootstrap-5.3.3/tests/mixins/_auto-import-of-variables-dark.test.scss +7 -0
- data/_sass/bootstrap-5.3.3/tests/mixins/_color-modes.test.scss +69 -0
- data/_sass/bootstrap-5.3.3/tests/mixins/_media-query-color-mode-full.test.scss +8 -0
- data/_sass/bootstrap-5.3.3/tests/mixins/_utilities.test.scss +393 -0
- data/_sass/bootstrap-5.3.3/tests/sass-true/register.js +14 -0
- data/_sass/bootstrap-5.3.3/tests/sass-true/runner.js +17 -0
- data/_sass/bootstrap-5.3.3/tests/utilities/_api.test.scss +75 -0
- data/_sass/bootstrap-5.3.3/utilities/_api.scss +47 -0
- data/_sass/custom_style.scss +0 -0
- data/_sass/fontawesome/font-awesome.scss +10 -0
- data/_sass/fontawesome/scss/LICENSE.txt +165 -0
- data/_sass/fontawesome/scss/_animated.scss +152 -0
- data/_sass/fontawesome/scss/_bordered-pulled.scss +20 -0
- data/_sass/fontawesome/scss/_core.scss +49 -0
- data/_sass/fontawesome/scss/_fixed-width.scss +7 -0
- data/_sass/fontawesome/scss/_functions.scss +57 -0
- data/_sass/fontawesome/scss/_icons.scss +12 -0
- data/_sass/fontawesome/scss/_list.scss +18 -0
- data/_sass/fontawesome/scss/_mixins.scss +65 -0
- data/_sass/fontawesome/scss/_rotated-flipped.scss +31 -0
- data/_sass/fontawesome/scss/_screen-reader.scss +14 -0
- data/_sass/fontawesome/scss/_shims.scss +1578 -0
- data/_sass/fontawesome/scss/_sizing.scss +16 -0
- data/_sass/fontawesome/scss/_stacked.scss +32 -0
- data/_sass/fontawesome/scss/_variables.scss +5044 -0
- data/_sass/fontawesome/scss/brands.scss +30 -0
- data/_sass/fontawesome/scss/fontawesome.scss +21 -0
- data/_sass/fontawesome/scss/regular.scss +27 -0
- data/_sass/fontawesome/scss/solid.scss +27 -0
- data/_sass/fontawesome/scss/v4-shims.scss +11 -0
- data/_sass/highlighter/code.scss +232 -0
- data/_sass/main.scss +40 -0
- data/assets/css/main.scss +4 -0
- data/assets/fonts/fontawesome/LICENSE.txt +165 -0
- data/assets/fonts/fontawesome/fa-brands-400.ttf +0 -0
- data/assets/fonts/fontawesome/fa-brands-400.woff2 +0 -0
- data/assets/fonts/fontawesome/fa-regular-400.ttf +0 -0
- data/assets/fonts/fontawesome/fa-regular-400.woff2 +0 -0
- data/assets/fonts/fontawesome/fa-solid-900.ttf +0 -0
- data/assets/fonts/fontawesome/fa-solid-900.woff2 +0 -0
- data/assets/fonts/fontawesome/fa-v4compatibility.ttf +0 -0
- data/assets/fonts/fontawesome/fa-v4compatibility.woff2 +0 -0
- data/assets/js/bootstrap.bundle.js.map +1 -0
- data/assets/js/bootstrap.bundle.min.js +7 -0
- data/assets/js/darkmode.js +74 -0
- metadata +343 -0
@@ -0,0 +1,19 @@
|
|
1
|
+
<div class="{{ element.classes }} col-sm-3 {% if element.url %} project_element_link{% endif %}">
|
2
|
+
<div class="card h-100 shadow-sm">
|
3
|
+
{% if element.image -%}
|
4
|
+
{% picture_element class="card-img-top object-fit-cover" src=element.image alt="Post Teaser Image" height="10rem" size-hint="md" %}
|
5
|
+
{% endif -%}
|
6
|
+
<div class="card-body d-flex flex-column">
|
7
|
+
<h5 class="card-title">{{ element.title }}</h5>
|
8
|
+
{% if element.author and site.show_authors -%}
|
9
|
+
<h6 class="card-subtitle mb-2 text-muted">{{ element.author.name }}</h6>
|
10
|
+
{% endif -%}
|
11
|
+
{{ element.description | default: element.excerpt }}
|
12
|
+
{% if element.url -%}
|
13
|
+
<div class="mt-auto d-grid">
|
14
|
+
<a href="{{ element.url | relative_url }}" class="btn btn-outline-primary stretched-link">More</a>
|
15
|
+
</div>
|
16
|
+
{% endif -%}
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
</div>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<div class="{{ group.classes }}">
|
2
|
+
<h3>{{ group.title }}</h3>
|
3
|
+
|
4
|
+
<div class="row">
|
5
|
+
{{ content }}
|
6
|
+
|
7
|
+
{% if group.link -%}
|
8
|
+
<div class="project_element_link col-sm-3">
|
9
|
+
<div href="{{ link }}" class="card h-100 align-items-center justify-content-center bg-body-tertiary shadow-sm">
|
10
|
+
<a class="icon-link icon-link-hover stretched-link" href="{{ group.link | relative_url }}">
|
11
|
+
View all<i class="bi mb-1" aria-hidden="true"><i class="fa-solid fa-arrow-right"></i></i>
|
12
|
+
</a>
|
13
|
+
</div>
|
14
|
+
</div>
|
15
|
+
{% endif -%}
|
16
|
+
</div>
|
17
|
+
</div>
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<div class="bg-body-tertiary w-100 p-2">
|
2
|
+
<div class="container">
|
3
|
+
<small class="text-muted">
|
4
|
+
{% unless site.footer == empty %}{{ site.footer }}.{% endunless %} Created with <a href="https://jekyllrb.com/">Jekyll</a> and the <a href="https://github.com/syncall/jekyll-theme-dtf-basic">Jekyll DTF Basic Theme</a>.
|
5
|
+
</small>
|
6
|
+
</div>
|
7
|
+
</div>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
{% if site.generate_favicon -%}
|
2
|
+
<link rel="icon" type="image/x-icon" sizes="48x48" href="{{ '/favicon.ico' | relative_url }}">
|
3
|
+
{% endif -%}
|
4
|
+
{% if site.brand.image contains ".svg" %}
|
5
|
+
<link rel="icon" href="{{ site.brand.image | relative_url }}" sizes="any" type="image/svg+xml">
|
6
|
+
<link rel="apple-touch-icon" href="{{ site.brand.image | relative_url }}"/>
|
7
|
+
{% elsif site.brand.image != empty && site.generate_favicon -%}
|
8
|
+
<link rel="icon" type="image/png" sizes="512x512" href="{{ 'favicon512x512.png' | relative_url }}">
|
9
|
+
<link rel="apple-touch-icon" href="{{ 'favicon512x512.png' | relative_url }}"/>
|
10
|
+
{% elsif site.brand.brand_icon != empty -%}
|
11
|
+
<link rel="icon" type="image/x-icon" href="{{ site.brand.brand_icon | relative_url }}">
|
12
|
+
{% endif -%}
|
data/_includes/nav.html
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
<header class="navbar sticky-top navbar-expand-lg bg-body-tertiary shadow-sm">
|
2
|
+
<nav class="{{ include.container | default: 'container'}}">
|
3
|
+
{% assign brand = site.brand.text | default: site.title -%}
|
4
|
+
{% if brand != blank or site.brand.image != blank -%}
|
5
|
+
<a class="navbar-brand me-4" href="{{ '/' | relative_url }}">
|
6
|
+
{% if site.brand.image != empty -%}
|
7
|
+
<img src="{{ site.brand.image | relative_url }}" alt="{{ brand }}" aria-hidden="true" width="24" class="d-inline-block align-text-top">
|
8
|
+
{% endif -%}
|
9
|
+
{{ brand -}}
|
10
|
+
</a>
|
11
|
+
{% endif -%}
|
12
|
+
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarTogglerDemo01" aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation">
|
13
|
+
<span class="navbar-toggler-icon"></span>
|
14
|
+
</button>
|
15
|
+
<div class="collapse navbar-collapse" id="navbarTogglerDemo01">
|
16
|
+
<ul class="navbar-nav mb-2 mb-lg-0 d-flex">
|
17
|
+
{% for item in site.data.navigation -%}
|
18
|
+
<li class="nav-item me-1">
|
19
|
+
{% if page.url == item.url %}
|
20
|
+
{% assign active = 'active' -%}
|
21
|
+
{% assign aria = 'page' -%}
|
22
|
+
{% else %}
|
23
|
+
{% assign active = '' -%}
|
24
|
+
{% assign aria = 'false' -%}
|
25
|
+
{% endif -%}
|
26
|
+
<a class="nav-link {{active}}" aria-current="{{ aria }}" href="{{ item.url | relative_url }}">{{item.title}}</a>
|
27
|
+
</li>
|
28
|
+
{% endfor -%}
|
29
|
+
</ul>
|
30
|
+
{% if site.dark_mode == "auto" -%}
|
31
|
+
<span class="ms-auto nav-item dropdown">
|
32
|
+
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false" id="bd-theme">
|
33
|
+
<span class="bi theme-icon-active"><i class="fa-solid fa-circle-down"></i></span>
|
34
|
+
<span class="d-lg-none" id="bd-theme-text">Toggle theme</span>
|
35
|
+
</a>
|
36
|
+
<ul class="dropdown-menu" aria-labelledby="bd-theme-text">
|
37
|
+
<li><a class="dropdown-item icon-link" role="button" data-bs-theme-value="light"><i class="bi fa-solid fa-sun"></i> Light <span></span></a></li>
|
38
|
+
<li><a class="dropdown-item icon-link" role="button" data-bs-theme-value="dark"><i class="bi fa-solid fa-moon"></i> Dark <span></span></a></li>
|
39
|
+
<li><a class="dropdown-item icon-link" role="button" data-bs-theme-value="auto"><i class="bi fa-solid fa-circle-half-stroke"></i> Auto <span></span></a></li>
|
40
|
+
</ul>
|
41
|
+
</span>
|
42
|
+
{% endif -%}
|
43
|
+
</div>
|
44
|
+
</nav>
|
45
|
+
</header>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
{% if paginator.total_pages > 1 -%}
|
2
|
+
<nav aria-label="page navigation">
|
3
|
+
<ul class="pagination justify-content-center mt-5">
|
4
|
+
<li class="page-item{% if paginator.previous_page %}{% else %} disabled{% endif %}">
|
5
|
+
<a class="page-link" href="{{ paginator.previous_page_path | relative_url }}" aria-label="Previous">
|
6
|
+
<i aria-hidden="true" class="fa-solid fa-chevron-left"></i>
|
7
|
+
</a>
|
8
|
+
</li>
|
9
|
+
<li class="page-item disabled">
|
10
|
+
<a class="page-link">{{ paginator.page }} / {{ paginator.total_pages }}</a>
|
11
|
+
</li>
|
12
|
+
<li class="page-item{% if paginator.next_page %}{% else %} disabled{% endif %}">
|
13
|
+
<a class="page-link" href="{{ paginator.next_page_path | relative_url }}" aria-label="Next">
|
14
|
+
<i aria-hidden="true" class="fa-solid fa-chevron-right"></i>
|
15
|
+
</a>
|
16
|
+
</li>
|
17
|
+
</ul>
|
18
|
+
</nav>
|
19
|
+
{% endif -%}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
---
|
4
|
+
|
5
|
+
{% if page.title %}
|
6
|
+
<h1>Archive of posts for {{ page.type }}: {{ page.title }}</h1>
|
7
|
+
{% elsif page.type == "month" %}
|
8
|
+
<h1>Archive of posts from {{ page.date | date: "%B %Y" }}</h1>
|
9
|
+
{% elsif page.type == "year" %}
|
10
|
+
<h1>Archive of posts from {{ page.date | date: "%Y" }}</h1>
|
11
|
+
{% elsif page.type == "day" %}
|
12
|
+
<h1>Archive of posts from {{ page.date | date_to_long_string }}</h1>
|
13
|
+
{% endif %}
|
14
|
+
|
15
|
+
{% post_group -%}
|
16
|
+
{% for post in page.posts -%}
|
17
|
+
{% post_element post -%}
|
18
|
+
{% endfor -%}
|
19
|
+
{% endpost_group -%}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="{{site.lang}}">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
6
|
+
<title>{{ site.title }}</title>
|
7
|
+
{% include head.html -%}
|
8
|
+
<link href="{% link assets/css/main.scss %}" rel="stylesheet">
|
9
|
+
{% seo -%}
|
10
|
+
{% feed_meta %}
|
11
|
+
</head>
|
12
|
+
<body class="min-vh-100 d-flex flex-column">
|
13
|
+
{{ content }}
|
14
|
+
<script src="{% link assets/js/bootstrap.bundle.min.js %}" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"></script>
|
15
|
+
{% if site.dark_mode == "auto" -%}
|
16
|
+
<script src="{% link assets/js/darkmode.js %}"></script>
|
17
|
+
{% endif %}
|
18
|
+
</body>
|
19
|
+
</html>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
---
|
4
|
+
|
5
|
+
<small class="text-muted mt-3">{{ page.date | date_to_long_string }}</small>
|
6
|
+
|
7
|
+
<h1 class="mt-0">{{ page.title }}</h1>
|
8
|
+
|
9
|
+
{% if page.description -%}
|
10
|
+
<p class="text-secondary mb-3">{{ page.description }}</p>
|
11
|
+
{% endif -%}
|
12
|
+
|
13
|
+
{% if site.show_authors %}
|
14
|
+
{% author_element class="mb-2" %}
|
15
|
+
{% endif -%}
|
16
|
+
|
17
|
+
{% if page.tags %}
|
18
|
+
<div class="mb-4">
|
19
|
+
{% for tag in page.tags -%}
|
20
|
+
<a href="{{ '/tag/' | append: tag | relative_url }}"><span class="badge text-bg-secondary">{{ tag }}</span></a>
|
21
|
+
{% endfor -%}
|
22
|
+
</div>
|
23
|
+
{% else %}
|
24
|
+
<p class="mb-3"></p>
|
25
|
+
{% endif -%}
|
26
|
+
|
27
|
+
{% unless page.hide_image %}
|
28
|
+
{% if page.image -%}
|
29
|
+
{% picture_element src=page.image alt="Main Post Image" class="object-fit-cover col-md-8" -%}
|
30
|
+
{% endif -%}
|
31
|
+
{% endunless %}
|
32
|
+
|
33
|
+
<p class="mb-5"></p>
|
34
|
+
|
35
|
+
{{ content }}
|
36
|
+
|
37
|
+
{% if site.show_related_posts -%}
|
38
|
+
{% post_group title="Related Posts" -%}
|
39
|
+
{% for post in site.related_posts limit:5 -%}
|
40
|
+
{% post_element post -%}
|
41
|
+
{% endfor -%}
|
42
|
+
{% endpost_group -%}
|
43
|
+
{% endif -%}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
|
2
|
+
.design_group {
|
3
|
+
@extend .pt-4;
|
4
|
+
@extend .pb-3;
|
5
|
+
|
6
|
+
h1, h2, h3, h4 {
|
7
|
+
@extend .mb-2;
|
8
|
+
}
|
9
|
+
}
|
10
|
+
|
11
|
+
h1 {
|
12
|
+
@extend .mt-5;
|
13
|
+
@extend .mb-4;
|
14
|
+
}
|
15
|
+
|
16
|
+
.container {
|
17
|
+
h1:first-child, h2:first-child, h3:first-child, h4:first-child {
|
18
|
+
@extend .mt-0;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
h2 {
|
23
|
+
@extend .mt-5;
|
24
|
+
@extend .mb-4;
|
25
|
+
}
|
26
|
+
|
27
|
+
h3 {
|
28
|
+
@extend .mt-5;
|
29
|
+
@extend .mb-4;
|
30
|
+
}
|
31
|
+
|
32
|
+
h4 {
|
33
|
+
@extend .mt-4;
|
34
|
+
@extend .mb-3;
|
35
|
+
}
|
36
|
+
|
37
|
+
.project_element_link {
|
38
|
+
.card:hover{
|
39
|
+
@extend .shadow;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
.feature_element_link {
|
44
|
+
&:hover{
|
45
|
+
@extend .shadow;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
table {
|
50
|
+
@extend .table;
|
51
|
+
}
|
52
|
+
|
53
|
+
.round-image {
|
54
|
+
border-radius: 50%;
|
55
|
+
}
|
@@ -0,0 +1,158 @@
|
|
1
|
+
//
|
2
|
+
// Base styles
|
3
|
+
//
|
4
|
+
|
5
|
+
.accordion {
|
6
|
+
// scss-docs-start accordion-css-vars
|
7
|
+
--#{$prefix}accordion-color: #{$accordion-color};
|
8
|
+
--#{$prefix}accordion-bg: #{$accordion-bg};
|
9
|
+
--#{$prefix}accordion-transition: #{$accordion-transition};
|
10
|
+
--#{$prefix}accordion-border-color: #{$accordion-border-color};
|
11
|
+
--#{$prefix}accordion-border-width: #{$accordion-border-width};
|
12
|
+
--#{$prefix}accordion-border-radius: #{$accordion-border-radius};
|
13
|
+
--#{$prefix}accordion-inner-border-radius: #{$accordion-inner-border-radius};
|
14
|
+
--#{$prefix}accordion-btn-padding-x: #{$accordion-button-padding-x};
|
15
|
+
--#{$prefix}accordion-btn-padding-y: #{$accordion-button-padding-y};
|
16
|
+
--#{$prefix}accordion-btn-color: #{$accordion-button-color};
|
17
|
+
--#{$prefix}accordion-btn-bg: #{$accordion-button-bg};
|
18
|
+
--#{$prefix}accordion-btn-icon: #{escape-svg($accordion-button-icon)};
|
19
|
+
--#{$prefix}accordion-btn-icon-width: #{$accordion-icon-width};
|
20
|
+
--#{$prefix}accordion-btn-icon-transform: #{$accordion-icon-transform};
|
21
|
+
--#{$prefix}accordion-btn-icon-transition: #{$accordion-icon-transition};
|
22
|
+
--#{$prefix}accordion-btn-active-icon: #{escape-svg($accordion-button-active-icon)};
|
23
|
+
--#{$prefix}accordion-btn-focus-box-shadow: #{$accordion-button-focus-box-shadow};
|
24
|
+
--#{$prefix}accordion-body-padding-x: #{$accordion-body-padding-x};
|
25
|
+
--#{$prefix}accordion-body-padding-y: #{$accordion-body-padding-y};
|
26
|
+
--#{$prefix}accordion-active-color: #{$accordion-button-active-color};
|
27
|
+
--#{$prefix}accordion-active-bg: #{$accordion-button-active-bg};
|
28
|
+
// scss-docs-end accordion-css-vars
|
29
|
+
}
|
30
|
+
|
31
|
+
.accordion-button {
|
32
|
+
position: relative;
|
33
|
+
display: flex;
|
34
|
+
align-items: center;
|
35
|
+
width: 100%;
|
36
|
+
padding: var(--#{$prefix}accordion-btn-padding-y) var(--#{$prefix}accordion-btn-padding-x);
|
37
|
+
@include font-size($font-size-base);
|
38
|
+
color: var(--#{$prefix}accordion-btn-color);
|
39
|
+
text-align: left; // Reset button style
|
40
|
+
background-color: var(--#{$prefix}accordion-btn-bg);
|
41
|
+
border: 0;
|
42
|
+
@include border-radius(0);
|
43
|
+
overflow-anchor: none;
|
44
|
+
@include transition(var(--#{$prefix}accordion-transition));
|
45
|
+
|
46
|
+
&:not(.collapsed) {
|
47
|
+
color: var(--#{$prefix}accordion-active-color);
|
48
|
+
background-color: var(--#{$prefix}accordion-active-bg);
|
49
|
+
box-shadow: inset 0 calc(-1 * var(--#{$prefix}accordion-border-width)) 0 var(--#{$prefix}accordion-border-color); // stylelint-disable-line function-disallowed-list
|
50
|
+
|
51
|
+
&::after {
|
52
|
+
background-image: var(--#{$prefix}accordion-btn-active-icon);
|
53
|
+
transform: var(--#{$prefix}accordion-btn-icon-transform);
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
// Accordion icon
|
58
|
+
&::after {
|
59
|
+
flex-shrink: 0;
|
60
|
+
width: var(--#{$prefix}accordion-btn-icon-width);
|
61
|
+
height: var(--#{$prefix}accordion-btn-icon-width);
|
62
|
+
margin-left: auto;
|
63
|
+
content: "";
|
64
|
+
background-image: var(--#{$prefix}accordion-btn-icon);
|
65
|
+
background-repeat: no-repeat;
|
66
|
+
background-size: var(--#{$prefix}accordion-btn-icon-width);
|
67
|
+
@include transition(var(--#{$prefix}accordion-btn-icon-transition));
|
68
|
+
}
|
69
|
+
|
70
|
+
&:hover {
|
71
|
+
z-index: 2;
|
72
|
+
}
|
73
|
+
|
74
|
+
&:focus {
|
75
|
+
z-index: 3;
|
76
|
+
outline: 0;
|
77
|
+
box-shadow: var(--#{$prefix}accordion-btn-focus-box-shadow);
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
.accordion-header {
|
82
|
+
margin-bottom: 0;
|
83
|
+
}
|
84
|
+
|
85
|
+
.accordion-item {
|
86
|
+
color: var(--#{$prefix}accordion-color);
|
87
|
+
background-color: var(--#{$prefix}accordion-bg);
|
88
|
+
border: var(--#{$prefix}accordion-border-width) solid var(--#{$prefix}accordion-border-color);
|
89
|
+
|
90
|
+
&:first-of-type {
|
91
|
+
@include border-top-radius(var(--#{$prefix}accordion-border-radius));
|
92
|
+
|
93
|
+
> .accordion-header .accordion-button {
|
94
|
+
@include border-top-radius(var(--#{$prefix}accordion-inner-border-radius));
|
95
|
+
}
|
96
|
+
}
|
97
|
+
|
98
|
+
&:not(:first-of-type) {
|
99
|
+
border-top: 0;
|
100
|
+
}
|
101
|
+
|
102
|
+
// Only set a border-radius on the last item if the accordion is collapsed
|
103
|
+
&:last-of-type {
|
104
|
+
@include border-bottom-radius(var(--#{$prefix}accordion-border-radius));
|
105
|
+
|
106
|
+
> .accordion-header .accordion-button {
|
107
|
+
&.collapsed {
|
108
|
+
@include border-bottom-radius(var(--#{$prefix}accordion-inner-border-radius));
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
> .accordion-collapse {
|
113
|
+
@include border-bottom-radius(var(--#{$prefix}accordion-border-radius));
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
.accordion-body {
|
119
|
+
padding: var(--#{$prefix}accordion-body-padding-y) var(--#{$prefix}accordion-body-padding-x);
|
120
|
+
}
|
121
|
+
|
122
|
+
|
123
|
+
// Flush accordion items
|
124
|
+
//
|
125
|
+
// Remove borders and border-radius to keep accordion items edge-to-edge.
|
126
|
+
|
127
|
+
.accordion-flush {
|
128
|
+
> .accordion-item {
|
129
|
+
border-right: 0;
|
130
|
+
border-left: 0;
|
131
|
+
@include border-radius(0);
|
132
|
+
|
133
|
+
&:first-child { border-top: 0; }
|
134
|
+
&:last-child { border-bottom: 0; }
|
135
|
+
|
136
|
+
// stylelint-disable selector-max-class
|
137
|
+
> .accordion-header .accordion-button {
|
138
|
+
&,
|
139
|
+
&.collapsed {
|
140
|
+
@include border-radius(0);
|
141
|
+
}
|
142
|
+
}
|
143
|
+
// stylelint-enable selector-max-class
|
144
|
+
|
145
|
+
> .accordion-collapse {
|
146
|
+
@include border-radius(0);
|
147
|
+
}
|
148
|
+
}
|
149
|
+
}
|
150
|
+
|
151
|
+
@if $enable-dark-mode {
|
152
|
+
@include color-mode(dark) {
|
153
|
+
.accordion-button::after {
|
154
|
+
--#{$prefix}accordion-btn-icon: #{escape-svg($accordion-button-icon-dark)};
|
155
|
+
--#{$prefix}accordion-btn-active-icon: #{escape-svg($accordion-button-active-icon-dark)};
|
156
|
+
}
|
157
|
+
}
|
158
|
+
}
|
@@ -0,0 +1,68 @@
|
|
1
|
+
//
|
2
|
+
// Base styles
|
3
|
+
//
|
4
|
+
|
5
|
+
.alert {
|
6
|
+
// scss-docs-start alert-css-vars
|
7
|
+
--#{$prefix}alert-bg: transparent;
|
8
|
+
--#{$prefix}alert-padding-x: #{$alert-padding-x};
|
9
|
+
--#{$prefix}alert-padding-y: #{$alert-padding-y};
|
10
|
+
--#{$prefix}alert-margin-bottom: #{$alert-margin-bottom};
|
11
|
+
--#{$prefix}alert-color: inherit;
|
12
|
+
--#{$prefix}alert-border-color: transparent;
|
13
|
+
--#{$prefix}alert-border: #{$alert-border-width} solid var(--#{$prefix}alert-border-color);
|
14
|
+
--#{$prefix}alert-border-radius: #{$alert-border-radius};
|
15
|
+
--#{$prefix}alert-link-color: inherit;
|
16
|
+
// scss-docs-end alert-css-vars
|
17
|
+
|
18
|
+
position: relative;
|
19
|
+
padding: var(--#{$prefix}alert-padding-y) var(--#{$prefix}alert-padding-x);
|
20
|
+
margin-bottom: var(--#{$prefix}alert-margin-bottom);
|
21
|
+
color: var(--#{$prefix}alert-color);
|
22
|
+
background-color: var(--#{$prefix}alert-bg);
|
23
|
+
border: var(--#{$prefix}alert-border);
|
24
|
+
@include border-radius(var(--#{$prefix}alert-border-radius));
|
25
|
+
}
|
26
|
+
|
27
|
+
// Headings for larger alerts
|
28
|
+
.alert-heading {
|
29
|
+
// Specified to prevent conflicts of changing $headings-color
|
30
|
+
color: inherit;
|
31
|
+
}
|
32
|
+
|
33
|
+
// Provide class for links that match alerts
|
34
|
+
.alert-link {
|
35
|
+
font-weight: $alert-link-font-weight;
|
36
|
+
color: var(--#{$prefix}alert-link-color);
|
37
|
+
}
|
38
|
+
|
39
|
+
|
40
|
+
// Dismissible alerts
|
41
|
+
//
|
42
|
+
// Expand the right padding and account for the close button's positioning.
|
43
|
+
|
44
|
+
.alert-dismissible {
|
45
|
+
padding-right: $alert-dismissible-padding-r;
|
46
|
+
|
47
|
+
// Adjust close link position
|
48
|
+
.btn-close {
|
49
|
+
position: absolute;
|
50
|
+
top: 0;
|
51
|
+
right: 0;
|
52
|
+
z-index: $stretched-link-z-index + 1;
|
53
|
+
padding: $alert-padding-y * 1.25 $alert-padding-x;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
|
58
|
+
// scss-docs-start alert-modifiers
|
59
|
+
// Generate contextual modifier classes for colorizing the alert
|
60
|
+
@each $state in map-keys($theme-colors) {
|
61
|
+
.alert-#{$state} {
|
62
|
+
--#{$prefix}alert-color: var(--#{$prefix}#{$state}-text-emphasis);
|
63
|
+
--#{$prefix}alert-bg: var(--#{$prefix}#{$state}-bg-subtle);
|
64
|
+
--#{$prefix}alert-border-color: var(--#{$prefix}#{$state}-border-subtle);
|
65
|
+
--#{$prefix}alert-link-color: var(--#{$prefix}#{$state}-text-emphasis);
|
66
|
+
}
|
67
|
+
}
|
68
|
+
// scss-docs-end alert-modifiers
|
@@ -0,0 +1,38 @@
|
|
1
|
+
// Base class
|
2
|
+
//
|
3
|
+
// Requires one of the contextual, color modifier classes for `color` and
|
4
|
+
// `background-color`.
|
5
|
+
|
6
|
+
.badge {
|
7
|
+
// scss-docs-start badge-css-vars
|
8
|
+
--#{$prefix}badge-padding-x: #{$badge-padding-x};
|
9
|
+
--#{$prefix}badge-padding-y: #{$badge-padding-y};
|
10
|
+
@include rfs($badge-font-size, --#{$prefix}badge-font-size);
|
11
|
+
--#{$prefix}badge-font-weight: #{$badge-font-weight};
|
12
|
+
--#{$prefix}badge-color: #{$badge-color};
|
13
|
+
--#{$prefix}badge-border-radius: #{$badge-border-radius};
|
14
|
+
// scss-docs-end badge-css-vars
|
15
|
+
|
16
|
+
display: inline-block;
|
17
|
+
padding: var(--#{$prefix}badge-padding-y) var(--#{$prefix}badge-padding-x);
|
18
|
+
@include font-size(var(--#{$prefix}badge-font-size));
|
19
|
+
font-weight: var(--#{$prefix}badge-font-weight);
|
20
|
+
line-height: 1;
|
21
|
+
color: var(--#{$prefix}badge-color);
|
22
|
+
text-align: center;
|
23
|
+
white-space: nowrap;
|
24
|
+
vertical-align: baseline;
|
25
|
+
@include border-radius(var(--#{$prefix}badge-border-radius));
|
26
|
+
@include gradient-bg();
|
27
|
+
|
28
|
+
// Empty badges collapse automatically
|
29
|
+
&:empty {
|
30
|
+
display: none;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
// Quick fix for badges in buttons
|
35
|
+
.btn .badge {
|
36
|
+
position: relative;
|
37
|
+
top: -1px;
|
38
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
.breadcrumb {
|
2
|
+
// scss-docs-start breadcrumb-css-vars
|
3
|
+
--#{$prefix}breadcrumb-padding-x: #{$breadcrumb-padding-x};
|
4
|
+
--#{$prefix}breadcrumb-padding-y: #{$breadcrumb-padding-y};
|
5
|
+
--#{$prefix}breadcrumb-margin-bottom: #{$breadcrumb-margin-bottom};
|
6
|
+
@include rfs($breadcrumb-font-size, --#{$prefix}breadcrumb-font-size);
|
7
|
+
--#{$prefix}breadcrumb-bg: #{$breadcrumb-bg};
|
8
|
+
--#{$prefix}breadcrumb-border-radius: #{$breadcrumb-border-radius};
|
9
|
+
--#{$prefix}breadcrumb-divider-color: #{$breadcrumb-divider-color};
|
10
|
+
--#{$prefix}breadcrumb-item-padding-x: #{$breadcrumb-item-padding-x};
|
11
|
+
--#{$prefix}breadcrumb-item-active-color: #{$breadcrumb-active-color};
|
12
|
+
// scss-docs-end breadcrumb-css-vars
|
13
|
+
|
14
|
+
display: flex;
|
15
|
+
flex-wrap: wrap;
|
16
|
+
padding: var(--#{$prefix}breadcrumb-padding-y) var(--#{$prefix}breadcrumb-padding-x);
|
17
|
+
margin-bottom: var(--#{$prefix}breadcrumb-margin-bottom);
|
18
|
+
@include font-size(var(--#{$prefix}breadcrumb-font-size));
|
19
|
+
list-style: none;
|
20
|
+
background-color: var(--#{$prefix}breadcrumb-bg);
|
21
|
+
@include border-radius(var(--#{$prefix}breadcrumb-border-radius));
|
22
|
+
}
|
23
|
+
|
24
|
+
.breadcrumb-item {
|
25
|
+
// The separator between breadcrumbs (by default, a forward-slash: "/")
|
26
|
+
+ .breadcrumb-item {
|
27
|
+
padding-left: var(--#{$prefix}breadcrumb-item-padding-x);
|
28
|
+
|
29
|
+
&::before {
|
30
|
+
float: left; // Suppress inline spacings and underlining of the separator
|
31
|
+
padding-right: var(--#{$prefix}breadcrumb-item-padding-x);
|
32
|
+
color: var(--#{$prefix}breadcrumb-divider-color);
|
33
|
+
content: var(--#{$prefix}breadcrumb-divider, escape-svg($breadcrumb-divider)) #{"/* rtl:"} var(--#{$prefix}breadcrumb-divider, escape-svg($breadcrumb-divider-flipped)) #{"*/"};
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
&.active {
|
38
|
+
color: var(--#{$prefix}breadcrumb-item-active-color);
|
39
|
+
}
|
40
|
+
}
|