Skip to content

Commit

Permalink
some styling fixes for portraits, closes #158
Browse files Browse the repository at this point in the history
  • Loading branch information
peterstadler committed Mar 24, 2017
1 parent 6a44655 commit 38e5ef2
Showing 1 changed file with 15 additions and 19 deletions.
34 changes: 15 additions & 19 deletions resources/less/gui.less
Original file line number Diff line number Diff line change
Expand Up @@ -243,27 +243,23 @@ a.noteMarker {
margin-bottom:1ex;
}
/* some styling for the flip images */
.portrait.large {
height:300px;
margin-bottom:3ex;
.portrait {
&.large {
margin-bottom:3ex;
}
.back {
padding: 20px;
word-wrap:break-word;
}
.front {
img {
margin:0px auto;
max-height:100%;
max-width:100%;
}
}
}

.portrait .back {
padding: 20px;
word-wrap:break-word;
}
.creditsButton {
bottom: 0px;
right: 0px;
z-index: 2;
position:absolute;
cursor:pointer;
}
.portrait .front img {
margin:0px auto;
max-height:100%;
max-width:100%;
}
/* extra styling for pagination on person pages because there's no @href */
.pagination > li > a {
cursor:pointer;
Expand Down

0 comments on commit 38e5ef2

Please sign in to comment.