Skip to content

Commit 1366ed1

Browse files
authored
Increase visibility of elements (#332)
* Changed alert background color to pale orange * Increased visibility of focus on carousel buttons * Made carousel button icons visible
1 parent b6b3c4b commit 1366ed1

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

index.html

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,16 @@ <h4><a href='{{post.url}}'>{{post.title}}</a></h4>
3939

4040
<!-- Left and right controls -->
4141
<a class="left carousel-control" href="#myCarousel" onclick="$('#myCarousel').carousel('pause');" role="button" data-slide="prev">
42-
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
43-
<span class="sr-only">Previous</span>
42+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-left" viewBox="0 0 16 16" aria-hidden="true">
43+
<path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z" />
44+
</svg>
45+
<span class="sr-only">Previous</span>
4446
</a>
4547
<a class="right carousel-control" href="#myCarousel" onclick="$('#myCarousel').carousel('pause');" role="button" data-slide="next">
46-
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
47-
<span class="sr-only">Next</span>
48+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16">
49+
<path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" />
50+
</svg>
51+
<span class="sr-only">Next</span>
4852
</a>
4953
</div>
5054
<div class="row">

public/css/site.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@
3131
max-width: 1200px;
3232
max-height: 600px;
3333
}
34+
.carousel-control:focus {
35+
background-color: rgba(0, 0, 0, 0.25);
36+
}
37+
a.carousel-control.left, a.carousel-control.right {
38+
display: flex;
39+
align-items: center;
40+
justify-content: center;
41+
}
3442

3543
.dropdown-toggle:focus {
3644
outline:dotted;
@@ -381,6 +389,10 @@ strong {
381389
font-size: 1.5rem;
382390
}
383391

392+
.alert.alert-success {
393+
background-color: #FFF1DA;
394+
}
395+
384396
figure img {
385397
max-width: 100%;
386398
height: auto;

0 commit comments

Comments
 (0)