Skip to content

Commit

Permalink
🎨 (#386): Experimenting with the button looks
Browse files Browse the repository at this point in the history
  • Loading branch information
KAUR1984 committed Jul 18, 2023
1 parent 6f4ebbb commit f32abf7
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
Binary file modified docs/assets/ACCESS-Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 15 additions & 1 deletion docs/css/access-nri.css
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,14 @@ h3 {
/* ===============================================================
Community Forum Button
*/
.flex-container {
display: flex;
justify-content: center;
align-items: center;
align-content: center;
gap: 0.6em;
}

.header-btn {
/* color: var(--nri-orange); */
border-radius: 0.3em;
Expand All @@ -328,6 +336,7 @@ h3 {
font-weight: 500;
transition: background-color 0.5s;
margin: 0 0.1em 0 1em;
height: 1.8rem;
}

.header-btn:hover {
Expand All @@ -346,7 +355,12 @@ h3 {
}

.nri-green-border {
border-color: var(--nri-green);
border-color: var(--nri-dark-blue);
}

.icon-image {
height: 1.3em;
width: auto;
}

/* ===============================================================
Expand Down
11 changes: 6 additions & 5 deletions overrides/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,15 @@
{% include "partials/search.html" %}
{% endif %}
<a href="https://forum.access-hive.org.au/" target="_blank">
<div class="header-btn nri-orange-border large-text bold">
Hive Forum
<div class="flex-container header-btn nri-orange-border large-text bold">
<i class="fa-regular fa-earth-americas"></i>
<span>Hive Forum</span>
</div>
</a>
<a href="https://forum.access-hive.org.au/" target="_blank">
<div class="header-btn nri-green-border large-text bold">
<img src="../../../docs/assets/ACCESS-Logo.png">
ACCESS-NRI
<div class="flex-container header-btn nri-green-border large-text bold">
<img src="../assets/ACCESS-Logo.png" class="icon-image">
<span>ACCESS-NRI</span>
</div>
</a>
{% if config.repo_url %}
Expand Down

0 comments on commit f32abf7

Please sign in to comment.