Remove fixed heights, moving to masonry layout
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
|
||||
h3 {
|
||||
color:@link-color;
|
||||
@@ -52,11 +53,6 @@
|
||||
&.thumbnail-tag {
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
img {
|
||||
max-height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.caption {
|
||||
@@ -70,25 +66,14 @@
|
||||
font-style: italic;
|
||||
padding: 5px 0;
|
||||
.text-overflow();
|
||||
|
||||
a {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
|
||||
/* Media Queries */
|
||||
@media (max-width: @screen-md-min) {
|
||||
.thumbnail {
|
||||
height: 400px;
|
||||
width: 300px;
|
||||
|
||||
margin: 5% auto;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
.caption .description {
|
||||
padding: 5px 50px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user