Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix styles link #3956

Merged
merged 4 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 89 additions & 11 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,93 @@
<footer class="usa-footer site-footer" role="contentinfo">
<div class="footer-section-bottom bg-base-darker">
<div class="grid-container">
<div class="grid-row">
<div class="grid-col usa-dark-background">
<p class="margin-bottom-0 text-white">This project is maintained by <a class="usa-link text-primary-dark" href="https://18f.gsa.gov/">18F</a></p>
<p class="margin-bottom-0 margin-top-05 text-white">Learn more about our <a class="usa-link text-primary-dark" href="https://18f.gsa.gov/linking-policy/">Linking Policy</a></p>
<p class="margin-top-05 text-white">Have questions or would like to contact us? Email us at <a class="usa-link text-primary-dark" href="mailto:18f@gsa.gov">18F@gsa.gov</a></p>
</div>
<footer>
<div class="grid-container padding-y-6">
{% unless page.hide_footer_rule %}
<hr class="hr-1-dark footer-hr-alignment">
{% endunless %}
<div class="grid-row grid-gap">
<div class="tablet:grid-col-3">
<img src="{{ site.baseurl }}/assets/img/logos/18f-logo.svg"
class="maxw-5"
alt="18F logo"
>
<p>
Work with us to plan successful projects, choose better vendors, build custom
software, or learn how to work in new ways.
</p>
<a href="{{ site.baseurl }}/contact/"
class="usa-button an18f-button--dark"
>
Contact us
</a>
</div>

<div class="tablet:grid-offset-1 tablet:grid-col-2">
<h2 class="font-heading-md text-medium margin-top-4 tablet:margin-top-0 margin-bottom-2 tablet:margin-bottom-4">
Pages
</h2>
<ul class="usa-list usa-list--unstyled font-sans-sm list-item-spacing-2">
{% for item in site.data.navigation.primary %}
<li> <a href="{{ site.baseurl }}{{ item.href }}"> {{item.text}} </a> </li>
{% endfor %}
</ul>
</div>

<div class="tablet:grid-col-2">
<h2 class="font-heading-md text-medium margin-top-4 tablet:margin-top-0 margin-bottom-2 tablet:margin-bottom-4">
Policies
</h2>
<ul class="usa-list usa-list--unstyled font-sans-sm list-item-spacing-2">
<li><a href="{{ site.baseurl }}/linking-policy/"> Linking policy </a></li>
<li><a href="{{ site.baseurl }}/open-source-policy/"> Open source policy </a></li>
<li><a href="{{ site.baseurl }}/vulnerability-disclosure-policy/"> Vulnerability disclosure </a></li>
<li><a href="{{ site.baseurl }}/code-of-conduct/"> Code of conduct </a></li>
</ul>
</div>

<div class="tablet:grid-col-2">
<h2 class="font-heading-md text-medium margin-top-4 tablet:margin-top-0 margin-bottom-2 tablet:margin-bottom-4">
Contact
</h2>
<ul class="usa-list usa-list--unstyled font-sans-sm list-item-spacing-2">
<li><a href="{{ site.baseurl }}/contact/"> Get in touch </a></li>
<li><a href="{{ site.baseurl }}/about/#for-press"> Press </a></li>
<li><a href="https://github.com/18F/18f.gsa.gov/issues/new"> Report a bug </a></li>
<li><a href="{{ site.baseurl }}/join/"> Join 18F </a></li>
</ul>
</div>

