Skip to content

Commit

Permalink
Ran linting and prettier on files
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-mon1 committed Dec 29, 2023
1 parent ff8e20e commit 2b7ff21
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 21 deletions.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head>
<title>analytics.usa.gov | 404</title>
Expand Down
9 changes: 3 additions & 6 deletions sass/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
*/

footer {
background-color: color("gray-4");
border-top: units("1px") solid color("gray-10");
padding: units(3) 0;
background-color: color("gray-4");

@include at-media("desktop") {
padding: units(6) 0;
Expand All @@ -19,28 +19,25 @@ footer {
}

.logo-links {
float: left;
margin-bottom: 0rem;
margin-right: 2rem;
float: left;
}

img {
width: 3.2rem;
}

img.github-icon {
width: 1.4rem !important;
vertical-align: text-bottom !important;
width: 1.4rem !important;
}

p {
font-size: 1.15rem;
line-height: 0.75;
margin-top: units(2) 0;

&:first-of-type {
}

@include at-media("desktop") {
font-size: 1.3rem;
}
Expand Down
24 changes: 12 additions & 12 deletions sass/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
margin: 0;

@include at-media("tablet-lg") {
margin: 0 units(3) 0 0;
line-height: units(10);
font-size: size('sans', '2xl');
line-height: units(10);
margin: 0 units(3) 0 0;
}

strong {
Expand All @@ -53,11 +53,11 @@


.analytics-select {
width: 100%;
order: 4;
width: 100%;
@include at-media("desktop") {
width: 50%;
order: 2;
width: 50%;
}

// hide label needed for accessibility
Expand All @@ -72,20 +72,20 @@
}

#analytics-agency-select {

background-color: color("blue-50");
background-image: url("../css/img/arrow-down.png");
background-image: url("../css/img/arrow-down.svg");
border: units(1px) solid color("gray-1");
color: color("blue-80v");
color: color("gray-1");
font-size: size('sans', 'sm');
font-weight: font-weight(600);
height: auto;
max-width: none; // USWDS override
vertical-align: middle;
width: 100%;

background-color: color("blue-50");
background-image: url("../css/img/arrow-down.png");
background-image: url("../css/img/arrow-down.svg");
border: units(1px) solid color("gray-1");
color: color("gray-1");

@include at-media("tablet-lg") {
font-size: size('sans', 'lg');
}
Expand All @@ -94,15 +94,15 @@


nav.links {
align-items: flex-end;
display: flex;
flex-direction: row;
align-items: flex-end;
flex-grow: 3;
font-size: size('sans', 'md');
justify-content: flex-end;
list-style: none;
margin-bottom: 0;
order: 3;
justify-content: flex-end;

@include at-media("desktop") {
flex-direction: column;
Expand Down
2 changes: 0 additions & 2 deletions sass/_uswds-overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@
font-size: size("sans", "md");
}
}

.usa-button:first-child {

@include at-media-max('tablet') {
margin-bottom: units(1);
}
Expand Down

0 comments on commit 2b7ff21

Please sign in to comment.