Skip to content

Commit

Permalink
Update lightbox styles
Browse files Browse the repository at this point in the history
  • Loading branch information
johnelliott committed Dec 10, 2017
1 parent b872bf6 commit 755128f
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions views/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ a {
}
.lightbox-image {
max-width: 90%;
max-height: 90%;
max-height: 54%;
}
}
/* iphone 6+ */
Expand All @@ -68,24 +68,18 @@ a {
height: 132px;
}
.lightbox-image {
max-height: 550px;
max-width: 404px;
}
}
/* TODO finish this */
/*
@media (max-height: 736px) {
.lightbox-image {
max-height: 700px;
}
}
*/
/* iphone 6 */
@media (max-width: 375px) {
.image-link {
width: 120px;
height: 120px;
}
.lightbox-image {
max-height: 450px;
max-width: 365px;
}
}
Expand All @@ -96,8 +90,9 @@ a {
height: 100px;
}
.lightbox-image {
max-width: 310px;;
}
max-height: 375px;
max-width: 310px;
};
}

.image-thumb__crops {
Expand Down Expand Up @@ -150,6 +145,11 @@ a {
.lightbox .image-thumb__icon {
font-size: 44px;
}
@media (max-width: 320px) {
.lightbox .image-thumb__icon {
font-size: 36px;
}
}
.lightbox-content {
display: flex;
flex-direction: column;
Expand Down

0 comments on commit 755128f

Please sign in to comment.