26 Commits

Author SHA1 Message Date
Greg Kaleka
e5f808e38e Revert "wip: increase max content width across site (#1743)" (#1748) 2025-04-12 20:01:09 -04:00
Julio C. Estrada
06e00e8857 wip: increase max content width across site (#1743) 2025-04-11 14:14:32 -04:00
Rob Beeston
3819abdbf4 Font update, home page, boostbook V2 (#1233) 2024-09-06 13:04:12 -07:00
Julio C. Estrada
a7ae2c19b5 Fix Antora Navbar Stickiness on Mobile for Learn Docs (#1109) (#1138)
**Fixes Issue #1109**

**Changes:**
- Added tailwind class `fixed` to navbar, preventing it from
"disappearing" on mobile.

**Impact:**
Improves mobile navigation by ensuring the navbar is always visible,
enhancing user experience.

**Testing:**
- Manual device testing
- Manual dev tools testing

**Screenshots:**

![EEA4186F-6B8C-4DA5-8D96-2D84C282D42A_4_5005_c](https://github.com/boostorg/website-v2/assets/3632378/597a0cdc-602f-4fac-8515-9382168070a3)
2024-07-09 12:11:25 -04:00
Julio Estrada
85ecd98f96 Adjust hash link scroll position on docs pages to account for navbar height 2024-06-06 10:53:38 -04:00
Julio Estrada
69539d4166 Improve navigation with TOC and header style updates
- Enhance TOC scrolling with added padding-bottom
- Offset heading positions with uniform negative margin-top
- Maintain visual hierarchy with varied padding-top for headings
2024-05-13 15:56:24 -04:00
Julio Estrada
3ff678cc2e Fix navbar issues for legacy docs
- Add missing font-family
- Remove underline from links
- Prevent "Join" word-break
- Fix logo pixel shift on framed and non-framed docs
- Remove navbar container's inline CSS height
2024-05-06 14:39:51 -04:00
Julio Estrada
5fc944593a Update positioning of table of contents element for boost legacy docs 2024-04-27 13:06:05 +02:00
Greg Newman
ded4ee63f4 🐛 dark mode avatar
Issue: #907
2024-02-13 06:49:13 -05:00
Greg Newman
59a638c2a1 🐛 fixes nav colors on docs
BoostBook.css is overriding the link styles on the nav. This fixes that.
2024-02-08 09:15:38 -05:00
Greg Newman
cef5ca9034 🐛 fixes hover in dark 2024-01-26 11:06:38 -05:00
Greg Newman
0b3da8046d 🐛 fixing bugs in active_link tag 2024-01-26 11:06:38 -05:00
Greg Newman
65b6bfb381 🐛 fixes dropdown on docs and guide
The dropdowns for user profile and guide was not showing the border and shadow because of not using tailwind base, which we can’t use here.
2024-01-25 11:51:25 -05:00
Greg Newman
5439a61be0 🐛 fixes dropdown on docs and guide
The dropdowns for user profile and guide was not showing the border and shadow because of not using tailwind base, which we can’t use here.
2024-01-25 11:51:01 -05:00
Greg Newman
f296ce5be5 🐛 fixes rounded corners on avatar in header
On Docs and Userguide the avatar was not rounded.
2024-01-25 10:37:16 -05:00
Greg Newman
6646c78efe 🐛 fixes link colors on docs header
BoostBook.css is overwriting the link colors in light mode. This fixes them and refactors the classes a little.
2024-01-25 10:26:53 -05:00
Greg Newman
2f50377dfd 🐛 fixes avatar icon on docs
Issue: #872
2024-01-17 11:58:31 -05:00
Greg Newman
c6d6b85bab adds an api call to get Avatar
The user avatar content in the header is now populated with a htmx get request. The request object is used to show either the join link, avatar or no avatar icon.

Issue: #850
2023-12-08 12:03:36 -05:00
Greg Newman
65d92a0a4a 🐛 only first of type should be styled
Only add margin/padding to the first of type for the divs listed. These classes are used heavily in the docs and we don’t want to touch anything else.
2023-10-06 18:45:04 -04:00
Greg Newman
3d6ccbac5f 🔨 fresh docs css build
Issue: #658
2023-10-06 11:07:41 -04:00
Greg Newman
19ce28b900 Merge branch '658-modernize-changes' of github.com:cppalliance/temp-site into 658-modernize-changes
# Conflicts:
#	frontend/docsstyles.css
#	static/css/docsstyles.css
2023-10-06 11:06:55 -04:00
Greg Newman
0c03de497b 🔨 refactoring header for consistency
* Refactoring parts of the header to try and get consistency between the site, docs and user-guide.
* Fixing purple links.
* Adding conditional for theme switcher on mobile
2023-10-06 11:03:08 -04:00
Greg Newman
083cfb2a32 🚧 WIP modernize docs
WIP: Working on styles related to the modernize method and the the injection of the docs styles.

This removes the the main styles.css and working on fixing bugs with the docs layouts for the body content and mobile layouts.

Issue: #658
2023-10-06 11:02:52 -04:00
Greg Newman
0e795f171b 🚧 WIP modernize docs
WIP: Working on styles related to the modernize method and the the injection of the docs styles.

This removes the the main styles.css and working on fixing bugs with the docs layouts for the body content and mobile layouts.

Issue: #658
2023-09-28 11:58:09 -04:00
Greg Newman
706c283f8d 🐛 fixes font colors in docs header 2023-08-18 11:23:28 -04:00
Greg Newman
2581a43e33 🚧 secondary style sheet for docs
This provides a secondary tailwind config that does not do a reset and only includes styles compiled from header and footer templates.

Run `yarn builddocs` to generate the stylesheet for docs
2023-08-17 14:09:37 -03:00