Skip to content

Commit

Permalink
V2.6.0: Refactor gridlex-var with new array for breakpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
LGI@acti committed Nov 16, 2017
1 parent 2854f85 commit c89d262
Show file tree
Hide file tree
Showing 19 changed files with 254 additions and 251 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Just a Flexbox Grid System

[![Join the chat at https://gitter.im/devlint/gridlex](https://badges.gitter.im/devlint/gridlex.svg)](https://gitter.im/devlint/gridlex?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
v. 2.5.0
v. 2.6.0


Based on Flexbox (CSS Flexible Box Layout Module), Gridlex is a very simple css grid system to quickly create modern layouts and submodules.
Expand All @@ -24,7 +24,7 @@ To use Gridlex out of the box, call the gridlex.min.css file in your project :

Via cdnjs:
```html
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/gridlex/2.5.0/gridlex.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/gridlex/2.6.0/gridlex.min.css">
```

**I want to include it in my source files!**
Expand Down
26 changes: 13 additions & 13 deletions dist/gridlex.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions dist/gridlex.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/gridlex.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/cards.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
<header class="header">
<div><a href="index.html">
<h1>Gridlex</h1>
<p>Just a Flexbox Grid System <br>(2.5.0)</p>
<p>Just a Flexbox Grid System <br>(2.6.0)</p>
</a></div>
</header>
<div class="demoPage grid">
Expand Down
2 changes: 1 addition & 1 deletion docs/contribs.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<header class="header">
<div><a href="index.html">
<h1>Gridlex</h1>
<p>Just a Flexbox Grid System <br>(v2.5.0)</p>
<p>Just a Flexbox Grid System <br>(v2.6.0)</p>
</a></div>
</header>
<div class="demoPage">
Expand Down
2 changes: 1 addition & 1 deletion docs/expo.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
<header class="header">
<div><a href="index.html">
<h1>Gridlex</h1>
<p>Just a Flexbox Grid System <br>(2.5.0)</p>
<p>Just a Flexbox Grid System <br>(2.6.0)</p>
</a></div>
</header>

Expand Down
26 changes: 13 additions & 13 deletions docs/gridlex.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions docs/gridlex.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/gridlex.min.css

Large diffs are not rendered by default.

27 changes: 10 additions & 17 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<header class="header">
<div><a href="index.html">
<h1>Gridlex</h1>
<p>Just a Flexbox Grid System <br>(v2.5.0)</p>
<p>Just a Flexbox Grid System <br>(v2.6.0)</p>
</a></div>
</header>
<div class="demoPage">
Expand Down Expand Up @@ -73,7 +73,7 @@ <h3>How to use Gridlex (in CSS)?</h3>
<p><strong>Gridlex</strong> is ready to use "out of the box" in CSS, with all the vendor prefixes
needed:</p>
<pre class="doc"><code>&lt;link rel="stylesheet" href="<a
href="https://cdnjs.cloudflare.com/ajax/libs/gridlex/2.5.0/gridlex.min.css">https://cdnjs.cloudflare.com/ajax/libs/gridlex/2.5.0/gridlex.min.css</a>"></code></pre>
href="https://cdnjs.cloudflare.com/ajax/libs/gridlex/2.6.0/gridlex.min.css">https://cdnjs.cloudflare.com/ajax/libs/gridlex/2.6.0/gridlex.min.css</a>"></code></pre>
<p>See <a href="#documentation">CSS documentation</a></p>
</div>
<div class="col-12">
Expand Down Expand Up @@ -1797,22 +1797,22 @@ <h3>Columns can be hidden at breakpoints using <code> *-hidden</code> (e.g. <cod
</thead>
<tbody>
<tr>
<td><code>@media screen and (max-width: 36rem)</code></td>
<td><code>@media (max-width: 36em)</code></td>
<td>Max 576px</td>
<td><code><b>_xs</b>-*</code></td>
</tr>
<tr>
<td><code>@media screen and (max-width: 48em)</code></td>
<td><code>@media (max-width: 48em)</code></td>
<td>Max 768px</td>
<td><code><b>_sm</b>-*</code></td>
</tr>
<tr>
<td><code>@media screen and (max-width: 64em)</code></td>
<td><code>@media (max-width: 64em)</code></td>
<td>Max 1024px</td>
<td><code><b>_md</b>-*</code></td>
</tr>
<tr>
<td><code>@media screen and (max-width: 80em)</code></td>
<td><code>@media (max-width: 80em)</code></td>
<td>Max 1280px</td>
<td><code><b>_lg</b>-*</code></td>
</tr>
Expand Down Expand Up @@ -1857,23 +1857,16 @@ <h2>Variables</h2>
<tr>
<td><code>$gl-mq-list:</code></td>
<td><pre><code>(
lg: "screen and (max-width: 80em)", // max 1280px
md: "screen and (max-width: 64em)", // max 1024px
sm: "screen and (max-width: 48em)", // max 768px
xs: "screen and (max-width: 36rem)" // up to 576px
lg: 80em,
md: 64em,
sm: 48em,
xs: 36em
)</code></pre>
</td>
</tr>
</tbody>
</table>
</div>
<!-- <pre><code>
@import "~gridlex";
// I only want one mediaqueries, with `large` key:
$gl-mq-list: (
large: "screen and (max-width: 80em)"
) !default;
</code></pre>-->
</section>

<section id="caniuse">
Expand Down
4 changes: 2 additions & 2 deletions docs/indexAttribute.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<header class="header">
<div><a href="index.html">
<h1>Gridlex</h1>
<p>Just a Flexbox Grid System <br>(v2.5.0)</p>
<p>Just a Flexbox Grid System <br>(v2.6.0)</p>
</a></div>
</header>
<div class="demoPage">
Expand Down Expand Up @@ -63,7 +63,7 @@ <h3>What can we expect?</h3>
<div gridlex="col-12">
<h3>How to use Gridlex (in CSS)?</h3>
<p><strong>Gridlex</strong> is ready to use "out of the box" in CSS, with all the vendor prefixes needed:</p>
<pre class="doc"><code>&lt;link rel="stylesheet" href="<a href="https://cdnjs.cloudflare.com/ajax/libs/gridlex/2.5.0/gridlex.min.css">https://cdnjs.cloudflare.com/ajax/libs/gridlex/2.5.0/gridlex.min.css</a>"></code></pre>
<pre class="doc"><code>&lt;link rel="stylesheet" href="<a href="https://cdnjs.cloudflare.com/ajax/libs/gridlex/2.6.0/gridlex.min.css">https://cdnjs.cloudflare.com/ajax/libs/gridlex/2.6.0/gridlex.min.css</a>"></code></pre>
<p>See <a href="#documentation">CSS documentation</a></p>
</div>
<div gridlex="col-12">
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"url": "https://github.com/devlint/gridlex",
"homepage": "http://gridlex.devlint.fr",
"author": "https://github.com/devlint",
"version": "2.5.0",
"version": "2.6.0",
"repository": {
"type": "git",
"url": "[email protected]:devlint/gridlex.git"
Expand Down
5 changes: 0 additions & 5 deletions src/gridlex-breakpoints.scss

This file was deleted.

Loading

0 comments on commit c89d262

Please sign in to comment.