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:
Pierre Labastie 2024-01-22 18:12:23 +01:00
parent c7e06d82e8
commit 35dc049bec

View File

@ -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,