Skip to content

Commit

Permalink
Update to ELIXIR Toolkit Theme 3.1.1 (#336)
Browse files Browse the repository at this point in the history
* move to latest version

* index btn update
  • Loading branch information
bedroesb authored Aug 13, 2024
1 parent 417c72e commit 787a41b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 23 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Infectious Diseases Toolkit
description: "Find tools and guidelines to help you access, analyse and share infectious disease data, and respond quickly to disease outbreaks."
# Metadata description of the website

remote_theme: ELIXIR-Belgium/elixir-toolkit-theme@3.0.0
remote_theme: ELIXIR-Belgium/elixir-toolkit-theme@3.1.1

gtag: G-TNT17YGXQ4

Expand Down
21 changes: 0 additions & 21 deletions _sass/_custom_classes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -309,24 +309,3 @@ section#search-section {
}
}

/*-----Accordion styles-----*/

// Add a bottom border to the last accordion.
a.info-collapse[aria-expanded="false"]:last-of-type,
a.info-collapse[aria-expanded="true"]:last-of-type + .show {
border-bottom: 1px solid $border-color;
}

// Remove border hover effect.
.info-collapse:hover, .info-collapse[aria-expanded="true"] {
border-color: $border-color !important;
}

// Add hover effect to accordion header text.
a.info-collapse h3 {
transition: color .2s ease-in-out;
}

a.info-collapse:hover h3 {
color: rgba($link-color, .8) !important;
}
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ <h2>We welcome contributors!</h2>
</section>
</div>
{%- if site.theme_variables.back_to_top or site.theme_variables.back_to_top == nil %}
<button id="back-to-top" class="btn btn-primary" type="button" aria-hidden="true" onclick="topFunction()">
<button id="back-to-top" class="btn btn-primary btn-sm rounded-pill" type="button" aria-hidden="true" onclick="topFunction()">
<i class="fa-solid fa-arrow-up"></i>
</button>
{%- endif %}
Expand Down

0 comments on commit 787a41b

Please sign in to comment.