elixir-toolkit-theme 1.15.0 → 1.15.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 042f0769bed3d7e742cc44c90084d883dd4dfe4d492af02b3992773131207e81
4
- data.tar.gz: 7c9bebf37ad56fe5a0b29bcc9cc0b49c2a26c503d4243e6ed06a1378d0c2748d
3
+ metadata.gz: 5116818f824c43ac6772574ec0355a9f315305c81262063ea3af0cb25621aa0a
4
+ data.tar.gz: 6e6bc17368378dd393fedd8b3512ab78ac55f067b8fba8b7ce881a2bb87a891c
5
5
  SHA512:
6
- metadata.gz: 7a95aab9c9c173d31ed69db6a628fd55348363b2e8ca3de8d0bc1e7b6b1bcce4840b9f43f2e322b82f7a9fc0489f8413d1ccdc0c7980a6f1bf39b77c8a744b00
7
- data.tar.gz: cf3e6f629cca03308439fa04747aa4330c9881aa37e989f637e9d1baa7ce07d056aa8248f3156ca363d24b630b7a58ba063213f62b4566eb9a9b3e67bc73ccb3
6
+ metadata.gz: 7f0a27be3b8dd0b2a85ea97d7040c214ab5d6a8a97c269a3d56dc942c3cd11e923fb0203e8996bdf5a6d44d0cbd74db604735ec34d54fa89f92c4dbe26dd818b
7
+ data.tar.gz: 6281320307692f8c0b7b953b12a3d34bf39477832f13f95aa967441c19dd202d738e54f43eecf39ce644c9ec1d35a01e2a91ab5fa617ee31804e56441dadf3d3
@@ -1,11 +1,11 @@
1
1
  {%- assign alllogos = site.data.affiliations %}
2
- <div class="affiliation-tiles row row-cols-2 row-cols-sm-3 row-cols-md-4 g-5 my-3">
2
+ <div class="affiliation-tiles row row-cols-2 row-cols-sm-3 row-cols-md-4 g-4 my-3">
3
3
  {%- assign filtered_logos = alllogos | where: "type", include.type %}
4
4
  {%- for affiliation in filtered_logos %}
5
5
  {%- if affiliation.image_url and affiliation.expose == true %}
6
6
  <div class="col">
7
7
  <div class="card h-100 border-0">
8
- <div class="my-auto">
8
+ <div class="my-auto d-flex justify-content-center">
9
9
  {% if affiliation.url %}<a href="{{ affiliation.url }}">{% endif %}<img class="rounded" src="{{ affiliation.image_url | relative_url }}" alt="{{ affiliation.name }}">{%- if affiliation.url %}</a>{% endif %}
10
10
  </div>
11
11
  </div>
@@ -6,27 +6,43 @@
6
6
  {%- for contributor in page_contributors %}
7
7
  {%- assign id = contributors[contributor].git | default: 'no_github' %}
8
8
  {%- capture html_code %}
