Skip to content

Commit 980325d

Browse files
committed
Design clean-up
1 parent c7ff62a commit 980325d

39 files changed

+60
-104
lines changed

_includes/footer.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@
2222
</footer>
2323
</div>
2424
<a
25-
href="feedback.html"
25+
href="/feedback"
2626
id="feedback-button"
2727
aria-label="Feedback"
2828
class="feedback"
2929
style="">
30+
<i class="fa-regular fa-lightbulb"></i>
3031
Feedback
3132
</a>
3233

_includes/jumbotron.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ <h1 id="jumbotron-title" class="display-5 mb-3">{{ page.hero-title }}</h1>
6767
<div class="pt-5 pb-4 mb-5 border-bottom">
6868
<div class="container">
6969
<div class="row">
70-
<div class="col-12 col-sm-12 col-md-2 col-lg-2 col-xl-2"></div>
71-
<div class="col-12 col-sm-12 col-md-8 col-lg-8 col-xl-8">
70+
<div class="col-12 col-sm-12 col-md-1 col-lg-1 col-xl-1"></div>
71+
<div class="col-12 col-sm-12 col-md-10 col-lg-10 col-xl-10">
7272
{% if page.title %}
7373
<h1 class="display-5">{{ page.title }}</h1>
7474
{% endif %}
@@ -77,7 +77,7 @@ <h1 class="display-5">{{ page.title }}</h1>
7777
{% endif %}
7878
</div>
7979
</div>
80-
<div class="col-12 col-sm-12 col-md-2 col-lg-2 col-xl-2"></div>
80+
<div class="col-12 col-sm-12 col-md-1 col-lg-1 col-xl-1"></div>
8181
</div>
8282
</div>
8383
{% elsif page.layout == "docs" %}

_includes/toc.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88
{% assign id = chapter | split: 'id="' %}
99
{% assign id = id[1] | split: '"' %}
1010
{% assign id = id[0] %}
11+
{% assign level = chapter | slice: 0, 1 %}
1112
{% assign title = chapter | split: '>' %}
1213
{% assign title = title[1] | split: '</h' %}
1314
{% assign title = title[0] %}
14-
<li class="mb-1 small">
15+
<li class="mb-2 small {% if level == '3' %}ms-3{% endif %}">
1516
<a href="#{{ id }}">{{ title }}</a>
1617
</li>
1718
{% endif %}

_layouts/cards.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ <h2 class="h4 mb-3">
2222
</a>
2323
</h2>
2424
</div>
25-
<div class="card-footer text-muted">
25+
<div class="card-footer text-muted small">
2626
{{ item.source }}
2727
</div>
2828
</div>
@@ -38,7 +38,7 @@ <h2 class="h3 mb-3">
3838
</h2>
3939
<p class="card-text">{{ item.description }}</p>
4040
</div>
41-
<div class="card-footer text-muted">
41+
<div class="card-footer text-muted small">
4242
{% include date.html %}
4343
</div>
4444
</div>

_pages/brand.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ keywords:
1313

1414
## Fonts
1515

