Giter Club home page Giter Club logo

skeleton-sass's Introduction

Skeleton-Sass is the (un)official Sass version of Dave Gamache's Skeleton Framework. It currently featues a stable version of Skeleton 2.0.4


Skeleton is a simple, responsive boilerplate to kickstart any responsive project.

Check out http://getskeleton.com for documentation and details.

Getting started

Install Global Dependencies

Install Local Dependencies

  • Download zip, clone the repo or bower install skeleton-scss from your terminal
  • cd to project folder
  • run [sudo] npm install (first time users)
  • run grunt (to watch and compile sass files)

What's in the download?

The download includes Skeleton's CSS, Normalize CSS as a reset, a sample favicon, and an index.html as a starting point.

skeleton/
├── index.html
├── scss/
│   └── skeleton.scss
├── images/
│   └── favicon.png
├── package.json
├── Gruntfile.js
└── README.md

Contributions

The goal of Skeleton-Sass is to have a mirrored Sass repository of Skeleton. In order to keep the integrity of the original Skeleton framework, I cannot accept any features or functionality outside the original implementation of Dave Gamache's Skeleton Framework. If you would like to see features, functionality, or extensions outside of the original please make a PR / or issue on the original skeleton framework.

If you have sass improvements, additional mixins, or other helpful sass techniques that stay within the original codebase. Feel free to make a pull request!

Why it's awesome

Skeleton is lightweight and simple. It styles only raw HTML elements (with a few exceptions) and provides a responsive grid. Nothing more.

  • Minified, it's less than a kb
  • It's a starting point, not a UI framework
  • No compiling or installing...just vanilla CSS

Browser support

  • Chrome latest
  • Firefox latest
  • Opera latest
  • Safari latest
  • IE latest

The above list is non-exhaustive. Skeleton works perfectly with almost all older versions of the browsers above, though IE certainly has large degradation prior to IE9.

License

All parts of Skeleton-sass are free to use and abuse under the open-source MIT license.

Colophon

Skeleton was built using Sublime Text 3 and designed with Sketch. The typeface Raleway was created by Matt McInerney and Pablo Impallari. Code highlighting by Google's Prettify library. Icons in the header of the documentation are all derivative work of icons from The Noun Project. Feather by Zach VanDeHey, Pen (with cap) by Ed Harrison, Pen (with clicker) by Matthew Hall, and Watch by Julien Deveaux.

Acknowledgement

Skeleton was created by Dave Gamache for a better web.

Skeleton-Sass was created by Seth Coelen for a better Skeleton.

Buy me a coffee at ko-fi.com

skeleton-sass's People

Contributors

dirtycoder avatar haxiomic avatar ngtk avatar rafaell-lycan avatar solleer avatar tenshi13 avatar wesvetter avatar whatsnewsaes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

skeleton-sass's Issues

Separate main skeleton file into modules ...

... move variables from main skeleton file into _variables.scss module and put rest of source code into _base.scss module. Main skeleton file should then include them ...

This way you can keep source code as it is and you do not have problems updating to the latest version when using skeleton as a dependency ...

Missing package.json

Hi,

The install says that I need to run npm install, but there is no package.json. What am I missing here?

Cheers,
ed

Not displaying scandinavian letters

Hello. I love this repo, but when i switched my html from regular skeleton to this one, the letters "æ, ø and å" did not show. Do you know what causes it?

Create modules

Skeleton it's a amazing and simple grid system, and that's awesome.

Maybe we could divide the files by definition like the "Table of contents" int the main file.

What you say about it?

column widths not the same as original CSS

Hi,

This is more of a question - but how come the column widths in this SASS (and also LESS) project seem to be so different to those in the original CSS?

