This is an attempted rebuild of the QuICK Boston Squarespace website as basic HTML.
- You can clone/download this repository and just open
index.htmlin any modern web browser. - The social media icons may only work if you serve the site from a web server.
- This is due to the way those icons are added (through an SVG
<use>), which allows them to be recolored to match the text around them. - Any basic web server—e.g., Apache, Node's
http-server, Python 2'sSimpleHTTPServer, or Python 3'shttp.server.
- This is due to the way those icons are added (through an SVG
- Matching the design of the existing site, the page has a
<header id="page-header">and full-width<section>s. - Each section can have a background image set with an inline
background-imagestyle. It can be givenclass="dim-background"orclass="lighten-background"if necessary to keep text readable. - The intro section has an
<h1>; the headings of subsequent sections should be<h2>s, and then headings for list items within those sections should be<h3>s. - A section can include a
<ul class="multi-column-list">, which will arrange its child elements into rows when there is sufficient horizontal space.- The
#meet-up-listand#people-listlists have additional styles specific to those lists.
- The
- Images that are necessary to understanding the page should have alt text (
<img src="[...]" alt="[...]" />).- Alt text should be brief, in the active voice, and describe the contents of the image relevant to its context on the page.
- Alt text shouldn't include “A photograph of...”/“A drawing of...”/etc. unless that is relevant to the image's context on the page.
- If an image needs a longer description, include a shorter description in the
alt="[...]", and then addaria-description="[...]"with the longer description.
- Images that aren't necessary to understanding the page should have
alt=""to indicate that. - Other elements that aren't screen reader accessible and aren't necessary to using/understanding the page should have
aria-hidden="true".- This is currently used to hide the gym thumbnail links since the thumbnails themselves don't have image descriptions.
- Follow standard Git commit message guidelines.
- Commits messages should fit in the sentence, “If applied, this commit will ____.”
- Indent code with tabs, not spaces.
- CSS class and id names are in
kebab-case(i.e. all lowercase with hyphens between words; notcamelCaseorsnake_case).