This repository has been archived on 2022-02-28. You can view files and clone it, but cannot push or open issues or pull requests.
frontend-styles/src/scss
spongycake 0545085e74 Grid, with rows and columns, see ->
A number of classes have been added to control the layout in a
grid-based way.

To start `row` is wrapped the elements you wish to group in a horizontal
line.

Next up, `grid-small` and `grid-large` relate to columns and behavior on
screen size. For example, `grid-large` will trigger layout changes when
the screen reaches a "desktop size" and `grid-small` for "mobile size".

The list of available column widths:

* half
* one-fourth
* three-fourths
* one-third
* two-thirds

Going in the order they are declared, for example, columns A,B - when A is
one-third and B is two-thirds. This means A will occupy 33% and B will
occupy 66%.

Additionally, look at _sass-mq.scss file if you want to define different
screen sizes.

EXAMPLE:
```
<div class="row">
  <div class="grid-large two-thirds">
    2/3
  </div>
  <div class="grid-large one-third">
    1/3
  </div>
</div>
```

===Sass API===
We have a helper called `media-query`. It directs calls to the sass-mq
library. Say we wanted to include a breakpoint in your sass files, do the following:

```
@include media-query($from: mobile) {
  // content
}
```
You are now generating a media-queries for mobile screens.

To understand what arguments can be passed to `media-query` then look at
the sass-mq documentation. [https://sass-mq.github.io/sass-mq/](https://sass-mq.github.io/sass-mq/)

=== Other ===
Technical - implementation being used in grid is flexbox. Do not expect
support for standard HTML Grid Layout.
2022-02-26 14:28:51 +00:00
..
components white blended theme is default 2022-02-04 01:41:41 +00:00
core add new .img-fluid class 2022-02-15 19:02:37 +00:00
helpers Grid, with rows and columns, see -> 2022-02-26 14:28:51 +00:00
objects Grid, with rows and columns, see -> 2022-02-26 14:28:51 +00:00
settings white blended theme is default 2022-02-04 01:41:41 +00:00
vendor sizes and values generated from sass mq profile 2022-01-26 01:11:52 +00:00
_colors.scss css,js sources 2022-01-23 19:09:33 +00:00
_container.scss +container, full-width-container 2022-01-28 12:23:27 +00:00
_global.scss removal after headings styles now spawned via settings 2022-02-02 12:21:09 +00:00
_maps.scss css,js sources 2022-01-23 19:09:33 +00:00
_utils.scss css,js sources 2022-01-23 19:09:33 +00:00
components.scss css,js sources 2022-01-23 19:09:33 +00:00
core.scss new img-fluid class 2022-02-15 22:32:34 +00:00
helpers.scss Grid, with rows and columns, see -> 2022-02-26 14:28:51 +00:00
objects.scss Grid, with rows and columns, see -> 2022-02-26 14:28:51 +00:00
settings.scss +font, +font-families, +headings, +measurements, +spacing 2022-02-02 12:19:31 +00:00
styles.css.map css,js sources 2022-01-23 19:09:33 +00:00
styles.scss Grid, with rows and columns, see -> 2022-02-26 14:28:51 +00:00