Skip to content

Commit

Permalink
adjust styles on cards
Browse files Browse the repository at this point in the history
  • Loading branch information
cboucher01 committed May 17, 2024
1 parent 7196328 commit 6f8cc6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion _sass/wbbm.scss
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@ h1 {

.card-img-overlay {
background-color: #00000065;

text-align: center;

h2 {
color: white;
margin: 0;
Expand Down
4 changes: 2 additions & 2 deletions current/disoriented.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ By the 16th century, Chinese merchants were exporting porcelain to Europe. Shipp


<div class="card text-bg-dark">
<img src="{{ "/assets/images/media_045.png" | relative_url }}" class="card-img" alt="A transcription of a poem gifted to Helen Chapin during her travels in China.">
<a href="{{ '/current/disoriented/japanese-chinese-scholarships/' | relative_url}}">
<img src="{{ "/assets/images/media_045.png" | relative_url }}" class="card-img" alt="A transcription of a poem gifted to Helen Chapin during her travels in China.">
<div class="card-img-overlay">
<h2 class="card-title">Japanese and Chinese Scholarships</h2>
</div>
Expand All @@ -43,7 +43,7 @@ By the 16th century, Chinese merchants were exporting porcelain to Europe. Shipp
</div>
<div class="card text-bg-dark">
<a href="{{ '/current/disoriented/yellowface-on-campus/' | relative_url}}">
<img src="{{ "/assets/images/media_053.png" | relative_url }}" class="card-img" alt="Playbook from Bryn Mawr's Chinese Lantern production">
<img src="{{ "/assets/images/media_053.jpg" | relative_url }}" class="card-img" alt="Playbook from Bryn Mawr's Chinese Lantern production">
<div class="card-img-overlay">
<h2 class="card-title">Yellowface on Campus</h2>
</div>
Expand Down

0 comments on commit 6f8cc6f

Please sign in to comment.