├── .rbenv-gemsets
├── Gemfile
├── Gemfile.lock
├── LICENSE.txt
├── README.md
├── css
├── concrete.css
└── concrete.css.map
├── index.html
└── scss
├── _mixins.scss
├── _reset.scss
└── concrete.scss
/.rbenv-gemsets:
--------------------------------------------------------------------------------
1 | concrete
2 |
--------------------------------------------------------------------------------
/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 | gem 'sass'
3 |
--------------------------------------------------------------------------------
/Gemfile.lock:
--------------------------------------------------------------------------------
1 | GEM
2 | remote: https://rubygems.org/
3 | specs:
4 | sass (3.4.9)
5 |
6 | PLATFORMS
7 | ruby
8 |
9 | DEPENDENCIES
10 | sass
11 |
--------------------------------------------------------------------------------
/LICENSE.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2013 David Lumley
2 |
3 | MIT License
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | "Software"), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Concrete
2 |
3 | A simple, responsive, ultra lightweight twelve column grid framework.
4 |
5 |
6 | Concrete is designed to be easy to read, simple to use, and small in file size.
7 |
8 | It's currently:
9 | * **2402** bytes or
10 | * **709** bytes gzipped
11 |
12 | ## Usage
13 |
14 | Concrete's grid is build using `columns` classes which are inside of a `row` class.
15 |
16 | The `row` class encapsulates the `columns`. As Concrete uses a twelve column grid, the `twelve columns` class will take up the whole of the row.
17 |
18 |
19 |
20 |
21 |
22 |
23 | You can mix it up however you like though.
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 | You can put a `row` class inside of a `column` class in order to nest `columns`.
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 | You can also [see it in action](http://davidlumley.github.io/concrete/).
48 |
49 | ## Contributing
50 |
51 | If you're eager to contribute to Concrete's development, please fork it, create a feature branch, then make a pull request.
52 |
53 | ### Converting SASS/SCSS to CSS
54 |
55 | You'll need to ensure ruby is installed.
56 |
57 | * `gem install bundler` - to install bundler
58 | * `bundle install` - to install sass
59 | * `sass --watch ./scss:./css -t compressed` - to watch the files in the SCSS directory for changes, and compile them into `concrete.css`
60 |
--------------------------------------------------------------------------------
/css/concrete.css:
--------------------------------------------------------------------------------
1 | html,body{margin:0;padding:0}*,*:after,*:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row{overflow:hidden;max-width:1024px;min-width:768px;margin:0 auto}.row:after{content:"";display:table;clear:both}.row .row{max-width:100%;min-width:100%}.column,.columns{float:left;padding-left:10px;padding-right:10px}.column .column:first-of-type,.column .columns:first-of-type,.columns .column:first-of-type,.columns .columns:first-of-type{padding-left:0}.column .column:last-of-type,.column .columns:last-of-type,.columns .column:last-of-type,.columns .columns:last-of-type{padding-right:0}.column.without-padding,.columns.without-padding{padding-left:0;padding-right:0}.column.one,.columns.one{width:8.33333%}.column.two,.columns.two{width:16.66667%}.column.three,.columns.three{width:25%}.column.four,.columns.four{width:33.33333%}.column.five,.columns.five{width:41.66667%}.column.six,.columns.six{width:50%}.column.seven,.columns.seven{width:58.33333%}.column.eight,.columns.eight{width:66.66667%}.column.nine,.columns.nine{width:75%}.column.ten,.columns.ten{width:83.33333%}.column.eleven,.columns.eleven{width:91.66667%}.column.twelve,.columns.twelve{width:100%}.offset.by-one{margin-left:8.33333%}.offset.by-two{margin-left:16.66667%}.offset.by-three{margin-left:25%}.offset.by-four{margin-left:33.33333%}.offset.by-five{margin-left:41.66667%}.offset.by-six{margin-left:50%}.offset.by-seven{margin-left:58.33333%}.offset.by-eight{margin-left:66.66667%}.offset.by-nine{margin-left:75%}.offset.by-ten{margin-left:83.33333%}.offset.by-eleven{margin-left:91.66667%}@media handheld, only screen and (max-width: 767px){.row{width:100%;min-width:0}.offset.by-one,.offset.by-two,.offset.by-three,.offset.by-four,.offset.by-five,.offset.by-six,.offset.by-seven,.offset.by-eight,.offset.by-nine,.offset.by-ten,.offset.by-eleven{margin-left:0}.column.one,.column.two,.column.three,.column.four,.column.five,.column.six,.column.seven,.column.eight,.column.nine,.column.ten,.column.eleven,.column.twelve,.columns.one,.columns.two,.columns.three,.columns.four,.columns.five,.columns.six,.columns.seven,.columns.eight,.columns.nine,.columns.ten,.columns.eleven,.columns.twelve{width:auto;float:none;padding-left:10px;padding-right:10px}.column .column,.column .columns,.columns .column,.columns .columns{padding-left:0;padding-right:0}}
2 | /*# sourceMappingURL=concrete.css.map */
3 |
--------------------------------------------------------------------------------
/css/concrete.css.map:
--------------------------------------------------------------------------------
1 | {
2 | "version": 3,
3 | "mappings": "AAAA,SAAU,CACR,MAAM,CAAG,CAAC,CACV,OAAO,CAAE,CAAC,CAGZ,kBAAmB,CACjB,kBAAkB,CAAE,UAAU,CAC9B,eAAe,CAAK,UAAU,CAC9B,UAAU,CAAU,UAAU,CCDhC,IAAK,CACH,QAAQ,CAAG,MAAM,CACjB,SAAS,CANC,MAAM,CAOhB,SAAS,CANC,KAAK,CAOf,MAAM,CAAK,MAAM,CAEjB,UAAQ,C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,CAAE,SACf,CDmEA,mDAAkD,CAChD,IAAK,CACH,KAAK,CAAE,IAAI,CACX,SAAS,CAAE,CAAC,CAIZ,gLAUY,CACV,WAAW,CAAE,CAAC,CAKhB,yUAWS,CACP,KAAK,CAAU,IAAI,CACnB,KAAK,CAAU,IAAI,CACnB,YAAY,CAzGF,IAAI,CA0Gd,aAAa,CA1GH,IAAI,CA6GhB,mEAAkB,CAChB,YAAY,CAAG,CAAC,CAChB,aAAa,CAAE,CAAC",
4 | "sources": ["../scss/_reset.scss","../scss/concrete.scss","../scss/_mixins.scss"],
5 | "names": [],
6 | "file": "concrete.css"
7 | }
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Concrete
4 |
5 |
8 |
9 |
10 |
11 |
12 |
Concrete
13 |
A simple, responsive, ultra lightweight grid framework designed to work on high resolution desktops, right down to mobile. Check it out on Github