elixir-toolkit-theme 1.8.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/_includes/contributor-minitiles-page.html +8 -9
- data/_includes/events.html +14 -1
- data/_includes/footer.html +7 -0
- data/_includes/github-buttons.html +17 -0
- data/_includes/head.html +1 -1
- data/_includes/news.html +14 -1
- data/_includes/resource-table-all.html +6 -6
- data/_includes/resource-table-page.html +2 -6
- data/_includes/toc.html +2 -2
- data/_includes/topnav.html +8 -1
- data/_includes/training-table-all.html +1 -1
- data/_layouts/page.html +7 -16
- data/_sass/_custom_variables.scss +2 -3
- data/assets/css/main.scss +18 -17
- data/assets/js/toc.js +4 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd7c840ddd6bc288ebc91fe2668c8eb61bbf41e3b8e5e6ce363efe8277226e88
|
4
|
+
data.tar.gz: 35542051eee4a4791172916ef213d618cc6307327c9d69c416134df87ad02790
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ed10a4573f13c03b45cb8aece155b215efe339f984aa413885506d9fa4ae9fafb3dd40159f018760c5d0919c74913858082616a721fa07d3440f0ff9f815e0d
|
7
|
+
data.tar.gz: cf2710ff17423374936decb1be36b798019e02d7cebf82a35964cb2f9649078b74e55e6fa32811b5368ba2603f0b5863558fa54eda4ae830ee2930c16a589dd8
|
data/README.md
CHANGED
@@ -48,7 +48,7 @@ theme: elixir-toolkit-theme
|
|
48
48
|
|
49
49
|
## Usage
|
50
50
|
|
51
|
-
[View the documentation](https://elixir-belgium.github.io/elixir-toolkit-theme/) for usage information.
|
51
|
+
[View the documentation](https://elixir-belgium.github.io/elixir-toolkit-theme/) for usage information (under development).
|
52
52
|
|
53
53
|
## Deployment
|
54
54
|
|
@@ -99,9 +99,11 @@ This will start the docker container and serve the website locally. Make sure th
|
|
99
99
|
## This theme is known to be used in:
|
100
100
|
|
101
101
|
- [RDMkit](https://rdmkit.elixir-europe.org/)
|
102
|
+
- [WorkflowHub project](https://about.workflowhub.eu/)
|
102
103
|
- [RDMGuide](https://rdm.elixir-belgium.org/)
|
103
104
|
- [Infectious Diseases Toolkit](https://www.infectious-diseases-toolkit.org/)
|
104
105
|
- [Applied Bioinformatics and Biostatistics intranet page](https://intranet.psb.ugent.be/abb/)
|
106
|
+
- [FAIRDOM](https://fair-dom.org/)
|
105
107
|
|
106
108
|
|
107
109
|
## Used packages
|
@@ -26,7 +26,7 @@
|
|
26
26
|
{%- endif %}
|
27
27
|
</div>
|
28
28
|
{%- endcapture %}
|
29
|
-
<a tabindex="0" role="button" class="btn contributor-link hover-primary m-1 position-relative" data-bs-trigger="focus" data-bs-html="true" data-bs-container="body" data-bs-toggle="popover" data-bs-placement="top" data-bs-content='{{html_code}}' title="{{contributor}}">
|
29
|
+
<a tabindex="0" role="button" class="btn btn-sm contributor-link hover-primary m-1 position-relative" data-bs-trigger="focus" data-bs-html="true" data-bs-container="body" data-bs-toggle="popover" data-bs-placement="top" data-bs-content='{{html_code}}' title="{{contributor}}">
|
30
30
|
<div class="d-flex align-items-center">
|
31
31
|
<div class="flex-shrink-0">
|
32
32
|
{%- if contributors[contributor].image_url %}
|
@@ -39,18 +39,17 @@
|
|
39
39
|
{{ contributor }}
|
40
40
|
</div>
|
41
41
|
</div>
|
42
|
+
{%- if page.coordinators %}
|
43
|
+
{%- for coordinator in page.coordinators %}
|
44
|
+
{%- if coordinator == contributor %}
|
42
45
|
<div class="position-absolute top-0 start-100 translate-middle">
|
43
|
-
{%- if page.coordinators %}
|
44
|
-
{%- for coordinator in page.coordinators %}
|
45
|
-
{%- if coordinator == contributor %}
|
46
46
|
<div class="rounded-circle coordinator-crown">
|
47
47
|
<i class="fa fa-crown"></i>
|
48
48
|
</div>
|
49
|
-
{%- endif %}
|
50
|
-
{%- endfor %}
|
51
|
-
{%- endif %}
|
52
49
|
</div>
|
53
|
-
|
54
|
-
|
50
|
+
{%- endif %}
|
51
|
+
{%- endfor %}
|
52
|
+
{%- endif %}
|
53
|
+
</a>{%- endfor %}
|
55
54
|
</div>
|
56
55
|
{%- endif %}
|
data/_includes/events.html
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
<div class="events {{include.event_type}}s">
|
2
2
|
{%- if include.title == "true" %}
|
3
|
-
<h2
|
3
|
+
<h2>{{include.event_type | replace: "_", " " | capitalize}}s</h2>
|
4
4
|
{%- endif %}
|
5
5
|
{%- assign events = site.data.events %}
|
6
|
+
{%- assign count = 0 %}
|
6
7
|
<ul class="list-unstyled mt-3">
|
7
8
|
{%- for event in events %}
|
8
9
|
<li class='{{include.event_type}}' data-start='{{ event.startDate}}'>
|
@@ -14,9 +15,21 @@
|
|
14
15
|
<div class="d-inline-block text-muted">{{ event.location | markdownify }}</div>
|
15
16
|
{%- endif %}
|
16
17
|
{%- if event.description %}
|
18
|
+
{%- assign word_count = event.description | split: " " | size %}
|
19
|
+
{%- if include.truncate == "true" and word_count > 40 %}
|
20
|
+
<p class="mb-0"><a data-bs-toggle="collapse" href="#collapse-{{count}}" role="button" aria-expanded="false" aria-controls="collapse-{{count}}">
|
21
|
+
View description
|
22
|
+
</a>
|
23
|
+
</p>
|
24
|
+
<div class="full-description collapse" id="collapse-{{count}}">
|
25
|
+
{{ event.description | markdownify }}
|
26
|
+
</div>
|
27
|
+
{%- else %}
|
17
28
|
{{ event.description | markdownify }}
|
18
29
|
{%- endif %}
|
30
|
+
{%- endif %}
|
19
31
|
</li>
|
32
|
+
{%- assign count = count | plus: 1 %}
|
20
33
|
{%- endfor %}
|
21
34
|
</ul>
|
22
35
|
{%- if include.caption == "true" %}
|
data/_includes/footer.html
CHANGED
@@ -8,6 +8,9 @@
|
|
8
8
|
</div>
|
9
9
|
{%- elsif column.type == "links" %}
|
10
10
|
<div class="col-lg-{{column.width}} col-sm-6">
|
11
|
+
{%- if column.title != nil %}
|
12
|
+
<span class="footer-title">{{column.title}}</span>
|
13
|
+
{%- endif %}
|
11
14
|
<ul class="mb-0">
|
12
15
|
{%- for link in column.children %}
|
13
16
|
{%- if link.url != nil and link.external_url == nil%}
|
@@ -20,6 +23,10 @@
|
|
20
23
|
{%- endfor %}
|
21
24
|
</ul>
|
22
25
|
</div>
|
26
|
+
{%- elsif column.type == "text" %}
|
27
|
+
<div class="col-lg-{{column.width}} col-sm-6 d-flex justify-content-center">
|
28
|
+
{{column.content | markdownify }}
|
29
|
+
</div>
|
23
30
|
{%- endif %}
|
24
31
|
{%- endfor %}
|
25
32
|
</div>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
{%- if site.theme_variables.github_buttons.edit_me or site.theme_variables.github_buttons.open_issue or site.theme_variables.github_buttons.history or site.theme_variables.github_buttons.edit_me == nil or site.theme_variables.github_buttons.open_issue == nil or site.theme_variables.github_buttons.history == nil %}
|
2
|
+
<div id="edit-me" class="btn-group">
|
3
|
+
{%- if site.theme_variables.github_buttons.edit_me or site.theme_variables.github_buttons.edit_me == nil %}
|
4
|
+
{%- if page.custom-editme %}
|
5
|
+
<a role="button" data-bs-toggle="tooltip" title="Propose changes to the content of this page on {{site.theme_variables.git_host | default: 'GitHub' }}" href="{{site.github.repository_url}}/blob/{{site.github.source.branch}}/{{page.custom-editme}}" class="btn btn-sm hover-primary text-primary"><i class="fas fa-pencil-alt"></i></a>
|
6
|
+
{%- else %}
|
7
|
+
<a role="button" data-bs-toggle="tooltip" title="Propose changes to this page on {{site.theme_variables.git_host | default: 'GitHub' }}" href="{{site.github.repository_url}}/blob/{{site.github.source.branch}}/{{page.path}}" class="btn btn-sm hover-primary text-primary"><i class="fas fa-pencil-alt"></i></a>
|
8
|
+
{%- endif %}
|
9
|
+
{%- endif %}
|
10
|
+
{%- if site.theme_variables.github_buttons.open_issue or site.theme_variables.github_buttons.open_issue == nil %}
|
11
|
+
<a role="button" data-bs-toggle="tooltip" title="Report an issue" href="{{site.github.repository_url}}/issues/new?title={{'Issue on page: ' | url_encode }}{{page.title | url_encode }}&body={{'I would like to report an issue on the ' | url_encode }}{{page.title | url_encode }}{{' page at `'| url_encode }}{{page.url | url_encode }}{{'`. Description of the issue:' | url_encode }}" class="btn btn-sm hover-primary text-primary"><i class="fas fa-exclamation"></i></a>
|
12
|
+
{%- endif %}
|
13
|
+
{%- if site.theme_variables.github_buttons.history or site.theme_variables.github_buttons.history == nil %}
|
14
|
+
<a role="button" data-bs-toggle="tooltip" title="Check out the history of this page" href="{{site.github.repository_url}}/commits/{{site.github.source.branch}}/{{page.path}}" class="btn btn-sm hover-primary text-primary"><i class="fas fa-history"></i></a>
|
15
|
+
{%- endif %}
|
16
|
+
</div>
|
17
|
+
{%- endif %}
|
data/_includes/head.html
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
<meta name="apple-mobile-web-app-title" content="{{site.title}}">
|
19
19
|
<meta name="msapplication-TileColor" content="#{{site.theme_variables.theme_color | default: 0d6efd }}">
|
20
20
|
<meta name="theme-color" content="#{{site.theme_variables.theme_color | default: 0d6efd }}">
|
21
|
-
{%- if page.
|
21
|
+
{%- if page.no_robots %}
|
22
22
|
<meta name="robots" content="noindex" />
|
23
23
|
{%- endif %}
|
24
24
|
{%- if page.type %}
|
data/_includes/news.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<div class="news">
|
2
2
|
{%- if include.title == "true" %}
|
3
|
-
<h2
|
3
|
+
<h2>Whats new?</h2>
|
4
4
|
{%- endif %}
|
5
5
|
{%- assign news = site.data.news | sort: "date"%}
|
6
6
|
{%- assign count = 0 %}
|
@@ -9,7 +9,20 @@
|
|
9
9
|
<li>
|
10
10
|
<span class="title mb-1">{{ new.name | escape }}</span>
|
11
11
|
<p class="text-muted"><i class="far fa-calendar me-2"></i><time>{{ new.date | date_to_long_string }}</time>{% if new.linked_pr %}<b> - </b><i class="fas fa-code-branch"></i><a href="{{ site.github.repository_url | append: '/pull/' | append: new.linked_pr }}">{{new.linked_pr }}</a>{% endif %}</p>
|
12
|
+
{%- if new.description %}
|
13
|
+
{%- assign word_count = new.description | split: " " | size %}
|
14
|
+
{%- if include.truncate == "true" and word_count > 40 %}
|
15
|
+
<p class="mb-0"><a data-bs-toggle="collapse" href="#collapse-{{count}}" role="button" aria-expanded="false" aria-controls="collapse-{{count}}">
|
16
|
+
View description
|
17
|
+
</a>
|
18
|
+
</p>
|
19
|
+
<div class="full-description collapse" id="collapse-{{count}}">
|
20
|
+
{{ new.description | markdownify }}
|
21
|
+
</div>
|
22
|
+
{%- else %}
|
12
23
|
{{ new.description | markdownify }}
|
24
|
+
{%- endif %}
|
25
|
+
{%- endif %}
|
13
26
|
</li>
|
14
27
|
{%- assign count = count | plus: 1 %}
|
15
28
|
{%- if include.limit and count == include.limit %}
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<div class="table-responsive mt-4 mb-5">
|
9
9
|
<table id="tooltable" class="table display">
|
10
10
|
<thead>
|
11
|
-
<tr>
|
11
|
+
<tr class="text-nowrap">
|
12
12
|
<th>Tool or resource {%- if include.tag -%}
|
13
13
|
<a data-bs-toggle="tooltip" data-bs-original-title="This is a curated list which means that not all tools or resources that exist for this topic are listed here. This is mainly because we do not intend to be a registry. In most cases you will only find back the tools or resources that are mentioned in this page.">
|
14
14
|
<i class="fas fa-info-circle"></i>
|
@@ -60,18 +60,18 @@
|
|
60
60
|
{%- endfor %}
|
61
61
|
{%- endcapture %}
|
62
62
|
<td>{{related_pages}}</td>
|
63
|
-
<td
|
63
|
+
<td>
|
64
64
|
{%- if tool.registry.biotools %}
|
65
|
-
<a data-bs-toggle="tooltip" data-bs-original-title="Bio.tools" href="https://bio.tools/{{tool.registry.biotools}}"><span class="badge bg-dark text-white hover-primary">Tool info</span></a>
|
65
|
+
<a data-bs-toggle="tooltip" data-bs-original-title="Bio.tools" href="https://bio.tools/{{tool.registry.biotools}}"><span class="badge bg-dark text-white hover-primary"><i class="fas fa-info me-2"></i>Tool info</span></a>
|
66
66
|
{%- endif %}
|
67
67
|
{%- if tool.registry.fairsharing %}
|
68
|
-
<a data-bs-toggle="tooltip" data-bs-original-title="FAIRsharing" href="https://fairsharing.org/FAIRsharing.{{tool.registry.fairsharing}}"><span class="badge bg-dark text-white hover-primary">Standards/Databases</span></a>
|
68
|
+
<a data-bs-toggle="tooltip" data-bs-original-title="FAIRsharing" href="https://fairsharing.org/FAIRsharing.{{tool.registry.fairsharing}}"><span class="badge bg-dark text-white hover-primary"><i class="fas fa-database me-2"></i>Standards/Databases</span></a>
|
69
69
|
{%- endif %}
|
70
70
|
{%- if tool.registry.fairsharing-coll %}
|
71
|
-
<a data-bs-toggle="tooltip" data-bs-original-title="FAIRsharing collection" href="https://fairsharing.org/{{tool.registry.fairsharing-coll}}"><span class="badge bg-dark text-white hover-primary">Standards/Databases</span></a>
|
71
|
+
<a data-bs-toggle="tooltip" data-bs-original-title="FAIRsharing collection" href="https://fairsharing.org/{{tool.registry.fairsharing-coll}}"><span class="badge bg-dark text-white hover-primary"><i class="fas fa-database me-2"></i>Standards/Databases</span></a>
|
72
72
|
{%- endif %}
|
73
73
|
{%- if tool.registry.tess %}
|
74
|
-
<a data-bs-toggle="tooltip" data-bs-original-title="TeSS" href="https://tess.elixir-europe.org/search?q={{tool.registry.tess}}"><span class="badge bg-dark text-white hover-primary">Training</span></a>
|
74
|
+
<a data-bs-toggle="tooltip" data-bs-original-title="TeSS" href="https://tess.elixir-europe.org/search?q={{tool.registry.tess}}"><span class="badge bg-dark text-white hover-primary"><i class="fas fa-graduation-cap me-2"></i>Training</span></a>
|
75
75
|
{%- endif %}
|
76
76
|
</td>
|
77
77
|
</tr>
|
@@ -5,12 +5,8 @@
|
|
5
5
|
<div class="table-responsive mt-4 mb-5">
|
6
6
|
<table id="tooltable" class="table display">
|
7
7
|
<thead>
|
8
|
-
<tr>
|
9
|
-
<th>Resource
|
10
|
-
<a data-bs-toggle="tooltip" data-bs-original-title="This is a curated list which means that not all tools or resources that exist for this topic are listed here. This is mainly because we do not intend to be a registry. In most cases you will only find back the tools or resources that are mentioned in this page.">
|
11
|
-
<i class="fas fa-info-circle" style="color:var(--main-text-color);"></i>
|
12
|
-
</a>{%- endif %}
|
13
|
-
</th>
|
8
|
+
<tr class="text-nowrap">
|
9
|
+
<th>Resource</th>
|
14
10
|
<th>Description</th>
|
15
11
|
<th>Related pages</th>
|
16
12
|
</tr>
|
data/_includes/toc.html
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
<script>
|
2
2
|
$(document).ready(function () {
|
3
|
-
$('#toc').toc({ minimumHeaders: 2, listType: 'ul', showSpeed: 0, headers: 'h2' , title: '' });
|
3
|
+
$('#toc').toc({ minimumHeaders: {{site.theme_variables.toc.min_headers | default: 2 }}, listType: 'ul', noBackToTopLinks: true, showSpeed: 0, headers: '{{site.theme_variables.toc.headers | default: 'main h2' }}' , title: '', classes:{toc:'p-3 rounded my-4'} });
|
4
4
|
});
|
5
5
|
</script>
|
6
6
|
<div class="col-12 col-sm-7 col-xl-5">
|
7
|
-
<div id="toc"
|
7
|
+
<div id="toc"></div>
|
8
8
|
</div>
|
data/_includes/topnav.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<a class="visually-hidden-focusable" href='#footer'>Skip to footer</a>
|
5
5
|
<nav class="navbar navbar-expand-lg mb-3 mb-lg-5">
|
6
6
|
<div class="container">
|
7
|
-
<a class="navbar-brand" href="{{ 'index.html' | relative_url }}"><img class="me-3 img-fluid" alt="{{site.title}} logo" src="{{ 'assets/img/main_logo.svg' | relative_url }}">{% if site.topnav_title %}<span class="me-3">{{site.topnav_title}}</span>{% endif %}</a>
|
7
|
+
<a class="navbar-brand" href="{{ 'index.html' | relative_url }}"><img class="{% if site.topnav_title %}me-3 {% endif %}img-fluid" alt="{{site.title}} logo" src="{{ 'assets/img/main_logo.svg' | relative_url }}">{% if site.topnav_title %}<span class="me-0 me-lg-3">{{site.topnav_title}}</span>{% endif %}</a>
|
8
8
|
<button class="navbar-toggler text-primary" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
|
9
9
|
<i title="navbar-toggler" class="fa fa-bars"></i>
|
10
10
|
</button>
|
@@ -45,9 +45,16 @@
|
|
45
45
|
{%- if topnav.subitems.size > 1 %}
|
46
46
|
<li class="nav-item ms-0 ms-lg-3 mt-2 mt-lg-0 nav-break"></li>
|
47
47
|
{%- endif %}
|
48
|
+
{%- if site.theme_variables.topnav.twitter %}
|
49
|
+
<li class="nav-item ms-0 ms-lg-3 mt-2 mt-lg-0">
|
50
|
+
<a class="nav-link ps-2 d-flex align-items-center" href="{{site.theme_variables.topnav.twitter}}"><i class="fab fa-twitter me-2"></i>Twitter</a>
|
51
|
+
</li>
|
52
|
+
{%- endif %}
|
53
|
+
{%- if site.theme_variables.topnav.github or site.theme_variables.topnav.github == nil %}
|
48
54
|
<li class="nav-item ms-0 ms-lg-3 mt-2 mt-lg-0">
|
49
55
|
<a class="nav-link ps-2 d-flex align-items-center" href="{{site.github.repository_url}}"><i class="fab fa-github me-2"></i>{{site.theme_variables.git_host | default: 'GitHub' }}</a>
|
50
56
|
</li>
|
57
|
+
{%- endif %}
|
51
58
|
<!--start search-->
|
52
59
|
<li class="nav-item ms-0 ms-lg-3 my-2 my-lg-0">
|
53
60
|
<div class="position-relative">
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<div class="table-responsive mt-4 mb-5">
|
3
3
|
<table id="trainingtable" class="table display">
|
4
4
|
<thead>
|
5
|
-
<tr>
|
5
|
+
<tr class="text-nowrap">
|
6
6
|
<th>Name
|
7
7
|
<a data-bs-toggle="tooltip" data-bs-original-title="This is a curated list which means that not all trainings that exist for a certain topic are listed here. This is mainly because we do not intend to be a registry. In most cases you will only find back the tools or resources that are mentioned in this page.">
|
8
8
|
<i class="fas fa-info-circle"></i>
|
data/_layouts/page.html
CHANGED
@@ -9,22 +9,8 @@ layout: default
|
|
9
9
|
{%- else %}
|
10
10
|
<h1>{{ page.title }}
|
11
11
|
{%- endif %}
|
12
|
-
{%- if site.theme_variables.github_buttons.
|
13
|
-
|
14
|
-
{%- if site.theme_variables.github_buttons.edit_me or site.theme_variables.github_buttons.edit_me == nil %}
|
15
|
-
{%- if page.custom-editme %}
|
16
|
-
<a role="button" data-bs-toggle="tooltip" title="Propose changes to the content of this page on {{site.theme_variables.git_host | default: 'GitHub' }}" href="{{site.github.repository_url}}/blob/{{site.github.source.branch}}/{{page.custom-editme}}" class="btn btn-sm hover-primary text-primary"><i class="fas fa-pencil-alt"></i></a>
|
17
|
-
{%- else %}
|
18
|
-
<a role="button" data-bs-toggle="tooltip" title="Propose changes to this page on {{site.theme_variables.git_host | default: 'GitHub' }}" href="{{site.github.repository_url}}/blob/{{site.github.source.branch}}/{{page.path}}" class="btn btn-sm hover-primary text-primary"><i class="fas fa-pencil-alt"></i></a>
|
19
|
-
{%- endif %}
|
20
|
-
{%- endif %}
|
21
|
-
{%- if site.theme_variables.github_buttons.open_issue or site.theme_variables.github_buttons.open_issue == nil %}
|
22
|
-
<a role="button" data-bs-toggle="tooltip" title="Report an issue" href="{{site.github.repository_url}}/issues/new?title={{'Issue on page: ' | url_encode }}{{page.title | url_encode }}&body={{'I would like to report an issue on the ' | url_encode }}{{page.title | url_encode }}{{' page at `'| url_encode }}{{page.url | url_encode }}{{'`. Description of the issue:' | url_encode }}" class="btn btn-sm hover-primary text-primary"><i class="fas fa-exclamation"></i></a>
|
23
|
-
{%- endif %}
|
24
|
-
{%- if site.theme_variables.github_buttons.history or site.theme_variables.github_buttons.history == nil %}
|
25
|
-
<a role="button" data-bs-toggle="tooltip" title="Check out the history of this page" href="{{site.github.repository_url}}/commits/{{site.github.source.branch}}/{{page.path}}" class="btn btn-sm hover-primary text-primary"><i class="fas fa-history"></i></a>
|
26
|
-
{%- endif %}
|
27
|
-
</div>
|
12
|
+
{%- if site.theme_variables.github_buttons.position == "top" or site.theme_variables.github_buttons.position == nil %}
|
13
|
+
{% include github-buttons.html %}
|
28
14
|
{%- endif %}
|
29
15
|
</h1>
|
30
16
|
{%- endif %}
|
@@ -42,5 +28,10 @@ layout: default
|
|
42
28
|
{% include resource-table-all.html tag=page.page_id %}
|
43
29
|
{%- endif %}
|
44
30
|
{% include contributor-minitiles-page.html %}
|
31
|
+
{%- if site.theme_variables.github_buttons.position == "bottom" %}
|
32
|
+
<div id="github-buttons-wrapper" class="d-flex mt-5">
|
33
|
+
{% include github-buttons.html %}
|
34
|
+
</div>
|
35
|
+
{%- endif %}
|
45
36
|
</main>
|
46
37
|
|
@@ -10,7 +10,6 @@ $btn-primary-color-hover: $white;
|
|
10
10
|
$topnav-bg: $light;
|
11
11
|
$topnav-title-color: $primary;
|
12
12
|
$topnav-brand-height: 44px;
|
13
|
-
$topnav-border: 0;
|
14
13
|
|
15
14
|
/*-----Search-----*/
|
16
15
|
$search-result-color: $primary;
|
@@ -27,7 +26,6 @@ $sidebar-color-active: $white;
|
|
27
26
|
|
28
27
|
/*-----TOC-----*/
|
29
28
|
$toc-bg: $light;
|
30
|
-
$toc-border: 0;
|
31
29
|
|
32
30
|
/*-----Section navigation tiles-----*/
|
33
31
|
$nav-card-bg: $white;
|
@@ -54,6 +52,8 @@ $contr-crown-color: $white;
|
|
54
52
|
|
55
53
|
/*-----Events & news-----*/
|
56
54
|
$news-title-bg: $primary;
|
55
|
+
$news-border-color: $light;
|
56
|
+
$news-title-color: $white;
|
57
57
|
|
58
58
|
/*-----Default badge-----*/
|
59
59
|
$badge-color: $body-color;
|
@@ -67,5 +67,4 @@ $footer-color: $dark;
|
|
67
67
|
$footer-link-color: $dark;
|
68
68
|
$footer-link-color-hover: $primary;
|
69
69
|
$footer-copyright-bg: $gray-200;
|
70
|
-
$footer-border: 0;
|
71
70
|
|
data/assets/css/main.scss
CHANGED
@@ -133,7 +133,6 @@ pre code {
|
|
133
133
|
|
134
134
|
header .navbar {
|
135
135
|
background-color: $topnav-bg;
|
136
|
-
border-bottom: $topnav-border;
|
137
136
|
.navbar-brand {
|
138
137
|
color: $topnav-title-color;
|
139
138
|
img {
|
@@ -344,7 +343,6 @@ header .navbar {
|
|
344
343
|
|
345
344
|
#toc {
|
346
345
|
background-color: $toc-bg;
|
347
|
-
border: $toc-border;
|
348
346
|
// Indent the lists and reset any other padding
|
349
347
|
|
350
348
|
ul {
|
@@ -421,7 +419,6 @@ footer {
|
|
421
419
|
font-size: 0.9em;
|
422
420
|
line-height: 24px;
|
423
421
|
background-color: $footer-bg;
|
424
|
-
border-top: $footer-border;
|
425
422
|
color: $footer-color;
|
426
423
|
|
427
424
|
a {
|
@@ -501,6 +498,7 @@ footer {
|
|
501
498
|
/*--------Page contributors---------*/
|
502
499
|
.page-contributors {
|
503
500
|
background-color: $contr-bg;
|
501
|
+
font-size: 0; /* Gets rid of extra white space */
|
504
502
|
.contributor-link {
|
505
503
|
background-color: $contr-link-bg;
|
506
504
|
.contributor-img-sm {
|
@@ -508,10 +506,10 @@ footer {
|
|
508
506
|
}
|
509
507
|
|
510
508
|
.coordinator-crown {
|
511
|
-
font-size: 0.
|
512
|
-
width: 1.
|
513
|
-
height: 1.
|
514
|
-
line-height: 1.
|
509
|
+
font-size: 0.60em;
|
510
|
+
width: 1.8em;
|
511
|
+
height: 1.8em;
|
512
|
+
line-height: 1.8;
|
515
513
|
background-color: $contr-crown-bg;
|
516
514
|
|
517
515
|
.fa {
|
@@ -531,7 +529,6 @@ footer {
|
|
531
529
|
position: fixed;
|
532
530
|
background-color: $footer-bg;
|
533
531
|
color: $footer-color;
|
534
|
-
border-top: $footer-border;
|
535
532
|
bottom: 0;
|
536
533
|
left: 0;
|
537
534
|
width: 100%;
|
@@ -587,13 +584,11 @@ li.past_event,
|
|
587
584
|
display: none;
|
588
585
|
}
|
589
586
|
|
590
|
-
.events,
|
591
|
-
.news {
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
padding: 0px 11px;
|
596
|
-
}
|
587
|
+
.events > ul > li,
|
588
|
+
.news > ul > li {
|
589
|
+
border-left: $news-border-color 5px solid;
|
590
|
+
border-radius: $border-radius;
|
591
|
+
padding: 0px 11px;
|
597
592
|
|
598
593
|
i {
|
599
594
|
width: 20px;
|
@@ -603,13 +598,19 @@ li.past_event,
|
|
603
598
|
.title {
|
604
599
|
background-color: $news-title-bg;
|
605
600
|
font-weight: 600;
|
606
|
-
color: $
|
601
|
+
color: $news-title-color;
|
607
602
|
padding: 0px 11px;
|
608
603
|
border-radius: 0px 4px 4px 0px;
|
609
604
|
margin-left: -11px;
|
610
|
-
border: 1px solid $news-title-bg;
|
611
605
|
display: inline-block;
|
612
606
|
}
|
607
|
+
|
608
|
+
.full-description > *:last-child {
|
609
|
+
margin-bottom: 0;
|
610
|
+
li {
|
611
|
+
margin-bottom: 0;
|
612
|
+
}
|
613
|
+
}
|
613
614
|
}
|
614
615
|
/*-----More information tiles-----*/
|
615
616
|
|
data/assets/js/toc.js
CHANGED
@@ -11,7 +11,8 @@
|
|
11
11
|
showSpeed: 'slow', // set to 0 to deactivate effect
|
12
12
|
classes: { list: '',
|
13
13
|
item: '',
|
14
|
-
link: ''
|
14
|
+
link: '',
|
15
|
+
toc: ''
|
15
16
|
}
|
16
17
|
},
|
17
18
|
settings = $.extend(defaults, options);
|
@@ -44,6 +45,8 @@
|
|
44
45
|
settings.showEffect = 'none';
|
45
46
|
}
|
46
47
|
|
48
|
+
$(this).addClass(settings.classes.toc)
|
49
|
+
|
47
50
|
var render = {
|
48
51
|
show: function() { output.hide().html(html).show(settings.showSpeed); },
|
49
52
|
slideDown: function() { output.hide().html(html).slideDown(settings.showSpeed); },
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elixir-toolkit-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bedroesb
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-03-
|
11
|
+
date: 2022-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -71,6 +71,7 @@ files:
|
|
71
71
|
- _includes/cookie-popup.html
|
72
72
|
- _includes/events.html
|
73
73
|
- _includes/footer.html
|
74
|
+
- _includes/github-buttons.html
|
74
75
|
- _includes/head.html
|
75
76
|
- _includes/image.html
|
76
77
|
- _includes/more-information-tiles.html
|