Skip to content

Commit af2fb0e

Browse files
committed
Properly format and align project images/buttons
1 parent 40f7967 commit af2fb0e

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

projects/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@
2929

3030
{% assign num_words = 60 %}
3131
<div class="col-sm-6 col-md-4">
32-
<div class="thumbnail">
32+
<div class="thumbnail project-thumbnail-container">
3333
{% if post.youtube_video_id %}
3434
{% assign num_words = 35 %}
3535
<a href="{{ post.url }}">
36-
<img src="http://img.youtube.com/vi/{{post.youtube_video_id}}/mqdefault.jpg" alt="project thumbnail image" />
36+
<img src="http://img.youtube.com/vi/{{post.youtube_video_id}}/mqdefault.jpg" alt="{{ post.title }}" />
3737
</a>
3838
{% endif %}
3939
<div class="caption">

stylesheets/page-content.scss

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,18 @@
33

44
.language-icon {
55
height: 25px;
6+
}
7+
8+
.project-thumbnail-container {
9+
img {
10+
margin-top: 15px;
11+
}
12+
13+
.caption {
14+
padding-bottom: 0;
15+
}
16+
17+
.btn-primary {
18+
width: 100%;
19+
}
620
}

0 commit comments

Comments
 (0)