forked from GSA/openacr-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added external link icon to certain links. * Using CSS for external link icon. Added USWDS svg icon file. * Updated index page buttons. * Added target blank to all external links with hidden warning. * Removed xlink. * Fixed test and updated new window text.
- Loading branch information
Showing
14 changed files
with
89 additions
and
44 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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 |
---|---|---|
|
@@ -36,6 +36,18 @@ | |
h4 { | ||
color: #162e51; | ||
} | ||
a[target="_blank"]:after { | ||
background: 0 0; | ||
background-color: currentColor; | ||
-webkit-mask: url("{{{ pathPrefix }}}/images/external-link.svg") | ||
no-repeat center/contain; | ||
width: 1.75ex; | ||
content: ""; | ||
display: inline-block; | ||
height: 1.75ex; | ||
margin-left: 2px; | ||
margin-top: 0.7ex; | ||
} | ||
summary > :first-child:before { | ||
border-color: #162e51; | ||
} | ||
|
@@ -57,6 +69,9 @@ | |
border-color: #1e6ad6; | ||
color: var(--pure-white); | ||
} | ||
a.button:after { | ||
margin-top: 0; | ||
} | ||
/* End placeholder styling. */ | ||
:target { | ||
scroll-margin-top: 5rem; | ||
|
@@ -185,9 +200,7 @@ | |
> | ||
<header class="box-h box-h-icon box-h-space-above box-h-icon"> | ||
<svg focusable="false" aria-hidden="true" class="icon-comments"> | ||
<use | ||
xlink:href="{{{ pathPrefix }}}/images/icons.svg#icon-comments" | ||
></use> | ||
<use href="{{{ pathPrefix }}}/images/icons.svg#icon-comments"></use> | ||
</svg> | ||
<h2>Help improve this page</h2> | ||
</header> | ||
|
@@ -198,15 +211,28 @@ <h2>Help improve this page</h2> | |
or via GitHub. | ||
</p> | ||
<div class="button-group"> | ||
<a href="mailto:[email protected]" class="button" | ||
><span>E-mail</span></a | ||
<a href="mailto:[email protected]" class="button" target="_blank" | ||
><span>E-mail</span> | ||
<span class="visuallyhidden" | ||
>(opens in a new window or tab)</span | ||
></a | ||
> | ||
<a href="https://github.com/GSA/openacr-editor" class="button" | ||
><span>Fork & Edit on GitHub</span></a | ||
<a | ||
href="https://github.com/GSA/openacr-editor" | ||
class="button" | ||
target="_blank" | ||
><span>Fork & Edit on GitHub</span> | ||
<span class="visuallyhidden" | ||
>(opens in a new window or tab)</span | ||
></a | ||
><a | ||
href="https://github.com/GSA/openacr-editor/issues/new" | ||
class="button" | ||
><span>New GitHub Issue</span></a | ||
target="_blank" | ||
><span>New GitHub Issue</span> | ||
<span class="visuallyhidden" | ||
>(opens in a new window or tab)</span | ||
></a | ||
> | ||
</div> | ||
</div> | ||
|
@@ -226,20 +252,36 @@ <h2>Help improve this page</h2> | |
<p><strong>Date:</strong> Published December 2021.</p> | ||
<p><strong>Version:</strong> v0.1.0</p> | ||
<p> | ||
<a href="https://github.com/GSA/openacr">OpenACR</a> | ||
<a href="https://github.com/GSA/openacr" target="_blank" | ||
>OpenACR | ||
<span class="visuallyhidden" | ||
>(opens in a new window or tab)</span | ||
></a | ||
> | ||
is a format maintained by the | ||
<a href="https://gsa.gov/" | ||
>U.S. General Services Administration (GSA)</a | ||
<a href="https://gsa.gov/" target="_blank" | ||
>U.S. General Services Administration (GSA) | ||
<span class="visuallyhidden" | ||
>(opens in a new window or tab)</span | ||
></a | ||
>. The content is the responsibility of the author. | ||
</p> | ||
<p> | ||
This software includes material copied from or derived from | ||
<a href="https://github.com/w3c/wai-atag-report-tool" | ||
>W3C ATAG Report Tool (ART)</a | ||
<a href="https://github.com/w3c/wai-atag-report-tool" target="_blank" | ||
>W3C ATAG Report Tool (ART) | ||
<span class="visuallyhidden" | ||
>(opens in a new window or tab)</span | ||
></a | ||
> | ||
and Copyright © 2021 W3C® (MIT, ERCIM, Keio, Beihang). | ||
<a href="https://www.w3.org/Consortium/Legal/copyright-software" | ||
>W3C Software notice and license</a | ||
<a | ||
href="https://www.w3.org/Consortium/Legal/copyright-software" | ||
target="_blank" | ||
>W3C Software notice and license | ||
<span class="visuallyhidden" | ||
>(opens in a new window or tab)</span | ||
></a | ||
>. | ||
</p> | ||
</div> | ||
|
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