Git Product home page Git Product logo

webgen-sass_twitter_bootstrap-bundle's Introduction

Sass Twitter Bootstrap framework for webgen

This is a webgen extension bundle that provides the Sass port of the Twitter Bootstrap framework. This allows the easy inclusion of parts or all of the Twitter Bootstrap framework in webgen websites.

It is based on the great LESS-to-Sass translation sass-twitter-bootstrap.

Usage

Since this is a port of the Twitter Bootstrap CSS framework to Sass, you can only use it if you use Sass. The needed Sass stylesheets are provided under the /bootstrap/ path. Note that the Sass files are only available to the Sass/Scss content processors, i.e. no nodes are created for them!

The following statement placed in any Sass stylesheet you use in your webgen website would import the whole Bootstrap CSS framework:

@import "/bootstrap/bootstrap"

The Twitter Bootstrap javascript files are provided as passive nodes under the /javascripts/ path. Note that they depend on JQuery, so the JQuery javascript library needs to be loaded before any of these files!

Installation

The easiest way to install this extension bundle is by installing the corresponding Rubygem:

gem install webgen-sass_twitter_bootstrap-bundle

If you don't use Rubygems, copy the folder lib/webgen/bundle/sass_twitter_bootstrap into your ext directory.

After that you just need to tell webgen to use this extension bundle by adding the following line to your ext/init.rb file:

load("sass_twitter_bootstrap")

Copyright and license

Copyright (c) 2013 Thomas Leitner under the MIT license (see LICENSE)


The used files from the sass-twitter-bootstrap repository are licensed under the Apache License, Version 2 (see https://github.com/jlong/sass-twitter-bootstrap#copyright-and-license).

webgen-sass_twitter_bootstrap-bundle's People

Contributors

gettalong avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  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.