Skip to content

Commit 0f2c9f0

Browse files
committed
Content + CSS updates
1 parent b0e8702 commit 0f2c9f0

15 files changed

+140
-83
lines changed

.DS_Store

0 Bytes
Binary file not shown.

_includes/audio.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<h2 class="h4 my-0 py-3">Listen
44
<i class="fa-solid fa-volume-high" aria-hidden="true"></i>
55
</h2>
6-
<p class="pb-0 small text-body-secondary mb-0 pb-3">A podcast overview of
6+
<p class="pb-0 small text-secondary mb-0 pb-3">A podcast overview of
77
{% if page.lowercase == true %}
88
{{ page.title | downcase }}
99
{% else %}

_includes/header.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
<![endif]-->
8282
</head>
8383

84-
<body class="{{ page.layout }}" data-bs-theme="dark">
84+
<body class="{{ page.layout }}" data-bs-theme="">
8585
<a class="sr-only sr-only-focusable skip-link" href="#main-content">
8686
Skip to main content
8787
</a>

_includes/nav.html

+16-3
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,22 @@
5353
</li>
5454
{% endif %}
5555
{% endfor %}
56-
<!--
57-
<li class="nav-item me-3 me-lg-0" id="toggle-theme"> <a class="nav-item nav-link mx-1" href="javascript:void(0)" onclick=" localStorage.setItem('theme', document.body.getAttribute('data-bs-theme') == 'light' ? 'dark' : 'light'); document.body.setAttribute('data-bs-theme', document.body.getAttribute('data-bs-theme') == 'light' ? 'dark' : 'light'); document.querySelector('#toggle-theme img').src = '/assets/img/' + (document.body.getAttribute('data-bs-theme') == 'light' ? 'moon' : 'sun') + '.svg'; "> <img id="theme-icon" src="/assets/img/sun.svg" alt="Toggle theme" style="width: 1rem;"> <script> let colorTheme = localStorage.getItem('theme'); if (colorTheme) { document.body.setAttribute('data-bs-theme', colorTheme); document.querySelector('#toggle-theme img').src = '/assets/img/' + (colorTheme == 'light' ? 'moon' : 'sun') + '.svg'; } </script> Mode </a></li>
58-
-->
56+
<li class="nav-item me-3 me-lg-0" id="toggle-theme">
57+
<a
58+
class="nav-item nav-link mx-1"
59+
href="javascript:void(0)"
60+
onclick=" localStorage.setItem('theme', document.body.getAttribute('data-bs-theme') == 'light' ? 'dark' : 'light'); document.body.setAttribute('data-bs-theme', document.body.getAttribute('data-bs-theme') == 'light' ? 'dark' : 'light'); document.querySelector('#toggle-theme img').src = '/assets/img/' + (document.body.getAttribute('data-bs-theme') == 'light' ? 'moon' : 'sun') + '.svg'; ">
61+
<img
62+
id="theme-icon"
63+
src="/assets/img/sun.svg"
64+
alt="Toggle theme"
65+
style="width: 1rem;">
66+
<script>
67+
let colorTheme = localStorage.getItem('theme'); if (colorTheme) { document.body.setAttribute('data-bs-theme', colorTheme); document.querySelector('#toggle-theme img').src = '/assets/img/' + (colorTheme == 'light' ? 'moon' : 'sun') + '.svg'; }
68+
</script>
69+
Mode
70+
</a>
71+
</li>
5972
</ul>
6073
</div>
6174
</div>

_includes/search-lunr.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<div class="mb-3">
1717
<label for="lunrsearch" class="form-label visually-hidden">Search ScanGov Docs</label>
1818
<div class="input-group input-group-lg">
19-
<input style="color: var(--bs-body-color)" type="text" class="form-control shadow" id="lunrsearch" name="q" maxlength="255" value="" placeholder="search ScanGov Docs" required>
19+
<input type="text" class="form-control shadow" id="lunrsearch" name="q" maxlength="255" value="" placeholder="search ScanGov Docs" required>
2020
<button type="submit" class="btn btn-primary">Go</button>
2121
<div class="invalid-feedback">
2222
Please enter a search term.

_includes/standards.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% if page.layout == "guidance" %}
2-
<div class="border mb-3 px-5 py-4 shadow">
2+
<div class="border mb-4 px-5 py-4 shadow">
33
<h2 class="m-0 p-0 h5">About
44
<i class="fa-solid fa-trophy" aria-hidden="true"></i>
55
</h2>
@@ -9,7 +9,7 @@ <h2 class="m-0 p-0 h5">About
99
</p>
1010
</div>
1111
{% else %}
12-
<div class="border mb-3 px-5 py-4 shadow">
12+
<div class="border mb-4 px-5 py-4 shadow">
1313
<h2 class="m-0 p-0 h5">About
1414
<i class="fa-solid fa-certificate" aria-hidden="true"></i>
1515
</h2>

_layouts/guidance.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<div class="row">
1515
<div class="col-12">
1616
<div class="table-responsive">
17-
<table class="table table-bordered table-hover">
17+
<table class="table table-bordered table-hover shadow">
1818
<thead>
1919
<tr>
2020
<th scope="col" class="p-3">Topics</th>

_layouts/standards.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<div class="row">
1515
<div class="col-12">
1616
<div class="table-responsive">
17-
<table class="table table-bordered table-hover">
17+
<table class="table table-bordered table-hover shadow">
1818
<thead>
1919
<tr>
2020
<th scope="col" class="p-3">Topics</th>
File renamed without changes.

_pages/services.md

+2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ icon: "fa-solid fa-wand-magic-sparkles"
66
keywords:
77
topics:
88
- Accessibility
9+
- Content
910
- Domain
11+
- Privacy
1012
- ScanGov
1113
- Search engine optimization
1214
- Security

_pages/sitemaps-org.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ date: 2025-02-02
44
modified:
55
author: ScanGov
66
description: "Website sitemap standards."
7-
icon: "fa-solid fa-sitemap"
7+
icon: "fa-solid fa-trophy"
88
website: https://sitemaps.org
99
#audio: .mp3
1010
services:

_pages/wcag.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ modified:
55
author: ScanGov
66
description: "Rules for making websites accessible."
77
shortname: WCAG
8-
icon: "fa-solid fa-file-lines"
8+
icon: "fa-solid fa-trophy"
99
website: https://www.w3.org/WAI/standards-guidelines/wcag/
10-
#audio: .mp3
10+
audio: wcag.mp3
1111
services: true
1212
lowercase:
1313
guidance: true
@@ -20,3 +20,10 @@ topics:
2020
---
2121

2222
## About
23+
24+
The Web Content Accessibility Guidelines (WCAG) are a set of rules for making web content more accessible to people with disabilities. WCAG helps developers, designers, and others create websites that are perceivable, operable, understandable, and robust. These guidelines have different levels (A, AA, and AAA), with AAA being the highest. Following WCAG helps make the web more user-friendly for everyone.
25+
26+
## Links
27+
28+
- [Web Content Accessibility Guidelines (WCAG) 2.1](https://www.w3.org/TR/WCAG21/) (W3C)
29+
- [Web Content Accessibility Guidelines](https://en.wikipedia.org/wiki/Web_Content_Accessibility_Guidelines) (Wikipedia)

assets/.DS_Store

0 Bytes
Binary file not shown.

assets/audio/wcag.mp3

2.47 MB
Binary file not shown.

0 commit comments

Comments
 (0)