Skip to content

Commit

Permalink
Use cool gray for version number
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisaloo committed Nov 13, 2023
1 parent cf2122c commit 9c6ce50
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions inst/pkgdown/extra.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
color: #fff;
}

.version-number {
color: #888 !important;
}

.navbar > .container {
align-items: center;
-webkit-align-items: center;
Expand Down
2 changes: 1 addition & 1 deletion inst/pkgdown/templates/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<a href="https://epiverse-trace.github.io/"><img src="{{#site}}{{root}}{{/site}}logo_white.svg" id="logo" alt="Epiverse-TRACE"></a>
<a class="navbar-brand me-2" href="{{#site}}{{root}}{{/site}}index.html">{{#site}}{{title}}{{/site}}</a>

<small class="nav-text {{#development}}text-{{version_label}}{{/development}} me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{#development}}{{version_tooltip}}{{/development}}">{{#package}}{{version}}{{/package}}</small>
<small class="nav-text {{#development}}text-{{version_label}}{{/development}} me-auto version-number" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{#development}}{{version_tooltip}}{{/development}}">{{#package}}{{version}}{{/package}}</small>

{{#includes}}{{{before_navbar}}}{{/includes}}
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="{{#translate}}{{toggle_nav}}{{/translate}}">
Expand Down

0 comments on commit 9c6ce50

Please sign in to comment.