16-
- Logo ([JetBrains Mono](https://www.jetbrains.com/lp/mono/))
17-
- Content ([Noto Sans](https://fonts.google.com/noto/specimen/Noto+Sans))
16+
- Logo/content ([Public Sans](https://public-sans.digital.gov/))
17+
- Code ([JetBrains Mono](https://www.jetbrains.com/lp/mono/))
1818

1919
## Colors
2020

21-
- Black: #000000
21+
- Black: #13171f
2222
- White: #ffffff
2323
- Green: #70e17b
2424

_pages/feedback.md

+2
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ description: "Give ScanGov feedback."
66
keywords:
77
---
88

9+
- [Web form](https://docs.google.com/forms/d/e/1FAIpQLSeKiSG0f07leAwW1QqIMSoDIgTA92m0jVy6NADtiaoPhg4rww/viewform?usp=sharing)
10+
- `#feedback` channel in the [ScanGov Discord](https://discord.gg/EPCXEMAX5y)
911
- [Submit a GitHub issue](https://github.com/ScanGov/docs/issues)

_pages/https-hsts.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ Example government websites with HTTPS:
3939
Services](https://www.whitehouse.gov/wp-content/uploads/legacy_drupal_files/omb/memoranda/2015/m-15-13.pdf)
4040

4141
## HTTP Strict Transport Security (HSTS)
42-
43-
### About
4442

4543
### Guidance
4644

@@ -54,6 +52,8 @@ All government websites must have HSTS.
5452

5553
> The policy should be deployed at https://domain.gov, not https://www.domain.gov.
5654
55+
### About
56+
5757
HSTS is a security feature that:
5858

5959
- Forces web browsers to use HTTPS instead of HTTP.

_pages/robots.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,4 @@ X-Robots-Tag: index, follow
8686
- [robotstxt.org](https://www.robotstxt.org)
8787
- [robots.txt](https://search.gov/indexing/robotstxt.html) (Search.gov)
8888
- [robots.txt](https://en.wikipedia.org/wiki/Robots.txt) (Wikipedia)
89-
- [Meta tag and HTTP response](https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag) (Google)
89+
- [Robots Meta Tags Specifications](https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag) (Google)

_pages/sitemap.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ icon: "fa-solid fa-sitemap"
66
keywords: sitemap, grades, scores
77
---
88

9+
## Guidance
10+
11+
All government websites must have a sitemap.
12+
913
## About
1014

1115
A sitemap is a file that lists all of the pages on a website in addition to information about each so that search engines can more intelligently crawl the site.
@@ -18,10 +22,6 @@ The sitemap is an Extensible Markup Language (XML) file on the website’s root
1822
* how often it usually changes
1923
* how important it is, relative to other URLs in the site
2024

21-
## Guidance
22-
23-
All government websites must have a sitemap.
24-
2525
## Examples
2626

2727
Example government website sitemaps:

_pages/stld.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ icon: "fa-solid fa-landmark-dome"
66
keywords: url, stld
77
---
88

9+
## Guidance
10+
11+
All government websites must have a `.gov` / `.edu` / `.mil` sTLD.
12+
913
## About
1014

1115
Generic top-level domains (gTLD) (`.com`, `.org`, etc.) are non-country extensions that indicate the purpose or source of the website.
@@ -14,10 +18,6 @@ Sponsored top-level domains (sTLD) (`.gov` / `.edu` / `.mil`) are a subgroup of
1418

1519
A `.gov` / `.edu` / `.mil` extension verifies that the website is managed by a United States government organization (federal, state, local). Government non-.gov gTLDs can potentially confuse users and create opportunities for non-government entities to spoof official government services. Adopting the `.gov` / `.edu` / `.mil` extension ensures users are visiting an official government website.
1620

17-
## Guidance
18-
19-
All government websites must have a `.gov` / `.edu` / `.mil` sTLD.
20-
2121
## Examples
2222

2323
Example of government websites with a `.gov` sTLD:

_pages/x-content-type-options.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ icon: "fa-solid fa-file-code"
66
keywords: grades, scores
77
---
88

9+
## Guidance
10+
11+
All government websites must have `X-Content-Type-Options` designated.
12+
913
## About
1014

1115
`X-Content-Type-Options` is a security header that:
@@ -14,10 +18,6 @@ keywords: grades, scores
1418
- Ensures content is rendered as declared (e.g., no misinterpretation of file types).
1519
- Stops browsers from guessing content types, enhancing security.
1620

17-
## Guidance
18-
19-
All government websites must have `X-Content-Type-Options` designated.
20-
2121
## Code
2222

2323
Example header:

assets/.DS_Store

0 Bytes
Binary file not shown.

assets/brand/.DS_Store

6 KB
Binary file not shown.

assets/brand/Header - LinkedIn.png

4.04 KB
Loading

assets/brand/avatar-dark.png

513 Bytes
Loading

assets/brand/avatar-dark.svg

-10
This file was deleted.

assets/brand/avatar-light.png

536 Bytes
Loading

assets/brand/avatar-light.svg

-9
This file was deleted.

assets/brand/avatar-og.png

15.3 KB
Loading

assets/brand/avatar-transparent-dark.svg

-8
This file was deleted.
1.88 KB
Loading

assets/brand/avatar-transparent-light.svg

-8
This file was deleted.

assets/brand/avatar-twitter.png

15.6 KB
Loading

assets/brand/google-forms-header.png

13.3 KB
Loading

assets/brand/logo-dark.png

12.6 KB
Loading

0 commit comments

Comments
 (0)