<div class="tablet:grid-col-2">
<h2 class="font-heading-md text-medium margin-top-4 tablet:margin-top-0 margin-bottom-2 tablet:margin-bottom-4">
Social
</h2>
<ul class="usa-list usa-list--unstyled font-sans-sm list-item-spacing-2">
<li class="display-flex flex-align-center">
<a href="https://github.com/18F">
<img src="{{ site.baseurl }}/assets/img/social-icons/svg/github-dark-2.svg"
class="maxw-205 margin-right-1 text-tbottom"
alt=""
>GitHub
</a>
</li>
<li>
<a href="https://twitter.com/18F">
<img src="{{ site.baseurl }}/assets/img/social-icons/svg/twitter-dark.svg"
class="maxw-205 margin-right-1"
alt=""
>Twitter
</a>
</li>
<li>
<a href="https://www.linkedin.com/company/gsa18f/">
<img src="{{ site.baseurl }}/assets/img/social-icons/svg/linkedin-dark.svg"
class="maxw-205 margin-right-1"
alt=""
>LinkedIn
</a>
</li>
</ul>
</div>
</div>
</div>
</footer>

{% include "usa_identifier.html" %}
{% include "usa_identifier.html" %}
</footer>
2 changes: 1 addition & 1 deletion _includes/usa_identifier.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="usa-identifier">
<div class="usa-identifier padding-top-2">
<section class="usa-identifier__section usa-identifier__section--masthead" aria-label="Agency identifier">
<div class="usa-identifier__container">
<div class="usa-identifier__logos">
Expand Down
26 changes: 0 additions & 26 deletions _sass/styles.scss

This file was deleted.

93 changes: 0 additions & 93 deletions _sass/uswds-theme-settings.scss

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@use 'uswds-core' as *;

// 18F site components
@use 'variables.scss' as *;
@use '../abstracts/variables.scss' as *;

h1 {
@include u-text('normal');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use 'brand-colors' as *;
@use '../abstracts/brand-colors' as *;
@use 'uswds-core' as * with (

/*---------------------------------------------------------
Expand All @@ -12,16 +12,32 @@
/*---------------------------------------------------------
# Global Settings
----------------------------------------------------------*/
$theme-global-link-styles: true,



/*---------------------------------------------------------
# Typography Settings
----------------------------------------------------------*/
$theme-font-type-sans: 'helvetica',
$theme-respect-user-font-size: false,

$theme-root-font-size: 18px,

$theme-global-paragraph-styles: true,
$theme-global-link-styles: true,
$theme-global-content-styles: true,

$theme-font-type-sans: "helvetica",

$theme-font-role-heading: 'sans',
$theme-body-font-size: 'md',
$theme-font-weight-semibold: 700,
$theme-font-role-alt: 'sans',

$theme-type-scale-md: 7,
$theme-type-scale-xl: 11,

$theme-font-weight-medium: 500,

$theme-body-font-size: 'lg',
$theme-h1-font-size: '3xl',


/*---------------------------------------------------------
Expand Down Expand Up @@ -63,6 +79,22 @@
/*---------------------------------------------------------
# Component Settings
----------------------------------------------------------*/
$theme-banner-max-width: 'desktop-lg',
$theme-breadcrumb-background-color: 'white',

$theme-card-border-radius: 'md',
$theme-card-border-width: 0,
$theme-card-gap: 3,


$theme-header-max-width: 'desktop-lg',

$theme-identifier-max-width: 'desktop-lg',

/*---------------------------------------------------------
# Spacing Settings
----------------------------------------------------------*/
$theme-grid-container-max-width: 'desktop-lg',

/*------------------------------------------------
## Header width
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use 'uswds-core' as *;
@use "variables.scss" as *;
@use "../abstracts/variables.scss" as *;

.border-top-05-primary-dark {
border-top: units(0.5) solid color('primary-dark');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Custom button style
@use 'uswds-core' as *;
@use 'variables.scss' as *;
@use '../abstracts/variables.scss' as *;

.an18f-button--accent {
background-color: color('primary-lightest');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use 'uswds-core' as *;
@use 'variables.scss' as *;
@use '../abstracts/variables.scss' as *;

.card-with-image-guides {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use 'uswds-core' as *;
@use 'variables.scss' as *;
@use '../abstracts/variables.scss' as *;

.card-with-image {

Expand Down
File renamed without changes.
Loading
Loading