For example, the original skeleton.css reads:

  .one.column,
  .one.columns                    { width: 4.66666666667%; }
  .two.columns                    { width: 13.3333333333%; }
  .three.columns                  { width: 22%;            }
  .four.columns                   { width: 30.6666666667%; }
  .five.columns                   { width: 39.3333333333%; }
  .six.columns                    { width: 48%;            }
  .seven.columns                  { width: 56.6666666667%; }
  .eight.columns                  { width: 65.3333333333%; }
  .nine.columns                   { width: 74.0%;          }
  .ten.columns                    { width: 82.6666666667%; }
  .eleven.columns                 { width: 91.3333333333%; }
  .twelve.columns                 { width: 100%; margin-left: 0; }

But the SCSS file compiles to:

  .container .one.column,
  .container .one.columns {
    width: 6.83333%;
  }
  .container .two.columns {
    width: 15.16667%;
  }
  .container .three.columns {
    width: 23.5%;
  }
  .container .four.columns {
    width: 31.83333%;
  }
  .container .five.columns {
    width: 40.16667%;
  }
  .container .six.columns {
    width: 48.5%;
  }
  .container .seven.columns {
    width: 56.83333%;
  }
  .container .eight.columns {
    width: 65.16667%;
  }
  .container .nine.columns {
    width: 73.5%;
  }
  .container .ten.columns {
    width: 81.83333%;
  }
  .container .eleven.columns {
    width: 90.16667%;
  }
  .container .twelve.columns {
    width: 100%;
    margin-left: 0;
  }

_typography import missing in skeleton.scss

Not sure if this is intended, I noticed it after redownloading a project of mine, bower downloaded the latest version of this project, which in turn broke the typography of the page because it was based on the old version where typography was part of skeleton.scss

Rubygem support?

Hello! It would be great if you'd pack this into a gem!
So that i can install/update the package via terminal gem install skeleton-sass
and then just require it in my main scss file @import "skeleton-sass"

In this way I can actually include the modules I need and not the whole project

Getting rid of html font-size: 62.5%

I've seen you're using the 62.5% font size 'trick' on the html element to simplify the mathematical aspect of converting px to rem. Using a rem-calc function (like Foundation has one) would solve your "problem" without messing around with the base font-size.
(Besides the point that setting type sizes in px is considered bad practice for legitimate reasons anyway.)

@function strip-unit($num) {
  @return $num / ($num * 0 + 1);
}

@function convert-to-rem($value, $base-value: $rem-base)  {
  $value: strip-unit($value) / strip-unit($base-value) * 1rem;
  @if ($value == 0rem) { $value: 0; } // Turn 0rem into 0
  @return $value;
}

@function rem-calc($values, $base-value: $rem-base) {
  $max: length($values);
  @if $max == 1 { @return convert-to-rem(nth($values, 1), $base-value); }
  $remValues: ();
  @for $i from 1 through $max {
    $remValues: append($remValues, convert-to-rem(nth($values, $i), $base-value));
  }
  @return $remValues;
}

So you could simply type margin-bottom: rem-calc(20px);
If you're interested in this I could submit a pull request.

bower.json doesn't point to main file

Hey, I noticed that I couldn't use grunt's wiredep for this package, turns out the "main" property in bower.json doesn't point to the file. It says "skeleton.scss", however, it should say "scss/skeleton.scss". (as the file resides in the /scss directory)

Suggestion - libsass integration?

Good day,

Sorry to be abrupt, just found Skeleton-Sass.
Am quite happy playing around with it, and would like to contribute.

I would highly suggest libsass integration.
From experience, trading ruby sass engine with libsass is beneficial because:

  • a LOT faster than ruby sass on larger projects
  • does not need ruby as a dependency

The change is quite simple and easy, (I've done and tested it on local test pages)
You should be able to have a look here:
master...tenshi13:master.add.libsass

The change is basically using:

  • node-sass (the node wrapper for libsass )
  • then grunt-sass (allows us to interface to node-sass via grunt)

would like to hear what you think?

regards,
Ethan HO

Create this as it's own bower pacakge??

Would it be a good idea for this fork, to create it as a bower package, so we can include dependencies etc. Or should we just add in normalize.css and manage the version updates ourselves?

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.