-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adjusted the homepage and header to better define the website as a developer hub. * Completed minor changes to the homepage based on feedback from Kate.
- Loading branch information
1 parent
9dc181a
commit 4760af7
Showing
7 changed files
with
30 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
<img src="{{ relURL "img/FR-logo-automation.png" }}" alt="FedRAMP Automation" width="1804" height="421" style="width: auto; height: 3rem" /> | ||
<a class="usa-logo__text site-logo__text" href="{{ urls.Ref .Page "/" | relURL }}" title="{{ .Site.Params.header.project_name }}" aria-label="Home"> | ||
<img src="{{ relURL "img/fedramp-logo-square-standard.png" }}" alt="FedRAMP Developer Hub" width="1804" height="421" style="width: auto; height: 3rem" /><span> Developer Hub</span> | ||
</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.usa-hero__callout { | ||
max-width: 30rem; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,97 +1,12 @@ | ||
/* | ||
.site-header .site-logo__text::before { | ||
height: 842px; | ||
object-fit: fill; | ||
alt: 'FedRAMP'; | ||
content: ""; | ||
background-image: url(/img/fedramp-logo-square-standard.png); | ||
background-repeat: no-repeat; | ||
background-size: 100% auto; | ||
display: inline-block; | ||
margin-left: -2px; | ||
margin-right: .25rem; | ||
position: relative; | ||
top: -1px; | ||
vertical-align: middle; | ||
} | ||
*/ | ||
/* ---- Cookie Notice ---- */ | ||
|
||
.cookie-accept-container { | ||
float: right; | ||
width: 25%; | ||
text-align: right; | ||
top: 6px; | ||
position: relative; | ||
} | ||
|
||
#cookie-notice a#cookie-notice-accept { | ||
border: solid 1px $dark-gray; | ||
color: $dark-gray; | ||
padding: 10px 24px 8px 24px; | ||
border-radius: 20px; | ||
text-transform: uppercase; | ||
font-weight: 800; | ||
font-size: 0.875rem; | ||
|
||
&:hover { | ||
opacity: .9; | ||
} | ||
|
||
} | ||
|
||
.cookie-container { | ||
max-width: 1200px; | ||
text-align: left; | ||
margin: auto; | ||
font-size: 0.875rem; | ||
} | ||
|
||
.cookie-container div.cookie-text { | ||
position: relative; | ||
float: left; | ||
width: 75%; | ||
} | ||
|
||
.cookie-notice { | ||
|
||
} | ||
|
||
|
||
#cookie-notice { | ||
padding: 1rem; | ||
display: none; | ||
text-align: center; | ||
position: fixed; | ||
bottom: 0; | ||
width: 100%; | ||
background: $lightest-gray; | ||
color: $dark-gray; | ||
margin: auto; | ||
} | ||
#cookie-notice a { | ||
display: inline-block; | ||
cursor: pointer; | ||
color: $dark-gray; | ||
.usa-in-page-nav__list a:not(.usa-button) { | ||
padding: 0.25rem 1rem !important; | ||
} | ||
|
||
@media (max-width: 767px) { | ||
#cookie-notice div {display: block; padding-top: 3px; margin-bottom: 1rem;} | ||
#cookie-notice a {position: relative;} | ||
|
||
.cookie-container div.cookie-text { | ||
top: 0px; | ||
float: none; | ||
width: 100%; | ||
} | ||
|
||
.cookie-accept-container { | ||
float: none; | ||
width: 100%; | ||
text-align: left; | ||
} | ||
.site-header.usa-header--extended .site-logo__text { | ||
display:flex; | ||
align-items:center; | ||
} | ||
|
||
.usa-in-page-nav__list a:not(.usa-button) { | ||
padding: 0.25rem 1rem !important; | ||
.site-header.usa-header--extended .site-logo__text { | ||
display:flex; | ||
align-items:center; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Submodule uswds-hugo
updated
3 files
+1 −1 | .github/dependabot.yml | |
+1 −5 | layouts/partials/components/usa-header-extended.html | |
+6 −2 | layouts/partials/header-logo.html |