diff --git a/images/apple-touch-icon-114x114.png b/images/apple-touch-icon-114x114.png deleted file mode 100644 index 88a9d5e..0000000 Binary files a/images/apple-touch-icon-114x114.png and /dev/null differ diff --git a/images/apple-touch-icon-72x72.png b/images/apple-touch-icon-72x72.png deleted file mode 100644 index bbca145..0000000 Binary files a/images/apple-touch-icon-72x72.png and /dev/null differ diff --git a/images/apple-touch-icon.png b/images/apple-touch-icon.png deleted file mode 100644 index 72281c1..0000000 Binary files a/images/apple-touch-icon.png and /dev/null differ diff --git a/images/feathers.svg b/images/feathers.svg new file mode 100644 index 0000000..cc2fdb7 --- /dev/null +++ b/images/feathers.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/index.html b/index.html index f0c5b93..2467652 100644 --- a/index.html +++ b/index.html @@ -1,14 +1,11 @@ - - - - + - Your Page Title Here :) + Your Page Title Here @@ -23,21 +20,12 @@ - - - - - - - @@ -46,189 +34,347 @@ –––––––––––––––––––––––––––––––––––––––––––––––––– -->
-

A responsive boilerplate just for the basics.

- Download +

A dead simple, responsive boilerplate.

+ Download
- - Mobile first and weighing in at measly .5kb + + Super light at less than a kb & built with mobile in mind.
- Only styles basic HTML elements + Styles designed to be a starting point, not a UI framework.
- Not a framework, but a jumping off point for devs + No compiling or installing necessary. Just vanilla CSS.
+
+ +
+ -
-
-
Why use Skeleton
-

You should use Skeleton if you're feeling like whole UI frameworks like Bootstrap, Foundation, and Pure are overkill for your projects and you just want the basics. Just styling the 80+ standard HTML elements (<button>, <p>, <nav>, …) can get you really far. For what it's worth, this site is built on Skeleton and only requires ~100 lines of additional CSS.

-
+
+
Is Skeleton for you?
+

You should use Skeleton if you're feeling like whole UI frameworks like Bootstrap and Foundation are overkill for your project and you just want the basics. Skeleton only styles a handful of standard HTML elements and includes a grid, but that's often more than enough to get started. In fact, this site is built on Skeleton and has less than 100 lines of custom CSS.

+

Love Skeleton and want to share it, follow it, love it? Well, I appreciate that <3

+ + + + +
-
-
-
The grid
-

The grid is just a 12-column fluid grid with a max width of 960px (but this can be changed with one line of CSS). The syntax is simple and it makes responsive implementation much, much easier. Go ahead, resize the browser.

-
-
One
-
Eleven
-
Two
-
Ten
-
Three
-
Nine
-
Four
-
Eight
-
Five
-
Seven
-
Six
-
Six
-
Seven
-
Five
-
Eight
-
Four
-
Nine
-
Three
-
Ten
-
Two
-
Eleven
-
One
+
+
The grid
+

The grid is just a 12-column fluid grid with a max width of 960px, but the max can be changed with one line of CSS. The syntax is simple and it makes responsive implementation much, much easier. Go ahead, resize the browser.

+
+
+
One
+
Eleven
-
+
+
Two
+
Ten
+
+
+
Three
+
Nine
+
+
+
Four
+
Eight
+
+
+
Five
+
Seven
+
+
+
Six
+
Six
+
+
+
Seven
+
Five
+
+
+
Eight
+
Four
+
+
+
Nine
+
Three
+
+
+
Ten
+
Two
+
+
+
Eleven
+
One
+
+
+ + + +
+	
+		
+
+
One
+
Eleven
+
+
+
Two
+
Ten
+
+ +
+
Ten
+
Two
+
+
+
Eleven
+
One
+
+
+
+ + + +
-
-
-
Typography
-

Type is all set with the rems, so font-sizes and spacial relationships are responsively sized based on a single <html> font-size property. Everything is still base 10 though so, an <h1> is 5.0rem, which just means 50px.

-
-
-
-

The typography base is 15rem (15px) over a 1.6 line height (24px). Other type basics like anchors, strong, emphasis, and underline are all obviously included.

-

Headings create a family of distinct sizes each with specific letter-spacing, line-height, and margins.

-
-
-

Heading <h1> 50rem

-

Heading <h2> 42rem

-

Heading <h3> 36rem

-

Heading <h4> 30rem

-
Heading <h5> 24rem
-
Heading <h6> 15rem
-
+
+
Typography
+

