mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 06:27:16 +08:00
Fix slight dissymmetry of Up/home positioning
The padding for the containing box was not right/left symmetric because the order of padding values is not trivial in css (top right bottom left). Making right and left equal allows to center the Up/Home box more precisely. Then some tweaks for Next and Prev boxes have to be removed.
This commit is contained in:
parent
c7e06d82e8
commit
35dc049bec
@ -195,7 +195,7 @@ div.navheader h3 {
|
||||
}
|
||||
|
||||
div.navheader ul, div.navfooter ul {
|
||||
padding: .2em .5em .5em 0;
|
||||
padding: .2em .5em .5em .5em; /*top right bottom left*/
|
||||
margin: .5em 0;
|
||||
position: relative;
|
||||
background: #dbddec;
|
||||
@ -219,9 +219,9 @@ div.navheader ul li.next, div.navfooter ul li.next {
|
||||
position: absolute;
|
||||
display: block;
|
||||
text-align: right;
|
||||
right: 5px;
|
||||
padding: 0.2em 0.5em;
|
||||
margin-right: 7px;
|
||||
right: 0;
|
||||
padding: 0.2em 1em;
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
div.navheader ul li.prev p, div.navfooter ul li.prev p,
|
||||
|
Loading…
Reference in New Issue
Block a user