Git Product home page Git Product logo

cabin.css's Introduction

#Cabin CSS Framework

Cabin is a lean, modular and unobtrusive CSS framework. Cabin helps your projects get going quicker by eliminating the need for you to write basic CSS styles yourself.

##What's in the core file?

The core cabin.css file is supposed to be as simple (yet supportive) as possible—perfect for smaller websites and applications.

###What is covered

html, body, .wrapper, .left, .right, .nomargin, .box, .cf, h1, h2, h3, h4, h5, h6, p, q, i, em, cite, b, strong, s, del, mark, abbr, small, hr, blockqupte, a, code, pre, .codecomment, ::selection, ul, ol, dl, img, embed, object, video

It also includes 3 basic menu styles:

  • Horizontal menu by adding class="horizontal" to your menu <ul>
  • Horizontal center aligned menu by adding class="centered" to your menu <ul>
  • Vertical menu by adding class="vertical" to your menu <ul>

###What isn't covered

The core file does not include predefined styles for elements associated with:

  • forms
  • tables

Grids have now been completely removed from Cabin as there are much better systems available.

##Cabin's extensions

Cabin's extension CSS files allow you to add additional predefined styles to the framework as you need them. Inclusion in your project is as simple as downloading the desired CSS file and including it in your project. There are 2 easy ways of going about this, the first uses @import found at the top of the cabin.css file

@charset "UTF-8";
@import url("reset.cabin.css");
/*==================================================*/
/*  Cabin CSS Framework by Adam Whitcroft           */
/*  hello[at]adamwhitcroft[dot]com                  */
/*  @adamwhitcroft                                  */
/*==================================================*/

Or if you prefer, you can add a <link /> inside the <head> of your page after the core cabin.css link.

<!DOCTYPE html>
<head>
  <title>Let's hug kittens!<title>
  <!-- Core Cabin .css file -->
  <link rel="stylesheet" href="cabin.css" />
  <!-- Cabin extension .css file -->
  <link rel="stylesheet" href="reset.cabin.css" />
</head>

##Licensing and feedback

Cabin CSS Framework and it's extensions are available to you freely on an "as is" basis. This means you can use it when you like, where you like and how you like without fear of reprimand. Neat huh?

All I ask is that if you do choose Cabin let me know—it would make me a happy chappy. Tweet @adamwhitcroft with your feedback, suggestions or just to let me know how you've gotten on with it.

cabin.css's People

Watchers

James Cloos 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.