Type is all set with the rems, so font-sizes and spacial relationships are responsively sized based on a single <html> font-size property. Everything is still base 10 though so, an <h1> is 5.0rem, which just means 50px.

+
+
+
+

The typography base is 15rem (15px) over a 1.6 line height (24px). Other type basics like anchors, strong, emphasis, and underline are all obviously included.

+

Headings create a family of distinct sizes each with specific letter-spacing, line-height, and margins.

+
+
+

Heading <h1> 50rem

+

Heading <h2> 42rem

+

Heading <h3> 36rem

+

Heading <h4> 30rem

+
Heading <h5> 24rem
+
Heading <h6> 15rem
+ +
+	
+		
+
+
One
+
Eleven
+
+
+
+
+
-
-
-
Buttons
-

Buttons come in two basic flavors in Skeleton. The standard <button> element is vibrant, whereas the .secondary button takes a monotone backseat.

-
- Anchor button - - Anchor button - -
+
+
Buttons
+

Buttons come in two basic flavors in Skeleton. The standard <button> element is vibrant, whereas the .secondary button takes a monotone backseat.

+
+ Anchor button + + Anchor button +
-
-
-
Forms
+
+
Forms
+

Forms are a huge pain, but hopefully these styles make it a bit easier.

+
+
+
+
+ + +
+
+ + +
+ + + + +
+
-
-
-
Lists
-
-
-
    -
  • Unordered lists have basic styles
  • -
  • - They use the circle list style -
      -
    • Nested lists styled to feel right
    • -
    • Can nest either type of list into the other
    • -
    -
  • -
  • Just more list items mama san
  • -
-
-
-
    -
  1. Ordered lists also have basic styles
  2. -
  3. - They use the decimal list style -
      -
    • Ordered and unordered can be nested
    • -
    • Can nest either type of list into the other
    • -
    -
  4. -
  5. Last list item just for the fun
  6. -
-
+
+
Lists
+
+
+
    +
  • Unordered lists have basic styles
  • +
  • + They use the circle list style +
      +
    • Nested lists styled to feel right
    • +
    • Can nest either type of list into the other
    • +
    +
  • +
  • Just more list items mama san
  • +
+
+
+
    +
  1. Ordered lists also have basic styles
  2. +
  3. + They use the decimal list style +
      +
    • Ordered and unordered can be nested
    • +
    • Can nest either type of list into the other
    • +
    +
  4. +
  5. Last list item just for the fun
  6. +
-
-
-
Code
-

Code styling was kept super basic – basically just wrap something in a <code> tag and it will look just like that code tag just did. For blocks of code just use a <pre> tag.

-
-
.some-class {
  background-color: red
}
-
+
+
Code
+

Code styling was kept super basic – basically just wrap something in a <code> tag and it will look just like that code tag just did. For blocks of code just use a <pre> tag.

+
+
.some-class {
  background-color: red
}
-
-
-
Tables
+
+
Tables
+

Only most basic styling for tabular data. Remember to always use a proper table structure – check the code example if you're not sure about it.

+
+ + + + + + + + + + + + + + + + + + + + + + + +
NameAgeSexLocation
Dave Gamache26MaleSan Francisco
Dwayne Johnson42MaleHayward
-
-
-
Media queries
+
+
Media queries
+

Skeleton uses media queries to serve the scalable grid, but also has a list of queries for convenience of styling your site across devices. There are two sets of queries, the first is mobile-first style, meaning they target min-width so all the base styles are mobile, then queries are used to enhance for larger screen sizes. Mobile-first queries are how Skeleton's grid is styled. I've also provided the same set of queries with max-width if that's your preference. The sizes for the queries are:

+
+
+
    +
  • Desktop HD: 1200px
  • +
  • Desktop: 1000px
  • +
  • Tablet: 750px
  • +
+
+
+
    +
  • Phablet: 550px
  • +
  • Mobile: 400px
  • +
+
- -
-
-
Miscellaneous
-

hrs, images

-
+ +
+
Examples of Skeleton sites
+ +
+
License & Log
+

All parts of Skeleton are free to use and abuse under the open-source MIT license. More importantly, if you're into coding head over to the Github page and contribute or fork this bad boy.

+
- - - - - - - - +
+ + + Show + Hide + code + +
+ + + diff --git a/stylesheets/base.css b/stylesheets/base.css deleted file mode 100644 index 1df668b..0000000 --- a/stylesheets/base.css +++ /dev/null @@ -1,230 +0,0 @@ -/* -* Skeleton V2.0 -* Copyright 2014, Dave Gamache -* www.getskeleton.com -* Free to use under the MIT license. -* http://www.opensource.org/licenses/mit-license.php -* 6/20/2014 -*/ - - -/* Basic Styles --------------------------------------------------- */ -/* NOTE -html is set to 62.5% so that all the REM measurements throughout Skeleton -are based on 10px sizing. So basically 1.5rem = 15px :) */ -html { - font-size: 62.5%; -} -body { - background: #fff; - font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */ - line-height: 1.6; - font-weight: 400; - font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; - color: #222; -} - - -/* Typography --------------------------------------------------- */ -h1, h2, h3, h4, h5, h6 { - font-weight: 300; - margin-top: 0; - margin-bottom: 2rem; -} -h1 { font-size: 5.0rem; line-height: 1.2; letter-spacing: -.1rem;} -h2 { font-size: 4.2rem; line-height: 1.25; letter-spacing: -.1rem; } -h3 { font-size: 3.6rem; line-height: 1.3; letter-spacing: -.1rem; } -h4 { font-size: 3.0rem; line-height: 1.35; letter-spacing: -.08rem; } -h5 { font-size: 2.4rem; line-height: 1.5; letter-spacing: -.05rem; } -h6 { font-size: 1.5rem; line-height: 1.6; letter-spacing: 0; } - -/* Links --------------------------------------------------- */ -a { - color: #1EAEDB; -} -a:hover, -a:focus { - color: #0FA0CE; -} - -/* Buttons --------------------------------------------------- */ -.button, -button, -input[type="submit"], -input[type="reset"], -input[type="button"] { - background-color: #33C3F0; - border-radius: 4px; - color: #FFF; - display: inline-block; - text-align: center; - font-size: 11px; - font-weight: 600; - text-decoration: none; - cursor: pointer; - height: 38px; - line-height: 38px; - padding: 0 30px; - border-width: 0; - letter-spacing: .1rem; - text-transform: uppercase; -} -.button:hover, -button:hover, -input[type="submit"]:hover, -input[type="reset"]:hover, -input[type="button"]:hover { - background-color: #1EAEDB; - color: #FFF; -} -.button:focus, -button:focus, -input[type="submit"]:focus, -input[type="reset"]:focus, -input[type="button"]:focus { - background-color: #1EAEDB; - color: #FFF; - outline: 0; -} - -.button.secondary, -button.secondary, -input[type="submit"].secondary, -input[type="reset"].secondary, -input[type="button"].secondary { - background-color: #B6B6B6; -} -.button.secondary:hover, -button.secondary:hover, -input[type="submit"].secondary:hover, -input[type="reset"].secondary:hover, -input[type="button"].secondary:hover { - background-color: #AAA; - color: #FFF; -} -.button.secondary:focus, -button.secondary:focus, -input[type="submit"].secondary:focus, -input[type="reset"].secondary:focus, -input[type="button"].secondary:focus { - background-color: #AAA; - color: #FFF; - outline: 0; -} - -.button-full-width { - width: 100%; - padding: 0; -} - - -/* Forms --------------------------------------------------- */ -input[type="email"], -input[type="search"], -input[type="text"], -input[type="password"], -textarea, -select { - border: 1px solid #B6B6B6; - height: 36px; - padding: 0 10px; - border-radius: 4px; - box-shadow: none; -} -input[type="email"]:focus, -input[type="search"]:focus, -input[type="text"]:focus, -input[type="password"]:focus, -textarea:focus, -select:focus { - border: 1px solid #33C3F0; - outline: 0; -} -label, -legend { - display: block; - font-weight: 600; - margin-bottom: .3rem; -} -input[disabled] { - cursor: not-allowed; - background-color: #EFEFEF; -} -fieldset { - border-width: 0; - padding: 0; -} -input[type="checkbox"] { - display: inline; -} -label span, -legend span { - font-weight: normal; - margin-left: .5rem; -} - - -/* Lists --------------------------------------------------- */ -ul { - list-style: circle inside; } -ol { - list-style: decimal inside; } -ol, ul { - padding-left: 0; } -ul ul, -ul ol, -ol ol, -ol ul { - margin: 1.5rem 0 1.5rem 3rem; - font-size: 90%; } -li { - margin-bottom: 1rem; -} - - -/* Code --------------------------------------------------- */ -code { - padding: .2rem .5rem; - margin: 0 .2rem; - font-size: 90%; - background: #F1F1F1; - border: 1px solid #E1E1E1; - border-radius: 4px; - white-space: nowrap; -} -pre { - padding: 1rem 1.5rem; - background: #F1F1F1; - font-size: 90%; - border: 1px solid #E1E1E1; - border-radius: 4px; -} - - -/* Spacing --------------------------------------------------- */ -input, -textarea, -select { - margin-bottom: 1.5rem; -} -p, -hr, -pre, -blockquote, -form, -dl, -figure, -table, -p, -ul, -ol { - margin-bottom: 2.5rem; -} \ No newline at end of file diff --git a/stylesheets/custom.css b/stylesheets/custom.css index d94655a..518d341 100644 --- a/stylesheets/custom.css +++ b/stylesheets/custom.css @@ -1,29 +1,24 @@ .container { - width: 760px; -} + max-width: 760px; } .header { - margin-top: 17rem; - text-align: center; -} + margin-top: 18rem; + text-align: center; } .value-props { margin-top: 15rem; - margin-bottom: 10rem; -} + margin-bottom: 10rem; } .docs-header { text-transform: uppercase; font-size: 1.4rem; letter-spacing: .2rem; - font-weight: 600; -} + font-weight: 600; } .docs-section { border-top: 1px solid #eee; - padding: 6rem 0; -} + padding: 4rem 0; + margin-bottom: 0;} .value-img { display: block; text-align: center; - margin: 0 auto 1rem; -} + margin: 0 auto 1rem;} .example-grid .column, .example-grid .columns { background: #EEE; @@ -33,41 +28,78 @@ text-transform: uppercase; height: 30px; line-height: 30px; - margin-bottom: 1.5rem; + margin-bottom: .75rem; font-weight: 600; - letter-spacing: .1rem; -} + letter-spacing: .1rem; } .docs-example .row, -.docs-example.row, -.docs-example pre, -.docs-example pre, -.docs-example .eleven.columns.alpha, -.docs-example .one.column.omega { - margin-bottom: 0; -} +.docs-example.row { + margin-bottom: 0; } .docs-example h1, .docs-example h2, .docs-example h3, .docs-example h4, .docs-example h5, .docs-example h6 { - margin-bottom: 1rem; -} - + margin-bottom: 1rem; } .heading-font-size { font-size: 1.2rem; color: #999; - letter-spacing: normal; + letter-spacing: normal; } +.code-example { + margin-top: 0; + margin-bottom: 0; + display: none; } +.code-snippets-visible .code-example { + display: block; +} +.code-toggler { + position: fixed; + bottom: 10px; + left: 10px; + width: 34px; + height: 20px; + background: #E5E5E5; + border: 1px solid #C6C6C6; + border-radius: 100px; + cursor: pointer; } +.code-toggle { + position: absolute; + width: 16px; + height: 16px; + top: 1px; + left: 1px; + background-color: #fff; + border: 1px solid #C6C6C6; + border-radius: 100px; + -webkit-transition: all .15s ease-out; } +.code-snippets-visible .code-toggler { + background: #67D55B; + border-color: #4CB340; } +.code-snippets-visible .code-toggle { + border-color: #4CB340; + left: 14px; } +.code-label { + width: 100px; + position: absolute; + left: 42px; + font-size: 11px; + color: #888; } +.code-toggler .code-label-hide { + display: none; } +.code-snippets-visible .code-label-hide { + display: inline; } +.code-snippets-visible .code-label-show { + display: none; } -@media only screen and (max-width: 1200px) { - .container { - width: 90%; - } -} - -@media only screen and (max-width: 800px) { - .container { - width: 85%; +@media (min-width: 550px) { + .example-grid .column, + .example-grid .columns { + margin-bottom: 1.5rem; } + .docs-section { + padding: 6rem 0; } + .example-send-yourself-copy { + float: right; + margin-top: 12px; } } diff --git a/stylesheets/layout.css b/stylesheets/layout.css deleted file mode 100644 index b99f451..0000000 --- a/stylesheets/layout.css +++ /dev/null @@ -1,58 +0,0 @@ -/* -* Skeleton V1.2 -* Copyright 2011, Dave Gamache -* www.getskeleton.com -* Free to use under the MIT license. -* http://www.opensource.org/licenses/mit-license.php -* 6/20/2012 -*/ - -/* Table of Content -================================================== - #Site Styles - #Page Styles - #Media Queries - #Font-Face */ - -/* #Site Styles -================================================== */ - -/* #Page Styles -================================================== */ - -/* #Media Queries -================================================== */ - - /* Smaller than standard 960 (devices and browsers) */ - @media only screen and (max-width: 959px) {} - - /* Tablet Portrait size to standard 960 (devices and browsers) */ - @media only screen and (min-width: 768px) and (max-width: 959px) {} - - /* All Mobile Sizes (devices and browser) */ - @media only screen and (max-width: 767px) {} - - /* Mobile Landscape Size to Tablet Portrait (devices and browsers) */ - @media only screen and (min-width: 480px) and (max-width: 767px) {} - - /* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */ - @media only screen and (max-width: 479px) {} - - -/* #Font-Face -================================================== */ -/* This is the proper syntax for an @font-face file - Just create a "fonts" folder at the root, - copy your FontName into code below and remove - comment brackets */ - -/* @font-face { - font-family: 'FontName'; - src: url('../fonts/FontName.eot'); - src: url('../fonts/FontName.eot?iefix') format('eot'), - url('../fonts/FontName.woff') format('woff'), - url('../fonts/FontName.ttf') format('truetype'), - url('../fonts/FontName.svg#webfontZam02nTh') format('svg'); - font-weight: normal; - font-style: normal; } -*/ \ No newline at end of file diff --git a/stylesheets/outdated.css b/stylesheets/outdated.css deleted file mode 100644 index 0a1cb51..0000000 --- a/stylesheets/outdated.css +++ /dev/null @@ -1,201 +0,0 @@ -h1, h2, h3, h4, h5, h6 { font-weight: normal; } - h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; } - h1 { font-size: 46px; line-height: 50px; margin-bottom: 14px;} - h2 { font-size: 35px; line-height: 40px; margin-bottom: 10px; } - h3 { font-size: 28px; line-height: 34px; margin-bottom: 8px; } - h4 { font-size: 21px; line-height: 30px; margin-bottom: 4px; } - h5 { font-size: 17px; line-height: 24px; } - h6 { font-size: 14px; line-height: 21px; } - .subheader { color: #777; } - - p { margin: 0 0 20px 0; } - p img { margin: 0; } - p.lead { font-size: 21px; line-height: 27px; color: #777; } - - em { font-style: italic; } - strong { font-weight: bold; color: #333; } - small { font-size: 80%; } - -/* Blockquotes */ - blockquote, blockquote p { font-size: 17px; line-height: 24px; color: #777; font-style: italic; } - blockquote { margin: 0 0 20px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; } - blockquote cite { display: block; font-size: 12px; color: #555; } - blockquote cite:before { content: "\2014 \0020"; } - blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; } - - hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 10px 0 30px; height: 0; } - - -/* #Links -================================================== */ - a, a:visited { color: #333; text-decoration: underline; outline: 0; } - a:hover, a:focus { color: #000; } - p a, p a:visited { line-height: inherit; } - - -/* #Lists -================================================== */ - ul, ol { margin-bottom: 20px; } - ul { list-style: none outside; } - ol { list-style: decimal; } - ol, ul.square, ul.circle, ul.disc { margin-left: 30px; } - ul.square { list-style: square outside; } - ul.circle { list-style: circle outside; } - ul.disc { list-style: disc outside; } - ul ul, ul ol, - ol ol, ol ul { margin: 4px 0 5px 30px; font-size: 90%; } - ul ul li, ul ol li, - ol ol li, ol ul li { margin-bottom: 6px; } - li { line-height: 18px; margin-bottom: 12px; } - ul.large li { line-height: 21px; } - li p { line-height: 21px; } - -/* #Images -================================================== */ - - img.scale-with-grid { - max-width: 100%; - height: auto; } - - -/* #Buttons -================================================== */ - - .button, - button, - input[type="submit"], - input[type="reset"], - input[type="button"] { - background: #eee; /* Old browsers */ - background: #eee -moz-linear-gradient(top, rgba(255,255,255,.2) 0%, rgba(0,0,0,.2) 100%); /* FF3.6+ */ - background: #eee -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.2)), color-stop(100%,rgba(0,0,0,.2))); /* Chrome,Safari4+ */ - background: #eee -webkit-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Chrome10+,Safari5.1+ */ - background: #eee -o-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Opera11.10+ */ - background: #eee -ms-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* IE10+ */ - background: #eee linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* W3C */ - border: 1px solid #aaa; - border-top: 1px solid #ccc; - border-left: 1px solid #ccc; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - color: #444; - display: inline-block; - font-size: 11px; - font-weight: bold; - text-decoration: none; - text-shadow: 0 1px rgba(255, 255, 255, .75); - cursor: pointer; - margin-bottom: 20px; - line-height: normal; - padding: 8px 10px; - font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; } - - .button:hover, - button:hover, - input[type="submit"]:hover, - input[type="reset"]:hover, - input[type="button"]:hover { - color: #222; - background: #ddd; /* Old browsers */ - background: #ddd -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); /* FF3.6+ */ - background: #ddd -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.3)), color-stop(100%,rgba(0,0,0,.3))); /* Chrome,Safari4+ */ - background: #ddd -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Chrome10+,Safari5.1+ */ - background: #ddd -o-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Opera11.10+ */ - background: #ddd -ms-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* IE10+ */ - background: #ddd linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* W3C */ - border: 1px solid #888; - border-top: 1px solid #aaa; - border-left: 1px solid #aaa; } - - .button:active, - button:active, - input[type="submit"]:active, - input[type="reset"]:active, - input[type="button"]:active { - border: 1px solid #666; - background: #ccc; /* Old browsers */ - background: #ccc -moz-linear-gradient(top, rgba(255,255,255,.35) 0%, rgba(10,10,10,.4) 100%); /* FF3.6+ */ - background: #ccc -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.35)), color-stop(100%,rgba(10,10,10,.4))); /* Chrome,Safari4+ */ - background: #ccc -webkit-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Chrome10+,Safari5.1+ */ - background: #ccc -o-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Opera11.10+ */ - background: #ccc -ms-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* IE10+ */ - background: #ccc linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* W3C */ } - - .button.full-width, - button.full-width, - input[type="submit"].full-width, - input[type="reset"].full-width, - input[type="button"].full-width { - width: 100%; - padding-left: 0 !important; - padding-right: 0 !important; - text-align: center; } - - /* Fix for odd Mozilla border & padding issues */ - button::-moz-focus-inner, - input::-moz-focus-inner { - border: 0; - padding: 0; - } - - -/* #Forms -================================================== */ - - form { - margin-bottom: 20px; } - fieldset { - margin-bottom: 20px; } - input[type="text"], - input[type="password"], - input[type="email"], - textarea, - select { - border: 1px solid #ccc; - padding: 6px 4px; - outline: none; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; - font: 13px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; - color: #777; - margin: 0; - width: 210px; - max-width: 100%; - display: block; - margin-bottom: 20px; - background: #fff; } - select { - padding: 0; } - input[type="text"]:focus, - input[type="password"]:focus, - input[type="email"]:focus, - textarea:focus { - border: 1px solid #aaa; - color: #444; - -moz-box-shadow: 0 0 3px rgba(0,0,0,.2); - -webkit-box-shadow: 0 0 3px rgba(0,0,0,.2); - box-shadow: 0 0 3px rgba(0,0,0,.2); } - textarea { - min-height: 60px; } - label, - legend { - display: block; - font-weight: bold; - font-size: 13px; } - select { - width: 220px; } - input[type="checkbox"] { - display: inline; } - label span, - legend span { - font-weight: normal; - font-size: 13px; - color: #444; } - -/* #Misc -================================================== */ - .remove-bottom { margin-bottom: 0 !important; } - .half-bottom { margin-bottom: 10px !important; } - .add-bottom { margin-bottom: 20px !important; } diff --git a/stylesheets/skeleton.css b/stylesheets/skeleton.css index c5a2aad..e9fae80 100644 --- a/stylesheets/skeleton.css +++ b/stylesheets/skeleton.css @@ -1,105 +1,355 @@ /* -* Skeleton V1.2 -* Copyright 2011, Dave Gamache +* Skeleton V2.0 +* Copyright 2014, Dave Gamache * www.getskeleton.com * Free to use under the MIT license. * http://www.opensource.org/licenses/mit-license.php -* 6/20/2012 +* 11/25/2014 */ -/* Table of Contents -================================================== - #Base 960 Grid - #Tablet (Portrait) - #Mobile (Portrait) - #Mobile (Landscape) - #Clearing */ +/* Table of contents +–––––––––––––––––––––––––––––––––––––––––––––––––– +- Grid +- Base Styles +- Typography +- Links +- Buttons +- Forms +- Lists +- Code +- Tables +- Spacing +- Utilities +- Clearing +- Media Queries +*/ +/* Grid +–––––––––––––––––––––––––––––––––––––––––––––––––– */ -/* #Base 960 Grid -================================================== */ +.container { + position: relative; + width: 80%; + max-width: 960px; + margin: 0 auto; + padding: 0; } +.container .column, +.container .columns { + float: left; + width: 100%; + box-sizing: border-box; } +.row { + margin-bottom: 20px; } +.row .column:first-child, +.row .columns:first-child { + margin-left: 0; } - .container { position: relative; max-width: 960px; margin: 0 auto; padding: 0; } - .container .column, - .container .columns { float: left; margin-left: 4%; box-sizing: border-box;} - .row { margin-bottom: 20px; } - .row .column:first-child, - .row .columns:first-child { margin-left: 0; } +@media (min-width: 550px) { + + .container .column, + .container .columns { + margin-left: 4%; } + + .container .one.column, + .container .one.columns { width: 4.66666666667%; } + .container .two.columns { width: 13.3333333333%; } + .container .three.columns { width: 22%; } + .container .four.columns { width: 30.6666666667%; } + .container .five.columns { width: 39.3333333333%; } + .container .six.columns { width: 48%; } + .container .seven.columns { width: 56.6666666667%; } + .container .eight.columns { width: 65.3333333333%; } + .container .nine.columns { width: 74.0%; } + .container .ten.columns { width: 82.6666666667%; } + .container .eleven.columns { width: 91.3333333333%; } + .container .twelve.columns { width: 100%; margin-left: 0; } + .container .one-third.column { width: 30.6666666667%; } + .container .two-thirds.column { width: 65.3333333333%; } - /* Nested Column Classes */ - .column.alpha, .columns.alpha { margin-left: 0; } - .column.omega, .columns.omega { margin-right: 0; } + .container .one-half.column { width: 48%; } - /* Base Grid */ - .container .one.column, - .container .one.columns { width: 4.66666666667%; } - .container .two.columns { width: 13.3333333333%; } - .container .three.columns { width: 22%; } - .container .four.columns { width: 30.6666666667%; } - .container .five.columns { width: 39.3333333333%; } - .container .six.columns { width: 48%; } - .container .seven.columns { width: 56.6666666667%; } - .container .eight.columns { width: 65.3333333333%; } - .container .nine.columns { width: 74.0%; } - .container .ten.columns { width: 82.6666666667%; } - .container .eleven.columns { width: 91.3333333333%; } - .container .twelve.columns { width: 100%; } - - .container .one-third.column { width: 30.6666666667%; } - .container .two-thirds.column { width: 48%; } - - - -/* #Tablet (Portrait) -================================================== */ - -@media only screen and (max-width: 1200px) { - .container { - width: 85%; - } -} - -@media only screen and (max-width: 800px) { - .container { - width: 80%; - } } -/* #Clearing -================================================== */ +/* Base Styles +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +/* NOTE +html is set to 62.5% so that all the REM measurements throughout Skeleton +are based on 10px sizing. So basically 1.5rem = 15px :) */ +html { + font-size: 62.5%; } +body { + background: #fff; + font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */ + line-height: 1.6; + font-weight: 400; + font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; + color: #222; } - /* Self Clearing Goodness */ - .container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; } - /* Use clearfix class on parent to clear nested columns, - or wrap each row of columns in a
*/ - .clearfix:before, - .clearfix:after, - .row:before, - .row:after { - content: '\0020'; - display: block; - overflow: hidden; - visibility: hidden; - width: 0; - height: 0; } - .row:after, - .clearfix:after { - clear: both; } - .row, - .clearfix { - zoom: 1; } +/* Typography +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +h1, h2, h3, h4, h5, h6 { + font-weight: 300; + margin-top: 0; + margin-bottom: 2rem; } +h1 { font-size: 5.0rem; line-height: 1.2; letter-spacing: -.1rem;} +h2 { font-size: 4.2rem; line-height: 1.25; letter-spacing: -.1rem; } +h3 { font-size: 3.6rem; line-height: 1.3; letter-spacing: -.1rem; } +h4 { font-size: 3.0rem; line-height: 1.35; letter-spacing: -.08rem; } +h5 { font-size: 2.4rem; line-height: 1.5; letter-spacing: -.05rem; } +h6 { font-size: 1.5rem; line-height: 1.6; letter-spacing: 0; } - /* You can also use a
to clear columns */ - .clear { - clear: both; - display: block; - overflow: hidden; - visibility: hidden; - width: 0; - height: 0; - } + +/* Links +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +a { + color: #1EAEDB; } +a:hover, +a:focus { + color: #0FA0CE; } + + +/* Buttons +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.button, +button, +input[type="submit"], +input[type="reset"], +input[type="button"] { + display: inline-block; + background-color: transparent; + border-radius: 4px; + color: #555; + text-align: center; + font-size: 11px; + font-weight: 600; + text-decoration: none; + cursor: pointer; + border: 1px solid #bbb; + height: 38px; + line-height: 38px; + padding: 0 30px; + letter-spacing: .1rem; + text-transform: uppercase; + white-space: nowrap; + box-sizing: border-box; } +.button:hover, +button:hover, +input[type="submit"]:hover, +input[type="reset"]:hover, +input[type="button"]:hover, +.button:focus, +button:focus, +input[type="submit"]:focus, +input[type="reset"]:focus, +input[type="button"]:focus { + border-color: #888; + color: #333; + outline: 0; } +.button.button-primary, +button.button-primary, +input[type="submit"].button-primary, +input[type="reset"].button-primary, +input[type="button"].button-primary { + color: #FFF; + border-color: #33C3F0; + background-color: #33C3F0; } +.button.button-primary:hover, +button.button-primary:hover, +input[type="submit"].button-primary:hover, +input[type="reset"].button-primary:hover, +input[type="button"].button-primary:hover, +.button.button-primary:focus, +button.button-primary:focus, +input[type="submit"].button-primary:focus, +input[type="reset"].button-primary:focus, +input[type="button"].button-primary:focus { + background-color: #1EAEDB; + border-color: #1EAEDB; + color: #FFF; } + + +/* Forms +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +input[type="email"], +input[type="search"], +input[type="text"], +input[type="password"], +textarea, +select { + border: 1px solid #D1D1D1; + height: 36px; + padding: 0 10px; + border-radius: 4px; + box-shadow: none; } +textarea { + min-height: 65px; + padding-top: 6px; + padding-bottom: 6px; } +input[type="email"]:focus, +input[type="search"]:focus, +input[type="text"]:focus, +input[type="password"]:focus, +textarea:focus, +select:focus { + border: 1px solid #33C3F0; + outline: 0; } +label, +legend { + display: block; + font-weight: 600; + margin-bottom: .5rem; } +input[disabled] { + cursor: not-allowed; + background-color: #EFEFEF; } +fieldset { + border-width: 0; + padding: 0; } +input[type="checkbox"] { + display: inline; } +label > .label-body { + font-weight: normal; + margin-left: .5rem; + display: inline-block; } + + +/* Lists +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +ul { + list-style: circle inside; } +ol { + list-style: decimal inside; } +ol, ul { + margin-top: 0; + padding-left: 0; } +ul ul, +ul ol, +ol ol, +ol ul { + margin: 1.5rem 0 1.5rem 3rem; + font-size: 90%; } +li { + margin-bottom: 1rem; } + + +/* Code +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +code { + padding: .2rem .5rem; + margin: 0 .2rem; + font-size: 90%; + background: #F1F1F1; + border: 1px solid #E1E1E1; + border-radius: 4px; + white-space: nowrap; } +pre > code { + display: block; + padding: 1rem 1.5rem; + white-space: normal; } + + +/* Tables +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +th, +td { + padding: 12px 15px; + text-align: left; + border-bottom: 1px solid #E1E1E1; } +th:first-child, +td:first-child { + padding-left: 0; } +th:last-child, +td:last-child { + padding-right: 0; } + + +/* Spacing +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +button, +.button { + margin-bottom: 1rem; } +input, +textarea, +select, +fieldset { + margin-bottom: 1.5rem; } +p, +hr, +pre, +blockquote, +form, +dl, +figure, +table, +p, +ul, +ol, +form { + margin-bottom: 2.5rem; } + + +/* Utilities +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.u-full-width { + width: 100%; + box-sizing: border-box; } +.u-pull-right { + float: right; } +.u-pull-left { + float: left; } + + +/* Clearing +–––––––––––––––––––––––––––––––––––––––––––––––––– */ + +/* Self Clearing Goodness */ +.container:after, +.row:after, +.u-cf { + content: ""; + display: table; + clear: both; } + + +/* Media Queries +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +/* +Note: The best way to structure the use of media queries is to create the queries +near the relevant code. For example, if you wanted to change the styles for buttons +on small devices, paste the mobile query code up in the buttons secion and style it +there. +*/ + +/* Larger than Desktop HD */ +@media (min-width: 1200px) {} + +/* Larger than desktop */ +@media (min-width: 1000px) {} + +/* Larger than tablet */ +@media (min-width: 750px) {} + +/* Larger than phablet */ +@media (min-width: 550px) {} + +/* Larger than mobile */ +@media (min-width: 400px) {} + +/* Smaller than Desktop HD */ +@media (max-width: 1199px) {} + +/* Smaller than desktop */ +@media (max-width: 999px) {} + +/* Smaller than tablet */ +@media (max-width: 749px) {} + +/* Smaller than phablet */ +@media (max-width: 549px) {} + +/* Smaller than mobile */ +@media (max-width: 399px) {} \ No newline at end of file