Commit Graph

23 Commits

Author SHA1 Message Date
Arthur 9eff1ba5fc
theme: extract more styles (#22734)
Extract shared styling into appropriate utilities.
Improve toc width.
2025-05-30 09:20:56 -07:00
Arthur 038e6dc682
chore: update Tailwind to v4 (#22666)
- Extract classes to utilities and components.
- Reduce number of colors used.
- Harmonize button colors.
- Restyle admonitions.
- Move **Page options** button to main article.
- Various color tweaks.
2025-05-28 08:37:10 +01:00
Sarah Sanders 537c9f158f
fix: mobile footer issue (#22639)
## Description
- The Contact support button was appearing above the sidenav slideout on
mobile, this fixes that
- Tested on mobile in browser and mobile device
- Verified there is no impact to desktop web version

## Related issues or tickets
https://docker.atlassian.net/browse/ENGDOCS-2603

## Reviews
- [ ] Technical review
- [ ] Editorial review
- [ ] Product review
2025-05-14 14:47:01 -04:00
David Karlsson c026103cef guides: update listing layout on landing page
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-18 16:41:13 +02:00
David Karlsson 0f80eeae07 site: automatically scroll down the sidebar to reveal the current page
Some pages are nested quite deep in the sidebar, which means they aren't
automatically visible on pageload unless the sidebar is scrolled. This
commit adds a scrolldown function to the sidebar to check if the element
representing the current page is in view. If it isn't, the sidebar is
scrolled down to a position where the current page comes into view.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-10 12:28:21 +02:00
David Karlsson 5eb0381ef1 hugo: refactor sidebar templates
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-17 10:11:09 +02:00
David Karlsson 7f321a9197 hugo: move sidebar main navigation to partial
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-16 18:02:21 +02:00
David Karlsson dd294db10b hugo: add main nav icons and fix mobile rendering
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-16 17:50:29 +02:00
David Karlsson 4443d3640a hugo: update layout architecture
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-16 14:43:05 +02:00
David Karlsson 58aa02924d site: improve search ux, add /search page
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-12 17:14:01 +02:00
David Karlsson 70833553ba site: add learning paths
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-08-22 10:24:00 +02:00
David Karlsson 92c31e093d hugo: move youtube script out of shortcode template
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-07-04 11:10:48 +02:00
David Karlsson 5fe793f3a5 search: exclude hidden pages from index
Hidden pages (pages excluded from the sitemap) shouldn't be included in
the pagefind index.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-05-24 16:12:43 +02:00
David Karlsson 97307d4c66 search: pagefind v1.1.0
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-05-23 14:05:59 +02:00
David Karlsson 5f563c6c41 fix: sidebar-width sm screens
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-04-25 15:50:09 +02:00
David Karlsson 86dbe42ff3
fix: cap left-hand sidebar to 300px max-width (#19870)
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-04-25 10:35:52 +01:00
David Karlsson 1fb862bcf9 hugo: improve site layout on medium screens
- Keep the top-nav menu on medium screens
- Keep the sidebar navigation on medium screens
- Keep the right-hand toc on large screens
- Adjust breakpoints

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-04-24 18:14:02 +02:00
David Karlsson 46a3512a54 hugo: css overhaul
- Remove manual breakpoint definitions and use tailwind defaults
- Fix various overflow and other rendering issues

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-04-24 18:14:02 +02:00
David Karlsson d6627bcbce fix: use flexbox to simplify templates and fix overflow on mobile
The grid col templates weren't working correctly, switched to flexbox to
make it easier to understand and work better on smaller screens.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-28 23:22:17 +01:00
David Karlsson ce9e6317fc css: prevent horizontal overflow on md/sm/xs screens
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-25 21:12:07 +01:00
David Karlsson 047a48d0ab fix: sidebar background in light mode
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-25 14:22:09 +01:00
David Karlsson ff459f0dcd css: improve styles to reduce layout shifts
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-01-25 08:35:33 +01:00
David Karlsson a0d21ade2f migrate to hugo
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-08-22 09:41:02 +02:00