mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-11-16 09:41:28 -10:00
The website uses Bootstrap 3.3.7 with the Bootswatch Paper theme, which are unmaintained and affected by known vulnerabilities. Paper is not available for newer Bootstrap versions, so switch to Bootstrap 5.3.8 with the Bootswatch Materia theme, which provides the same material design look. Glyphicons are not shipped anymore with Bootstrap 5, so use Bootstrap Icons 1.13.1 instead. Migrate the markup accordingly: - rewrite the navigation bar as a sticky bar, collapsing it below 1200px - replace panels with Materia cards, the news timeline entries and LTS charts included - use the new grid offset, image, float and button classes - rewrite the carousel and the git URL input group - adapt the tooltip and active menu entry selectors in buildroot.js Also drop most of the custom styles in favor of the Bootstrap utility classes and the Materia defaults: typography, page headers, spacing helpers, the LTS numbered lists and the sponsors grid. Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 lines
84 B
CSS
4 lines
84 B
CSS
.br-lts-main .card {
|
|
scroll-margin-top: 80px; /* Offset for jump to anchor */
|
|
}
|