diff --git a/bower.json b/bower.json index 5b97a1e..eab8f77 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "typeplate-starter-kit", - "version": "2.1.0", + "version": "3.0.1", "homepage": "http://typeplate.com", "description": "A Typographic Starter Kit", "main": "scss/_typeplate.scss, css/typeplate.css" diff --git a/css/typeplate.css b/css/typeplate.css index 51d51a3..b9538f3 100644 --- a/css/typeplate.css +++ b/css/typeplate.css @@ -1,21 +1,13 @@ +@charset "UTF-8"; /*! -TYPEPLATE : STARTER KIT +Typeplate : Starter Kit URL ........... http://typeplate.com -VERSION ....... 2.1.0 +Version ....... 3.0.1 Github ........ https://github.com/typeplate/starter-kit -AUTHORS ....... Dennis Gaebel (@gryghostvisuals) & Zachary Kain (@zakkain) -LICENSE ....... Creative Commmons Attribution 3.0 (http://creativecommons.org/licenses/by/3.0) -LICENSE URL ... https://github.com/typeplate/starter-kit/blob/master/license.txt +Authors ....... Dennis Gaebel (@gryghostvisuals) & Zachary Kain (@zakkain) +License ....... Creative Commmons Attribution 3.0 +License URL ... https://github.com/typeplate/starter-kit/blob/master/license.txt */ - - -/** - * - * ======================================================================= - Unicode Ampersand - * ======================================================================= - */ - @font-face { font-family: "Ampersand"; src: local("Georgia"), local("Garamond"), local("Palatino"), local("Book Antiqua"); @@ -28,264 +20,95 @@ LICENSE URL ... https://github.com/typeplate/starter-kit/blob/master/license.txt unicode-range: U+270C; } - -/** - * - * Extend this class on any element of your - * choice for ampersands. - * - * For example: - -
What a wonderful day it is out there wouldn't you'd say?
- - * ======================================================================= - */ - -.typl8-drop-cap:first-letter { - float: left; - margin: 10px 10px 0 0; - padding: 0 20px; - font-size: 4em; - font-family: inherit; - line-height: 1; - text-indent: 0; - background: transparent; - color: inherit; -} - -p + .typl8-drop-cap { - text-indent: 0; - margin-top: 0; -} - - -/** - * - * ======================================================================= - Base Type - * ======================================================================= - * - */ - html { - font: normal 112.5%/1.65 serif; /* base font size 18px with 1.65 line-height */ + font: normal 112.5% / 1.65 serif; } body { -webkit-hyphens: auto; - -moz-hyphens: auto; -ms-hyphens: auto; hyphens: auto; - word-wrap: break-word; - color: #444444; + color: #444; } - -/** - * - * ======================================================================= - Fine Print - * ======================================================================= - */ - -small { - font-size: 65%; -} - - -/** - * - * ======================================================================= - Headings - * ======================================================================= - */ - -h1, -h2, -h3, -h4, -h5, -h6 { - line-height: 1; - margin-top: 0; - text-rendering: optimizeLegibility; /* voodoo to enable ligatures and kerning | https://developer.mozilla.org/en-US/docs/CSS/text-rendering */ - color: #222222; -} - - -/** -* Extend included classes on any element of your -* choosing for adjusting type based on the scale -* provided. - -* For example: - -a story about a dude
- -* Our Type Scale is as follows with px fallbacks -* for IE 6-8 as they do not understand REM units. -* -* 18, 21, 24, 36, 48, 60, 72, 90, 117 -* -* -* Explanation: -* margin-bottom = ( base font-size * base line-height ) / current font-size -* -* Makes sure that there's always one unit of measure's worth of space between shit -* for headings. This is better than spacing using line-height because of the wrapping issue where we have -* wrapping onto 2 lines with a high line-height. - */ - .typl8-tera { - font-size: 117px; - font-size: 6.5rem; /* 117 / 18 = 6.5 */ - margin-bottom: 4.56923px; - margin-bottom: 0.25385rem; + font-size: 6.5em; + margin-bottom: 3.93939rem; } .typl8-giga { - font-size: 90px; - font-size: 5rem; /* 90 / 18 = 5 */ - margin-bottom: 5.94px; - margin-bottom: 0.33rem; + font-size: 5em; + margin-bottom: 3.0303rem; } -.typl8-mega { - font-size: 72px; - font-size: 4rem; /* 72 / 18 = 4 */ - margin-bottom: 7.425px; - margin-bottom: 0.4125rem; +.typl8-mega, h1 { + font-size: 4em; + margin-bottom: 2.42424rem; } -h1, -.typl8-alpha { - font-size: 60px; - font-size: 3.33333rem; /* 60 / 18 = 3.3333 */ - margin-bottom: 8.91px; - margin-bottom: 0.495rem; +.typl8-alpha, h2 { + font-size: 3.33333em; + margin-bottom: 2.0202rem; } -h2, -.typl8-beta { - font-size: 48px; - font-size: 2.6667rem; /* 48 / 18 = 2.6667 */ - margin-bottom: 11.1375px; - margin-bottom: 0.61875rem; +.typl8-beta, h3 { + font-size: 2.66667em; + margin-bottom: 1.61616rem; } -h3, -.typl8-gamma { - font-size: 36px; - font-size: 2rem; /* 36 / 18 = 2 */ - margin-bottom: 14.85px; - margin-bottom: 0.825rem; +.typl8-gamma, h4 { + font-size: 2em; + margin-bottom: 1.21212rem; } -h4, -.typl8-delta { - font-size: 24px; - font-size: 1.3333333333333333rem; /* 24 / 18 = 1.3333 */ - margin-bottom: 22.275px; - margin-bottom: 1.2375rem; +.typl8-delta, h5 { + font-size: 1.33333em; + margin-bottom: 0.80808rem; } -h5, .typl8-epsilon { - font-size: 21px; - font-size: 1.16667rem; /* 21 / 18 = 1.1667 */ - margin-bottom: 25.45714px; - margin-bottom: 1.41429rem; + font-size: 1.16667em; + margin-bottom: 0.70707rem; } -h6, -.typl8-zeta { - font-size: 18px; - font-size: 1rem; /* 18 = 18 × 1 */ - margin-bottom: 29.7px; - margin-bottom: 1.65rem; +.typl8-zeta, h6 { + font-size: 1em; + margin-bottom: 0.60606rem; } - -/** - * - * ======================================================================= - Paragraphs and Indentation - * ======================================================================= - */ - p { - margin: auto auto 1.5em; /* bottom margin for paragraphs */ + margin: auto auto 1.5rem; } p + p { - text-indent: 1.5em; /* indent subsequent paragraphs */ - margin-top: -1.5em; /* no top margin on subsequent paragraphs */ + text-indent: 1.5rem; + margin-top: -1.5rem; } - -/** - * - * ======================================================================= - Hyphens - * ======================================================================= - */ +small { + font-size: 65%; +} input, abbr, @@ -296,49 +119,25 @@ kbd, q, samp, var { - /* Accepted values: [ none | manual | auto ] */ /* http://meyerweb.com/eric/thoughts/2012/12/17/where-to-avoid-css-hyphenation */ -webkit-hyphens: none; - -moz-hyphens: none; -ms-hyphens: none; hyphens: none; } - -/** - * - * ======================================================================= - Code Blocks - * ======================================================================= - */ +pre { + white-space: pre; +} pre code { - word-wrap: normal; white-space: -moz-pre-wrap; white-space: pre-wrap; } -pre { - white-space: pre; -} - code { white-space: pre; font-family: monospace; } - -/** - * - * ======================================================================= - * Abbreviations Markup - * Extend this object into your markup - - HMTL - - * Extend this object into your markup. - * ======================================================================= - */ - abbr { -webkit-font-variant: small-caps; -moz-font-variant: small-caps; @@ -350,16 +149,25 @@ abbr { } abbr[title]:hover { - cursor: help; /* cursor changed to a question mark when it has a title */ + cursor: help; } +.typl8-drop-cap:first-letter { + float: left; + margin: 10px 10px 0 0; + padding: 0 20px; + font-size: 4em; + font-family: inherit; + line-height: 1; + text-indent: 0; + background: transparent; + color: inherit; +} -/** - * - * ======================================================================= - Definition Lists - * ======================================================================= - */ +p + .typl8-drop-cap { + text-indent: 0; + margin-top: 0; +} /** * Lining Definition Style Markup @@ -377,26 +185,28 @@ abbr[title]:hover { display: inline; margin: 0; } + .typl8-lining dt + dt:before, .typl8-lining dd + dt:before { content: "\A"; white-space: pre; } + .typl8-lining dd + dd:before { content: ", "; } + .typl8-lining dd:before { content: ": "; - margin-left: -0.2em; + margin-left: -0.2rem; } - /** * Dictionary Definition Style Markup *