The following content is pulled from the Aurum README. You can access this as well as other project documentation on the GitHub repository page
The lightest, most necessary CSS Framework known to ~~man~~ humans. No pre-determined styles, no components - just flex layouts, grids, and necessary styles everyone needs (or could sure use). Perfect for those who are new to CSS Flexbox and learning the ropes, CSS veterans that are tired of constantly writing display: flex
, and even those that just want a vanilla foundation to build their CSS on.
Aurum is from the latin word for gold (you may be familiar with the symbol 'Au' on the periodic table?). Sure, it's a nod to us at Golden Harp Media, but also respective to what the framework is.
If you would like to contribute to Aurum, please fork the main
branch, make your changes, and then create a pull request to merge the new branch into main
. All changes will be reviewed by our team, so be sure to review before submitting.
NOTE: This repository is for the framework itself. This framework is hosted as part of the Aurum website (root
of this repo correlates to au.goldenharpmedia.com/framework). To make contributions to the Aurum website, please visit the Aurum Website repository.
Simply fork this repo to include your own version in your project (and to make changes if you wish), or reference one of the following URLs to access it as a hosted resource:
<head>
<!-- just the CSS Reset -->
<link rel="stylesheet" type="text/css" href="https://au.goldenharpmedia.com/framework/packages/v1.0/au.reset.css">
<!-- just the CSS Normalize Styles -->
<link rel="stylesheet" type="text/css" href="https://au.goldenharpmedia.com/framework/packages/v1.0/au.reset.css">
<!-- just the Flex Styles -->
<link rel="stylesheet" type="text/css" href="https://au.goldenharpmedia.com/framework/packages/v1.0/au.flex.css">
<!-- all files above (one file limits request!) -->
<link rel="stylesheet" type="text/css" href="https://au.goldenharpmedia.com/framework/packages/v1.0/au.css">
<!-- other links -->
</head>
We recommend using the combination file for minimal requests and faster load times. We also recommend including these links at the top of your <head>
section (or at least, before other CSS) so your CSS isn't overwritten.
The Reset works automatically on page load, but Flex styles need to be referenced for each element.
Flex styles can be used within your project in two ways. One is by referencing a flex class, while another is by using a custom HTML attribute (in case you are already dealing with plenty of CSS classes).
<!-- Example: Using a custom HTML attribute (PREFERRED) -->
<div data-au="container" class="myParentClass">
<div data-au="flex-width" class="myFirstChildClass myChildClass"></div>
<div data-au="set-width" class="mySecondChildClass myChildClass"></div>
</div>
<!-- Example: Using a class -->
<div class="myParentClass au container">
<div class="myFirstChildClass myChildClass au flex-width"></div>
<div class="mySecondChildClass myChildClass au set-width"></div>
</div>
For a full list of selectors that can be used, please see the au.flex.css
file.
Have a question? Something not working? Short of providing IT Support on your implementation, we're here to help! Reach out through our website, or by opening an issue through GitHub.