• Stars
    star
    390
  • Rank 109,581 (Top 3 %)
  • Language
    CSS
  • License
    MIT License
  • Created over 10 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Basic Skyline Starter HTML and SCSS

Skyline

Skyline

Evolving CSS Architecture

Introduction

Skyline is a starting point for building custom CSS frameworks. The starter kit provides a solid CSS architecture that acts as a scaffolding to support your unique design system. It promotes object-oriented CSS, written in SCSS using BEM notation.

Learn more at http://skyline.is

Take a look at the example pages, with the initial starter styles at http://crushlovely.github.io/skyline

Credits

Developed by the Crush & Lovely Engineering Team

Feel free to contact Jeff on twitter @jeffschram with questions, comments, etc. And issues and pull requests are always welcome.

Setup

We wanted to keep the starter files as lean as possible. This isn't a self-contained app, it has demo images, example HTML, and the Skyline SCSS files in the CSS folder. You'll likely copy the SCSS files into your own app, and use the example HTML files as guides to mark up your own pages.

β”œβ”€β”€ css
|   β”œβ”€β”€ base
|       β”œβ”€β”€ variables, resets, mixins, global assets like fonts
|   β”œβ”€β”€ elements
|       β”œβ”€β”€ styles for base elements (p, ul, img, form, etc.)
|   β”œβ”€β”€ layout
|       β”œβ”€β”€ grids, widths, utilities, etc.
|   β”œβ”€β”€ modules
|       β”œβ”€β”€ styles for objects/modules you create (.site-header, .hero, .page, .bio, .site-footer, etc.)
|   β”œβ”€β”€ README.md (credits and info about Skyline SCSS)
|
|   β”œβ”€β”€ screen.scss (the manifest file that pulls in all the partials and compiles into screen.css)
|
β”œβ”€β”€ images
|   β”œβ”€β”€ (placeholder images are here for example pages)
|
β”œβ”€β”€ example-forms.html
|
β”œβ”€β”€ example-grids.html
|
β”œβ”€β”€ example-modules.html
|
β”œβ”€β”€ index.html
|
β”œβ”€β”€ README.md

Skyline's architecture is composed of 4 layers.

Base contains global settings, variables, resets, and mixins. These make up the foundation of your CSS.

Elements contains all the global styling for basic stand-alone elements; such as links, quotes, tables, and text.

Layout contains structural helper classes like .container, which restricts content to a consistent max-width, and a responsive grid system as well.

Modules are custom-made components that are used throughout your site. These include global modules like the site header and footer, and other reusable modules like alerts and heroes.

See it in action

You can view the example pages in a browser, make sure you're compiling the SCSS if you want to see any changes you've made to the Skyline files reflected in the examples.

Documentation

Extensive docs are in the works, but not yet released. However, Skyline makes it easy by adding detailed documentation in the comments of the scss partials themselves. Descriptions are right next to the actual code, making it simple to learn how it works.

Copyright

Copyright (c) 2014 Jeff Schram (Crush & Lovely). See LICENSE for further details.

More Repositories

1

Amaro

Featureful iOS Boilerplate
Python
388
star
2

Sidecar

(Yet another) utility belt for iOS applications
Objective-C
38
star
3

ansible-ec2-provision

Ansible role for provisioning EC2 instances
20
star
4

Aperitif

Prompt users to install new versions of your Installr app beta... in style!
Objective-C
16
star
5

max_mind

Ruby library for interacting with the MaxMind GeoIP Web Services
Ruby
11
star
6

capistrano-service

Cleanly manage your Linux services with Capistrano 3.x
Ruby
9
star
7

ansible-deploy-user

Shell
8
star
8

model-presenter

A lightweight model wrapper to prepare your data for the view layer.
JavaScript
7
star
9

dotenv-node

DotEnv loads environment variables from .env into your ENV.
JavaScript
6
star
10

ansible-papertrail

4
star
11

ansible-s3

3
star
12

backbone-presenter

A model-presenter adapter for Backbone models.
JavaScript
3
star
13

application-templates

Ruby
3
star
14

ansible-cloudfront

3
star
15

acts-as-list-extensions

A few convenience methods wrapped in a gem.
Ruby
2
star
16

toolbelt

Ruby
2
star
17

ansible-nodejs

2
star
18

ansible-loggly

Python
2
star
19

mongoid_favoriteable

Ruby
2
star
20

ec2_ami

Ansible role for provisioning EC2 images
2
star
21

ansible-sidekiq-upstart

2
star
22

ansible-dotenv

2
star
23

has-visibility

A tiny gem for setting a visibility property of an ActiveRecord object
Ruby
2
star
24

ruby-library

Miscellaneous ruby scripts
Ruby
1
star
25

crushserver

Miscellaneous Capistrano tasks
Ruby
1
star
26

prince

Ruby
1
star
27

cacheflow

A JavaScript library to work with the window.applicationCache event API
JavaScript
1
star
28

ansible-logrotate

1
star
29

ansible-newrelic

1
star
30

ansible-ec2-group

Ansible role for provisioning EC2 security groups
1
star
31

ansible-forever-app

1
star
32

ansible-ruby

1
star
33

crush-design-components-system

Figma Tokens Plugin starter kit
CSS
1
star
34

exceptionally_beautiful

A Rails engine for handling error pages.
Ruby
1
star
35

mobiscroll-rails

Use Mobiscroll with the Rails 3 asset pipeline.
Ruby
1
star
36

crushlovely.js

JavaScript
1
star
37

envbang-node

Ensure you have all the right environment variables set in your app.
JavaScript
1
star
38

boomerang-embed

Embed Boomerang text content via JSON.
JavaScript
1
star
39

capistrano-upstart-service

Easily define Capistrano 3.x tasks for your Upstart services.
Ruby
1
star
40

ansible-imagemagick

Ansible Role to Install ImageMagick and its dependencies
1
star