GithubHelp home page GithubHelp logo

abdieffendi / mueller Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sehmaschine/mueller

0.0 1.0 0.0 109 KB

MUELLER is a modular grid system for responsive/adaptive and non-responsive layouts, based on Compass.

Home Page: http://www.muellergridsystem.com

License: Other

mueller's Introduction

MUELLER

Modular Grid System.

About

MUELLER is a modular grid system for responsive/adaptive and non-responsive layouts, based on Compass. You have full control over column width, gutter width, baseline grid and media-queries.

Modules

Media

One default grid and (if needed) different per-media grids (e.g. large, tablet, handheld):

@include grids(d,
    24,
    20px,
    20px,
    0 2 3 4 6 8 12 16 24,
    0 2 4 6 8 12);

Layouts

Extend your media-grids to pre-defined layouts (e.g. a 2-column layout with switched columns):

.l-2c {
    @extend .g-d-24;
    @extend .g-l-24;
    @extend .g-tp-12;
    @extend .g-h-6;
    .c-1 {
        @extend .g-d-12;
        @extend .g-l-12;
        @extend .g-tp-6;
        @extend .g-h-3;
    }
    .c-2 {
        @extend .g-d-12;
        @extend .g-l-12;
        @extend .g-tp-6;
        @extend .g-h-3;
    }
}

Fractions

On top of grids and layouts, add fractional classes (e.g. all-half, all-thirds, all-1of3):

.g-all-half {
    .l-1c .c-1 & {
        @extend .g-d-12;
        @extend .g-l-12;
        @extend .g-tp-6;
        @extend .g-h-3;
    }
}

Templates

The semantic way — add templates instead of using presentational classes in your markup:

.template-1 {
    #page {
        @extend .l-2c;
    }
    #content {
        @extend .c-1;
    }
    #sidebar {
        @extend .c-2;
    }
}

Examples

see index.html and www.muellergridsystem.com.

Practice

MUELLER is NOT working out of the box. Read the Code, read this and try to understand what´s happening. Learn Sass/Compass.

Change the grid, change the baseline, activate/deactivate different media-queries, add layouts/fractions. Figure out what´s working best for you.

Think about your layout first — you can´t just add "responsiveness" to every given layout. Reflect on Mobile First, use HTML5.

System

You mainly get the file grid_system – this is where the system is defined. All other parts (media, layouts, fractions, templates) are just examples of how to work with MUELLER. MUELLER is licensed under BSD.

Credits

MUELLER is largely a copy of the ideas outlined by Chris Eppstein and heavily inspired by the work of Joni Korpi. The name MUELLER refers to Josef Müller-Brockmann. Besides, it´s part of my last name.

mueller's People

Contributors

sehmaschine avatar parsch avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.