Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Responsive Layout and Navbar from archlinux-common-style #382

Draft
wants to merge 22 commits into
base: master
Choose a base branch
from

Commits on Nov 6, 2021

  1. Add meta viewport tag to HTML head

    This tag is essential for a mobile friendly layout. See
    https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag
    for more info.
    Phosphenius authored and maltejur committed Nov 6, 2021
    Configuration menu
    Copy the full SHA
    16a8abb View commit details
    Browse the repository at this point in the history
  2. Add markup and style for a mobile friendly hamburger button menu

    The markup is added before the actual archnavbarlist to make it possible
    to select said list via the CSS sibling selector depending on hamburger
    state/class.
    
    Note that this commit removes the minium body width of 650px.
    Phosphenius authored and maltejur committed Nov 6, 2021
    Configuration menu
    Copy the full SHA
    5c2092c View commit details
    Browse the repository at this point in the history
  3. Add hamburger button JavaScript

    A new JavaScript file base.js is introduced and included in the base
    template so the hamburger button will work on every page.
    Phosphenius authored and maltejur committed Nov 6, 2021
    Configuration menu
    Copy the full SHA
    fe8a30f View commit details
    Browse the repository at this point in the history
  4. Update mobile navigation to be more user friendly

    - Make navigation bar stick to top on mobile.
    - Increase font size and spacing of navigation entries on mobile and
    increase their clickable area.
    - Expanded mobile navigation now spans the entire height.
    Phosphenius authored and maltejur committed Nov 6, 2021
    Configuration menu
    Copy the full SHA
    9c873cf View commit details
    Browse the repository at this point in the history
  5. Move the footer and devnavbar sections out of the content section

    It makes more sense for footer and devnavbar to be siblings of content, and not
    children. Also, this step makes it way easier to properly layout everything
    using flexbox instead of the outdated float mechanism.
    Phosphenius authored and maltejur committed Nov 6, 2021
    Configuration menu
    Copy the full SHA
    b30d6d4 View commit details
    Browse the repository at this point in the history
  6. Introduce responsive (mobile friendly) layout for the start page

    - Layout switches arrangement of content depending on screen width using
    flexbox
    - Enable word-breaking for news articles. This is necessary because long words
    like directory paths might otherwise overflow on small screen widths.
    - The contents of the packages page are in correct order but there are
    still fixed widths which mess up the layout on small mobile devices.
    Phosphenius authored and maltejur committed Nov 6, 2021
    Configuration menu
    Copy the full SHA
    9cadf9d View commit details
    Browse the repository at this point in the history
  7. Add a max width for news article headlines

    This is to prevent the headlines from overlapping with the article
    timestamp.
    Phosphenius authored and maltejur committed Nov 6, 2021
    Configuration menu
    Copy the full SHA
    0eda6bb View commit details
    Browse the repository at this point in the history
  8. Add mobile friendly style for the nav-sidebar

    - Every nav-sidebar items needs to be wrapped in a container to make
    proper styling possible.
    - nav-siderbar items will appear in columns of 2 or 3 depending on
    available screen width on mobile.
    Phosphenius authored and maltejur committed Nov 6, 2021
    Configuration menu
    Copy the full SHA
    a211c0c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    214fa72 View commit details
    Browse the repository at this point in the history
  10. Introduce a navbar wrapper element to limit the navbar width

    This way the navbar content won't span the entire screen width on wide
    monitors.
    Phosphenius authored and maltejur committed Nov 6, 2021
    Configuration menu
    Copy the full SHA
    da634eb View commit details
    Browse the repository at this point in the history
  11. Add mobile friendly view for packages table

    Table will be reformatted on mobile devices following the technique
    described here: https://css-tricks.com/responsive-data-tables/
    Phosphenius authored and maltejur committed Nov 6, 2021
    Configuration menu
    Copy the full SHA
    274e4ea View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2021

  1. Configuration menu
    Copy the full SHA
    6283c49 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2021

  1. fix relative path

    maltejur committed Nov 22, 2021
    Configuration menu
    Copy the full SHA
    f68e692 View commit details
    Browse the repository at this point in the history
  2. remove cssmin submodule

    maltejur committed Nov 22, 2021
    Configuration menu
    Copy the full SHA
    ba94ca5 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2021

  1. add padding to archnavbar

    maltejur committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    1aca884 View commit details
    Browse the repository at this point in the history
  2. remove cssmin submodule

    maltejur committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    5c42fdc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c4f9736 View commit details
    Browse the repository at this point in the history
  4. remove cssmin submodule

    maltejur committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    62f6e9b View commit details
    Browse the repository at this point in the history
  5. fix scrolling issue

    maltejur committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    298bf6f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d78aba0 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2022

  1. Configuration menu
    Copy the full SHA
    7124f9e View commit details
    Browse the repository at this point in the history
  2. delete cssmin

    maltejur committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    f539062 View commit details
    Browse the repository at this point in the history