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

Add underline styling to hyperlinks #7157

Merged
merged 2 commits into from
Mar 21, 2022
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
2 changes: 1 addition & 1 deletion source/nodejs/adaptivecards-site/pages/_data/samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ en:
intro: These samples are <em>just a teaser</em> of the type of cards you can create. Go ahead and tweak them to make any scenario possible!
accwarning: |
<strong>Important note about accessibility:</strong>
In version 1.3 of the schema we introduced a <a href="https://docs.microsoft.com/en-us/adaptive-cards/authoring-cards/input-validation#labels"><strong>label</strong></a> property on Inputs to improve accessibility. If the <a href="https://docs.microsoft.com/en-us/adaptive-cards/resources/partners">Host app you are targeting</a> supports v1.3 you should use <strong>label</strong> instead of a <strong>TextBlock</strong> as seen in some samples below. Once most Host apps have updated to the latest version we will update the samples accordingly.</a>
In version 1.3 of the schema we introduced a <a href="https://docs.microsoft.com/en-us/adaptive-cards/authoring-cards/input-validation#labels" style="text-decoration:underline;"><strong>label</strong></a> property on Inputs to improve accessibility. If the <a href="https://docs.microsoft.com/en-us/adaptive-cards/resources/partners" style="text-decoration:underline;">Host app you are targeting</a> supports v1.3 you should use <strong>label</strong> instead of a <strong>TextBlock</strong> as seen in some samples below. Once most Host apps have updated to the latest version we will update the samples accordingly.</a>
choose_sample: "Choose Sample:"
use_templating: Use Adaptive Card Templating <span class="w3-tag w3-medium w3-round ac-blue">Updated May 2020</span>
templating_info: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</nav>

<div class="w3-main" style="margin-left: 200px">
<div class="w3-container">
<div class="w3-container schema-content">
<h1><%= page.title %></h1>

<!-- mobile nav -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,11 @@ button .fa-check {
color: blue;
}

.schema-content a:link,
.schema-content a:visited {
text-decoration: underline;
}

/* .fa-chevron-right {
font-size: 11px;
font-weight: lighter;
Expand Down