forked from Public/pics
ViewPhoto: improve vertical alignment of prev/next buttons
This commit is contained in:
parent
c735648468
commit
85be093a36
@ -448,17 +448,12 @@ footer a {
|
|||||||
background: #fff;
|
background: #fff;
|
||||||
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
|
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
|
||||||
color: #262626;
|
color: #262626;
|
||||||
font-size: 3em;
|
font-size: 3rem;
|
||||||
line-height: 0.5;
|
line-height: 0.5;
|
||||||
padding: 32px 8px;
|
padding: 2rem 0.5rem;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
top: 45%;
|
top: calc(50% - 5rem);
|
||||||
}
|
|
||||||
#previous_photo em, #next_photo em {
|
|
||||||
position: absolute;
|
|
||||||
top: -1000em;
|
|
||||||
left: -1000em;
|
|
||||||
}
|
}
|
||||||
span#previous_photo, span#next_photo {
|
span#previous_photo, span#next_photo {
|
||||||
opacity: 0.25;
|
opacity: 0.25;
|
||||||
|
Loading…
Reference in New Issue
Block a user