Skip to content

Conversation

@Quentame
Copy link
Member

@Quentame Quentame commented Oct 27, 2025

Respect HTML Semantic Elements: https://www.w3schools.com/html/html5_semantic_elements.asp

Before

  • body
    • div.container
      • div.nav-bar
        • a & h1
        • ul
    • div.container.content
      • (page content)
    • div.container
      • div.footer
    • ... (script, style ...)

After

  • body
    • div.container
      • header.nav-bar
        • a & h1
        • nav
          • ul
      • main
        • (page content)
      • footer.footer
    • ... (script, style ...)

Also permits to manage only one .container for all pages.
.container design inspired from the Bootstrap framework : https://getbootstrap.com/docs/5.3/layout/containers/

Clean unused / doubled CSS rules

@Quentame Quentame force-pushed the refactor/html_semantic_and_clean_style branch from fe0c49f to 26981e6 Compare October 27, 2025 13:01
@Quentame Quentame mentioned this pull request Oct 27, 2025
Learn more about how this data is gathered
</a>
</div>
</footer>
Copy link
Member Author

@Quentame Quentame Oct 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix the footer style on mobile to be on two lines

from #1022:

BEFORE AFTER
mobile iPhone 12 Pro (width: 390px) image mobile iPhone 12 Pro (width: 390px) image

ludeeus pushed a commit that referenced this pull request Nov 11, 2025
- `site/src/_layouts/base.html` formating is done with #1024
- `site/src/index.html` formating is done with #1022
@Quentame Quentame force-pushed the refactor/html_semantic_and_clean_style branch from 26981e6 to 87c862d Compare November 25, 2025 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant