Skip to content

Commit

Permalink
Merge pull request #313 from DSACMS/fix-main-title
Browse files Browse the repository at this point in the history
Fix Metrics Title
  • Loading branch information
DinneK authored Jan 31, 2025
2 parents 5bb0684 + b4c10cf commit 01513ef
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 16 deletions.
11 changes: 5 additions & 6 deletions app/site/_includes/nav.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@
<div class="usa-nav-bar">
<div class="title">
<img src="{{ "/assets/img/cms-logo.jpg" | url }}" class="logo" alt="CMS Logo">
<h1>Metrics Website</h1>
</div>
<div class="usa-logo">
<em class="usa-logo__text">
<a href="{{ "/" | url}}" title="{{site.title}}">{{ site.title }}</a>
</em>
<div class="usa-logo">
<em class="usa-logo__text">
<a href="{{ "/" | url}}" title="{{site.title}}">Open Source Respository Metrics Website</a>
</em>
</div>
</div>
</div>
<nav aria-label="Primary navigation" class="usa-nav nav-styling">
Expand Down
18 changes: 8 additions & 10 deletions app/src/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ h1 {
margin-right: 10px;
}

.usa-logo {
font-size: 1.5em;
margin: 1% 0 1% 0;
.usa-logo a {
color: #043884;
font-size: 1.1em;
}

.usa-nav__primary-item {
Expand Down Expand Up @@ -692,13 +692,9 @@ iframe:focus, [href]:focus, [tabindex]:focus, [contentEditable=true]:focus {
}

@media screen and (min-width: 768px) {
h1 {
font-size: 1.9em;
margin: 3% 2% 0 2%;
}

.logo {
width: 120px;
height: 50px;
width: auto;
}

.dashboard-container {
Expand Down Expand Up @@ -745,5 +741,7 @@ iframe:focus, [href]:focus, [tabindex]:focus, [contentEditable=true]:focus {
}

@media screen and (min-width: 1024px) {

.usa-logo a{
font-size: 1.5em;
}
}

0 comments on commit 01513ef

Please sign in to comment.