Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bedroesb committed Aug 22, 2023
1 parent d3f194a commit 7acfdc4
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 13 deletions.
4 changes: 2 additions & 2 deletions _includes/related-pages.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ <h2>Related pages</h2>
<div class="card h-100">
<div class="card-body d-flex gap-3">
<div class="w-100">
<a class="stretched-link" aria-label="Go to the {{page_hit.title}} page" href="{{ page_hit.url | relative_url }}">
<b class="card-title">{{page_hit.title}}</b>
<a class="stretched-link section-title" aria-label="Go to the {{page_hit.title}} page" href="{{ page_hit.url | relative_url }}">
<b>{{page_hit.title}}</b>
</a>
{%- if page_hit.description %}
<p class="card-text">{{ page_hit.description}}</p>
Expand Down
2 changes: 1 addition & 1 deletion _includes/section-navigation-tiles-simple.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{%- if current_page.title and current_page.search_exclude != true and current_page.type == include.type %}
{%- unless except contains current_page.name %}
<div class="col d-grid">
<a role="button" class="btn py-4 fs-3" href="{{ current_page.url | relative_url }}">{{current_page.title}}{% if current_page.country_code %}<span class="flag-icon shadow-sm ms-3 flag-icon-{{current_page.country_code | downcase }}"></span>{% endif %}</a>
<a role="button" class="btn py-4 fs-3 section-title" href="{{ current_page.url | relative_url }}">{{current_page.title}}{% if current_page.country_code %}<span class="flag-icon shadow-sm ms-3 flag-icon-{{current_page.country_code | downcase }}"></span>{% endif %}</a>
</div>
{% endunless %}
{%- endif %}
Expand Down
4 changes: 2 additions & 2 deletions _includes/section-navigation-tiles.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@
<div class="card h-100">
<div class="card-body d-flex gap-3">
<div class="w-100">
<a class="stretched-link" aria-label="Go to the {{current_page.title}} page" href="{{ current_page.url | relative_url }}">
<b class="card-title">{{current_page.title}}</b>
<a class="stretched-link section-title" aria-label="Go to the {{current_page.title}} page" href="{{ current_page.url | relative_url }}">
<b>{{current_page.title}}</b>
</a>
{%- if current_page.description %}
<p class="card-text">{{ current_page.description}}</p>
Expand Down
20 changes: 12 additions & 8 deletions assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,9 @@ footer {
z-index: 1000;
font-size: 21px;
padding: 12px 20px;
transition: bottom 0.15s ease-out, opacity 0.15s ease-out;
transition:
bottom 0.15s ease-out,
opacity 0.15s ease-out;

&.visible {
bottom: $spacer;
Expand Down Expand Up @@ -904,28 +906,30 @@ li.past_event,
/*-----Section navigation tiles-----*/

.navigation-tiles {
.card, .btn{
.card,
.btn {
background-color: $nav-card-bg;
&:hover {
background-color: $nav-card-bg-hover;
transition: $btn-transition;
color: $nav-card-color-hover;
a.section-title {
text-decoration: none;
transition: $btn-transition;
color: $nav-card-color-hover;
}
}

a {
color: $nav-card-header-color;

&:not(.stretched-link),
button:not(.stretched-link) {
z-index: 2;
position: relative;
}

padding-bottom: 0;
&:hover {
text-decoration: none;
transition: $btn-transition;
color: $nav-card-color-hover;
&.section-title {
color: $nav-card-header-color;
}
}
.type-icon {
Expand Down

0 comments on commit 7acfdc4

Please sign in to comment.