We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90853eb commit 14490f2Copy full SHA for 14490f2
2 files changed
people.html
@@ -32,9 +32,11 @@
32
</div>
33
34
<div class="image-item">
35
- <img src="images/logo_face.png" alt="Image 2" />
+ <img src="images/caitlin.jpg" alt="Image 2" />
36
<p class="caption">
37
- This is centered text under the second image. Same behavior here.
+ <b>Caitlin Lewis</b> <br />
38
+ PhD Student <br />
39
+ Duke Pearson Lab
40
</p>
41
42
style.css
@@ -153,8 +153,10 @@ main .quad-text {
153
}
154
155
.image-item img {
156
- width: 180px; /* ← change this number */
157
- height: auto;
+ height: 20vh; /* relative to viewport */
+ max-height: 180px;
158
+ width: auto;
159
+ object-fit: contain;
160
161
162
.image-item .caption {
0 commit comments