9
- {%- assign stripped_name = contributor | replace: "'", " " %}
10
- <div class="d-flex justify-content-center">
11
- {%- if contributors[contributor].image_url %}
12
- <img class="img-fluid rounded-circle contributor-img" src="{{ contributors[contributor].image_url }}" alt="Avatar of the contributor {{ stripped_name }}">
13
- {%- else %}
14
- <img class="img-fluid rounded-circle contributor-img" src="https://avatars.githubusercontent.com/{{ id }}" alt="Avatar of the contributor {{ stripped_name }}">
15
- {%- endif %}
16
- </div>
17
- <div class="d-flex mt-3 justify-content-center">
18
- {%- if contributors[contributor].git %}
19
- <div class="mx-1"><a class="btn btn-primary rounded-circle social-icons p-0" href="https://github.com/{{id}}"><i class="fa-brands fa-github"></i></a></div>
20
- {%- endif %}
21
- {%- if contributors[contributor].email %}
22
- <div class="mx-1"><a class="btn btn-primary rounded-circle social-icons p-0" href="mailto:{{contributors[contributor].email}}"><i class="fa-solid fa-envelope"></i></a></div>
23
- {%- endif %}
24
- {%- if contributors[contributor].orcid %}
25
- <div class="mx-1"><a class="btn btn-primary rounded-circle social-icons p-0" href="https://orcid.org/{{contributors[contributor].orcid}}"><i class="fa-brands fa-orcid"></i></a></div>
9
+ {%- assign stripped_name = contributor | replace: "'", "" %}
10
+ <div class="card bg-white">
11
+ {%- assign id = contributors[contributor].git | default: 'no_github' %}
12
+ <div class="position-relative d-flex justify-content-center">
13
+ {%- if contributors[contributor].image_url %}
14
+ <img src="{{ contributors[contributor].image_url }}" class="card-img-top p-3 rounded-circle contributor-img" alt="{{ stripped_name }}">
15
+ {%- else %}
16
+ <img src="https://avatars.githubusercontent.com/{{id}}" class="card-img-top p-3 rounded-circle contributor-img" alt="{{ stripped_name }}">
17
+ {%- endif %}
18
+ {%- if contributors[contributor].role %}
19
+ <span class="badge position-absolute top-0 end-0">{{ contributors[contributor].role | capitalize }}</span>
20
+ {%- endif %}
21
+ </div>
22
+ <div class="card-body text-center py-0">
23
+ <p class="card-title">{{ stripped_name }}</p>
24
+ {%- if contributors[contributor].affiliation %}
25
+ <p class="card-affiliation">{{ contributors[contributor].affiliation | replace: "'", "’" }}</p>
26
+ {%- endif %}
27
+ </div>
28
+ {%- if contributors[contributor].git or contributors[contributor].email or contributors[contributor].orcid %}
29
+ <div class="card-footer bg-dark">
30
+ <div class="d-flex justify-content-center">
31
+ {%- if contributors[contributor].git %}
32
+ <div class="mx-1"><a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="https://github.com/{{id}}"><i class="fa-brands fa-github"></i></a></div>
33
+ {%- endif %}
34
+ {%- if contributors[contributor].email %}
35
+ <div class="mx-1"><a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="mailto:{{contributors[contributor].email}}"><i class="fa-solid fa-envelope"></i></a></div>
36
+ {%- endif %}
37
+ {%- if contributors[contributor].orcid %}
38
+ <div class="mx-1"><a class="btn bg-white text-primary hover-primary rounded-circle social-icons p-0" href="https://orcid.org/{{contributors[contributor].orcid}}"><i class="fa-brands fa-orcid"></i></a></div>
39
+ {%- endif %}
40
+ </div>
41
+ </div>
26
42
  {%- endif %}
27
- </div>
43
+ </div>
28
44
  {%- endcapture %}
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}}">
45
+ <a tabindex="0" role="button" class="btn btn-sm contributor-link hover-primary m-1 position-relative" data-bs-html="true" data-bs-trigger="focus" data-bs-container="body" data-bs-template='<div class="popover shadow border-0 contributor-cards" role="tooltip"><div class="popover-body p-0"></div></div>' data-bs-toggle="popover" data-bs-placement="top" data-bs-content='{{html_code}}'>
30
46
  <div class="d-flex align-items-center">
31
47
  <div class="flex-shrink-0">
32
48
  {%- if contributors[contributor].image_url %}
data/assets/css/main.scss CHANGED
@@ -3,8 +3,8 @@ layout: none
3
3
  permalink: assets/css/main.css
4
4
  ---
5
5
  /*-----Default theme variables-----*/
6
+ $popover-max-width: 11em;
6
7
  $enable-caret: false;
7
-
8
8
  @import "bootstrap_variables";
9
9
  @import "bootstrap/bootstrap";
10
10
  @import "custom_variables";
@@ -496,6 +496,7 @@ footer {
496
496
  color: $primary;
497
497
  font-size: 0.8em;
498
498
  }
499
+
499
500
  }
500
501
  /*-----Contributors carousel-----*/
501
502
 
@@ -572,7 +573,7 @@ footer {
572
573
  left: 0;
573
574
  width: 100%;
574
575
  margin: 0 !important;
575
- z-index: 999;
576
+ z-index: 1071;
576
577
  opacity: 0;
577
578
  visibility: hidden;
578
579
  transform: translateY(100%);
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.15.0
4
+ version: 1.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - bedroesb
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-25 00:00:00.000000000 Z
11
+ date: 2022-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll