Skip to content

Commit

Permalink
Merge pull request #23 from bjankord/3.0.0-in-development
Browse files Browse the repository at this point in the history
v3.0.0 development branch
  • Loading branch information
bjankord committed Jun 17, 2015
2 parents 07a76a1 + b0d06ab commit 0aa3d19
Show file tree
Hide file tree
Showing 18 changed files with 881 additions and 475 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
3.0.0 / 2015-06-16
==================

* Added 'no-js' class to HTML element to help with progressive enhancement
* Added meta theme-color tag
* Added minor accessibility improvements
* Added picture element to media.html example file
* Changed nav toggle element to button
* Changed "View Source" and "Copy Source" actions to button elements
* Cleaned up spacing and comment wording in functions.php
* Cleaned up sg-scripts.js
* Cleaned up sg-style.css
* Removed global form navigation
* Removed example of fieldset with large amount of text
* Removed code-prettify (prettyprint) styles
* Reworked listMarkupAsOptions function into listMarkupAsListItems function
* Reworked layout template and styles to be more responsive
* Updated README.md
* Updated media query breakpoints
* Updated wording in "Getting Started" section
* Updated meta viewport tag
* Updated font stack markup and styling
* Updated color swatch markup and styling
* Updated JavaScript syntax highlighter to prism.js

2.6.1 / 2015-03-26
==================

Expand Down
30 changes: 19 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Style-Guide-Boilerplate v2.6.1
Style-Guide-Boilerplate v3.0.0
==============================

A starting point for crafting living style guides.
Expand All @@ -7,7 +7,7 @@ A starting point for crafting living style guides.

*Note: Sample patterns have been included in the demo. Your site will have it's own unique patterns.*

![Screenshot](http://bjankord.github.io/Style-Guide-Boilerplate/assets/screenshot-1.jpg)
![Screenshot](http://brettjankord.com/projects/style-guide-boilerplate/style-guide-boilerplate-v3.0.0.jpg)

## Getting Started With Style Guide Boilerplate

Expand Down Expand Up @@ -53,6 +53,18 @@ For example, if you want to create doc for `markup/patterns/breadcrumbs.html`, c

You should now be able to see the new doc at `yoursite.com/style-guide/`

## Running the app
You can run the application with PHP's built in web server. Simply run the following command:

`php -S localhost:8000`

Now, browse to [http://localhost:8000](http://localhost:8000) to see the website.

## Generating static HTML style guide
You can generate a static index.html version of style guide boilerplate by running the following command:

`php index.php > index.html`

## Browser Support
I've built **Style Guide Boilerplate** with progressive enhancement in mind to work on a wide range of browsers.

Expand All @@ -62,19 +74,16 @@ Known supported browsers include:
* Firefox
* Safari
* Opera
* IE6+
* Stock Android Browser (4.0+)
* Chrome for Android
* Firefox for Android
* Opera Mini
* Opera Mobile
* IE8+
* Safari for iOS
* Chrome for iOS
* Stock Android Browser (4.0+)

If you come across any bugs, or have any other issues with the boilerplate, please open an issue here on GitHub.


## Additional Resources
[Styleguides.io](http://styleguides.io)

[Front-end Style Guides](http://24ways.org/2011/front-end-style-guides/)

[Front-end Style Guide Roundup](https://gimmebar.com/collection/4ecd439c2f0aaad734000022/front-end-styleguides)
Expand All @@ -100,6 +109,7 @@ Jeremy Keith for letting me build on top of [Pattern Primer](https://github.com/

## Ports
* A nodejs port using handlebars is available at [Style-Guide-Boilerplate-nodejs](https://github.com/DeadlyBrad42/Style-Guide-Boilerplate-nodejs).
* A ruby port avaiable at [Rails_App_Style_Guide](https://github.com/JoshuaMSchultz/Rails_App_Style_Guide)

## Contributing to this project

Expand All @@ -110,8 +120,6 @@ review the [guidelines for contributing](CONTRIBUTING.md).
* [Feature requests](CONTRIBUTING.md#features)
* [Pull requests](CONTRIBUTING.md#pull-requests)



## Licensing
**Style Guide Boilerplate** is licensed under the [MIT License](http://en.wikipedia.org/wiki/MIT_License)

Expand Down
84 changes: 84 additions & 0 deletions css/sg-style-old-ie.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
/* -------------------------------------------------------------------------
Style Guide Boilerplate
Repo: https://github.com/bjankord/Style-Guide-Boilerplate
Author: Brett Jankord
License: MIT
---------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------
Old IE Styles
---------------------------------------------------------------------------- */
.sg-container {
min-width: 1024px;
}

.sg-sidebar,
.js .sg-sidebar,
.js.nav-is-active .sg-sidebar {
bottom: 0;
float: left;
font-size: 100%;
opacity: 1;
position: absolute;
top: 0;
width: 25%;
}

.sg-main {
float: right;
width: 75%;
}


.sg-logo-initials {
display: none;
}

.sg-logo-full {
display: inline;
}


.sg-nav-toggle {
display: none;
}


.sg-enhanced .sg-btn--select {
display: block;
}


.sg-color-grid {
margin: 0 -2.5%;
overflow: hidden;
}

.sg-color {
float: left;
margin-left: 2.5%;
margin-right: 2.5%;
width: 45%;
}

.sg-color-swatch {
padding-top: 60%; /* Used to set height of color swatch */
}


.sg-color {
margin-left: 1.5%;
margin-right: 1.5%;
width: 22%;
}

.sg-color-grid {
margin: 0 -1.5%;
}

.sg-font-list dt {
float: left;
padding-right: .25em;
}
Loading

0 comments on commit 0aa3d19

Please sign in to comment.