On 10/02/2020 16:05, Ilmari Lauhakangas wrote:>
The root problem is that we use a fixed header. This has always caused
problems, for example when linking to mailing list anchors in
https://www.libreoffice.org/get-help/mailing-lists/
There is a newish CSS property called scroll-padding. It relates to
scroll snapping points. In this case it could be used to style the html
element like
html {
scroll-padding-top: 40px;
}
Or a similar value that produces the desired result.
Great, thanks Ilmari -- that has fixed the issue with anchors, eg:
https://www.libreoffice.org/community/get-involved/#design
I also updated:
#content1 {
background: #ffffff;
margin-top: 90px;
}
to be 120px in main.css, to accommodate for the larger top bar. It all
looks good now, but if anyone spots something odd, please let us know!
Cheers,
Mike
--
To unsubscribe e-mail to: website+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/website/
Privacy Policy: https://www.documentfoundation.org/privacy
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.