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

Layout / Styling Overhaul #394

Draft
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

cmfcmf
Copy link
Member

@cmfcmf cmfcmf commented Jul 30, 2020

This is a work in progress overhaul of our Twig layouts and SCSS styles. Goals include:

  • The overall appearance of the site should not change dramatically
  • Less code duplication in Twig layouts and SCSS files
  • Better semantics: Headers use <h1> instead of <div>, buttons use <button> instead of <div>.
  • Streamlined, more consistent margins and paddings
  • A new search bar at the top of most pages (UI: universal search bar needed in site header #159)
  • Consistent behavior of the header on mobile devices / small screens

TODO:

  • Extract more things into SCSS variables, review all current SCSS variables
  • Make more sizes dependent on rem units, ideally set the global font size to 100%.
  • Remove statistics page code from this PR
  • Adjust Bootstrap size classes (e.g., pb-2) to use our $layout-gutter values.

Screenshots:

image
Peek 2020-07-30 10-52
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant