Skip to content

Commit

Permalink
Merge pull request #763 from jonfroehlich/long-photo-captions-get-cutoff
Browse files Browse the repository at this point in the history
Long photo captions get cutoff
  • Loading branch information
htadeusiak authored Feb 3, 2019
2 parents 2e88e23 + 8cc8106 commit 5da2642
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 9 additions & 7 deletions website/static/website/css/project.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
}

.header-visual-title {
font-family: adelle-regular;
font-family: adelle-regular;
font-weight: bold;
color: #464D59;
font-size: 15px;
Expand Down Expand Up @@ -94,21 +94,23 @@
margin: auto;
position: absolute;
background: rgba(50, 50, 50, .7);
display: table-cell;
vertical-align: middle;
opacity:0;
line-height: 250px;
text-align:center;
}

.image-gallery-caption {
color:white;
weight:bold;
font-size:2em;
padding:10px;
padding-top:25%;
text-align:center;
font-size:1.8rem;
line-height: 1.5;
display: inline-block;
vertical-align: middle;
padding-left: 5%;
padding-right:5%;
}


.video-column, .talk-column {
padding-left: 0;
padding-right: 30px;
Expand Down
2 changes: 1 addition & 1 deletion website/templates/website/project.html
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ <h3 class="news-type-label">Photo Gallery</h3>
<div class="col-md-4 project-gallery-col">
<img src="{% thumbnail image.picture 368x245 box=image.cropping crop detail %}" alt="{{image.alt_text}}" class="project-gallery">
<div class="overlay-image">
<p class="image-gallery-caption">{{image.caption}}</p>
<div class="image-gallery-caption">{{image.caption}}</div>
</div>
</div>
{% endfor %}
Expand Down

0 comments on commit 5da2642

Please sign in to comment.