Git Product home page Git Product logo

WARNING

This repository has been discontinuated, our current website code is stored on: https://github.com/codelittinc/codelitt-v2

Codelitt

Description

Awesome company website!

Installation

  • Create gemset rvm use 2.1.1@codelitt --create

  • Install gems bundle install

  • Run the server rails server

  • Watch stylesheets for changes compass watch

Setup

Stylesheets

  • We are using SASS(SCSS) for stylesheets.
  • They are stored in the public/sass folder and compiled to CSS in the public/stylesheets folder.
  • The stylesheet folder is not committed in order to keep the repo DRY.

Partials

  • We are using partials for each element of the page.
  • All partials are called in application.scss.
  • The layout.erb then links to the compiled application.css.

Media Queries

Media queries are simple using the breakpoint gem.

Variables

Use the same values as bootstrap for media queries.

  $sm: 768px;
  $md: 992px;
  $lg: 1200px;
Example:

Using breakpoint we can set the height to auto if the page width is bigger than 768px which is our $sm value.

   .codelitt-big {
      margin: -20px 0 0;
      padding: 0;
      width: 100%;
      height: 400px;

      background: $codelitt-dark;

      @include breakpoint($sm) {
        height: auto;
    }

Cody Littlewood's Projects

book-notes icon book-notes

Notes from books and other interesting things that I've read.

codelittcom icon codelittcom

Out of date. New repo @ https://github.com/codelittinc/codelitt

dotfiles icon dotfiles

All of my dotfiles from Arch Linux for mobility between machines

helicopterizer icon helicopterizer

Solution Open Source in Backup and Restore, for Docker Container in the Cloud Providers!

launchpage-rails icon launchpage-rails

Prelaunch MVP landing page (open source alternative to LaunchRock) to get you going quickly so you can focus on your product. Written in Ruby and Rails 4.2 with email collection for two or more user types, social sharing after user signs in, and automailer to new user.

vim-qtpl icon vim-qtpl

This works but is basic - better support here https://github.com/codelitt/vim-go

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.