Skip to content

Commit 2ee83dc

Browse files
authored
improve banner and accessibility (#259)
1 parent 6cf7bf7 commit 2ee83dc

File tree

3 files changed

+19
-11
lines changed

3 files changed

+19
-11
lines changed

sass/_ansible-banner.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
.ansible-banner {
2-
background: $pool;
3-
width: 100%;
2+
background: $light-pool;
3+
margin-top: 1.2rem;
44
.ansible-banner-text {
55
display: flex;
66
justify-content: center;
77
text-align: center;
8-
color: $white;
8+
color: $black;
99
padding-top: 1.2rem;
10+
line-height: 2.2rem;
1011
a {
1112
color: $cyan;
1213
}

sass/_colors.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
$white: #ffffff;
22
$black: #000000;
33
$pool: #5cbec1;
4+
$light-pool: #aedfe0;
45
$cyan: #004080;
56
$navy: #102441;
67
$light-grey: #CCCCCC;

templates/_ansible-banner.html

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1-
<div class="ansible-banner">
2-
<div class="ansible-banner-text">
3-
<p>
4-
We want to hear from you! Help us gain insights into the state of the
5-
Ansible ecosystem by taking the
6-
<a href="https://www.surveymonkey.com/r/P9Q2SNG" target="_blank">Ansible Project Survey 2024</a>
7-
</p>
1+
<div class="container">
2+
<div class="grid-wrapper">
3+
<div class="width-12-12 width-12-12-m">
4+
<div class="ansible-banner">
5+
<div class="ansible-banner-text">
6+
<p>
7+
We want to hear from you! Help us gain insights into the state of the
8+
Ansible ecosystem.<br>
9+
<a href="https://www.surveymonkey.com/r/P9Q2SNG" target="_blank">Take the Ansible Project Survey 2024</a>
10+
</p>
11+
</div>
12+
</div>
13+
</div>
814
</div>
9-
</div>
15+
</div>

0 commit comments

Comments
 (0)