diff --git a/Jakefile b/Jakefile new file mode 100644 index 0000000..4d2485f --- /dev/null +++ b/Jakefile @@ -0,0 +1,63 @@ +desc('Compile the files of Concise Framework.') +task('concise', () => { + jake.exec('concisecss compile concise.scss dist/concise.css', { + printStdout: true, + printStderr: true + }, () => { + complete() + }) +}) + +desc('Minify CSS.') +task('minify', () => { + jake.exec('cssnano dist/concise.css dist/concise.min.css', { + printStdout: true, + printStderr: true + }, () => { + complete() + }) +}) + +desc('Compile styles on file changes') +task('concise:watch', () => { + jake.exec('chokidar "**/*.scss" -c "jake build"', { + printStdout: true, + printStderr: true + }, () => { + complete() + }) +}) + +desc('Start livereload server.') +task('livereload', () => { + jake.exec('livereload . -e "html, css"', { + printStdout: true, + printStderr: true + }, () => { + complete() + }) +}) + +desc('Start HTTP server.') +task('http', () => { + jake.exec('http-server .', { + printStdout: true, + printStderr: true + }, () => { + complete() + }) +}) + +desc('Build the files for distribution.') +task('build', () => { + jake.Task['concise'].invoke() + jake.Task['minify'].invoke() +}) + +desc('Start the development tools.') +task('default', () => { + jake.Task['build'].invoke() + jake.Task['concise:watch'].invoke() + jake.Task['http'].invoke() + jake.Task['livereload'].invoke() +}) \ No newline at end of file diff --git a/README.md b/README.md index 4380c08..bf05bb3 100644 --- a/README.md +++ b/README.md @@ -2,36 +2,111 @@ [![Bower version](https://badge.fury.io/bo/concise.svg)](http://badge.fury.io/bo/concise) [![npm version](https://badge.fury.io/js/concise.css.svg)](https://badge.fury.io/js/concise.css) -Concise is a lightweight, front-end framework that provides a number of great features without the bloat. Concise is built based on Object-Oriented CSS principles and keeps semantics in mind to provide a small learning curve, and a high level of customization. +Concise CSS is a lightweight CSS framework that provides a number of great features without the bloat. -## Quickstart +Concise CSS provides a solid foundation to stylize your website. It offers an alternative to frameworks like Bootstrap and Foundation, with the difference that Concise only includes the minimum styles required. That does not mean that the features are limited; is possible to use add-ons on top of the core to extend the functionality as required. -It's easy to get started with Concise: +The core of the framework only includes styles for native HTML elements. Components and utilities are provided as optional add-ons, Concise UI and Concise Utils, respectively. -- [Download the latest release (SASS Included)](https://github.com/ConciseCSS/concise.css/archive/v3.4.0.zip) -- Install with [Bower](http://bower.io/): `bower install concise` -- Install with [NPM](https://www.npmjs.com/): `npm install concise.css` +Concise CSS is written using a custom CSS preprocessor, built on top of Sass and some PostCSS plugins; this means that you can still write Sass code as usual, but you can also enjoy of other custom features, like the `lh` unit provided to handle vertical rhythm. -**Note:** -If you just want the CSS files, please refer to the downloads section for each release: [https://github.com/ConciseCSS/concise.css/releases](https://github.com/ConciseCSS/concise.css/releases) +## Installation -**IMPORTANT:** Currently the `Master` branch is being used for the development of the next version of Concise, the latest stable version is available in the branch `3.x.x` +There are 4 different options to install Concise CSS in your website, although the recommended way is to use NPM. -#### Using our CDN: +### Using our CDN -```CSS -/* Normal */ - +If you just want to try Concise CSS or of you do not have plans to customize the styles, you can use our CDN, this is the easier way to get started with the framework—and if you like it—is recommended to switch to NPM so that you can customize the styles. -/* Minified */ - + +```HTML + + + + + +``` + +#### Semantic versioning with CDN +All major and minor versions of Concise exist in its own folder on the CDN. You can use specific versions of Concise with the CDN by prefixing the CSS file with the version number in the URL. + +For example, you can use the latest version as such: + +```HTML + + + + + +``` + +**Note:** All patch versions of Concise get published automatically to the non-prefixed URL. Patch versions are not organized into a folder. + +### Install with NPM + +Execute the following command to install Concise CSS from NPM. If you are new to NPM, you can check their [documentation](https://docs.npmjs.com/). + +``` +npm install concise.css +``` + +Then you can include the main file inside your project: + +```scss +// +// myStyles.scss +// --------- + +// Concise Core +@import "node_modules/concise.css/concise"; ``` -After you download or install the package, [check out our documentation](http://concisecss.com/documentation) to get up and running. +### Install with diamond + +Execute the following command to install Concise CSS from diamond. If you are new to diamond, you can check their [documentation](https://diamond.js.org/docs). -### Building the project +``` +diamond install concise.css +``` -Please refer to our [Contributing](https://github.com/ConciseCSS/concise.css/blob/master/CONTRIBUTING.md#building-the-project) page for instructions on compiling the SASS in the project. +Then you can include the main file inside your project: + +```scss +// +// myStyles.scss +// --------- + +// Concise Core +@import "~concise.css"; +``` + +### Copy the source files + +Finally, if you prefer, you can just copy the framework files to your project folder. +You can download the latest version from Github from [this link](https://github.com/ConciseCSS/concise.css/archive/master.zip), and place the files wherever you need them. + +## Building the source files + +To build the source files, you need to install the Concise CLI globally (locally if you compile the files with an NPM script): + +``` +npm install -g concise-cli +``` + +Once it is installed, you can compile source files with the `concisecss compile` command: + +``` +concisecss compile input.scss output.css +``` + +**Note**: When compiling the source code with the Concise CLI, Autoprefixer will automatically add the required browser prefixes for the last two browser versions. + +### Building with diamond +To build with diamond, simply use the `diamond compile` command. If you are new to diamond, you can check their [documentation](https://diamond.js.org/docs). + +``` +diamond compile -o output.css input.scss +``` ### Changelog @@ -63,7 +138,7 @@ There are lots of different things that people will want to post regarding the C ## Contributing -If you wish to contribute to the Concise project, please read through our [contributing guidelines](https://github.com/ConciseCSS/concise.css/blob/master/CONTRIBUTING.md) first and then help however you'd like! +If you wish to contribute to the Concise CSS project, please read through our [contributing guidelines](https://github.com/ConciseCSS/concise.css/blob/master/CONTRIBUTING.md) first and then help however you’d like! ## Versioning diff --git a/_globals.scss b/_globals.scss index 9b27f1d..9fc7ddc 100644 --- a/_globals.scss +++ b/_globals.scss @@ -2,191 +2,7 @@ // Globals // ============================================================================= -// -// Helper functions -// ---------------- - -@function pow($number, $exponent) { - $value: 1; - - @if $exponent > 0 { - @for $i from 1 through $exponent { - $value: $value * $number; - } - } @else if $exponent < 0 { - @for $i from 1 through -$exponent { - $value: $value / $number; - } - } - - @return $value; -} - -// -// Base -// ---- - -$font-size: 16 !default; -$font-size-secondary: 18 !default; - -// Font families -$font-primary: "Helvetica", "Arial", sans-serif !default; -$font-secondary: "Helvetica", "Arial", sans-serif !default; -$font-mono: "Consolas", monospace !default; -$font-print: "Georgia", "Times New Roman", "Times", serif !default; - -// Automatic margins -$automargin: true !default; -$block-margin: 1lh !default; - -// Transition duration -$transition-duration: 150ms !default; - -// Custom media queries -@custom-media --extra-small (width <= 480px); -@custom-media --small (width >= 480px); -@custom-media --medium (width >= 768px); -@custom-media --large (width >= 960px); -@custom-media --extra-large (width >= 1100px); -@custom-media --only-small (480px < width <= 768px); -@custom-media --only-medium (768px < width <= 980px); -@custom-media --only-large (980px < width <= 1100px); - -// Spacing -$spacing-xs: 0.5lh !default; -$spacing-s: 1lh !default; -$spacing-m: 2lh !default; -$spacing-l: 3lh !default; -$spacing-xl: 4lh !default; - - -// -// Type Scale -// ------------- - -// Suggested ratios -// Source: http://type-scale.com/ -$minor-second: 1.067; -$major-second: 1.125; -$minor-third: 1.200; -$major-third: 1.250; -$perfect-fourth: 1.333; -$augmented-fourth: 1.414; -$perfect-fifth: 1.500; -$golden-ratio: 1.618; - -// Ratio for primary scale -$scale-ratio: $minor-third !default; - -// Ratio for secondary scale -$scale-ratio-secondary: $perfect-fourth !default; - -// Function to easily retrieve sizes from a scale. -@function typeScale($size, $ratio: $scale-ratio) { - @return pow($ratio, $size - 2) * 1rem; -} - -// -// Grid -// ---- - -// Max width for container -$container-width: 1200px !default; - -// Gutter size -$gutter: 2em !default; - -// Number of columns in a row -$num-columns: 12 !default; - -// Prefix for attributes -$prefix: '' !default; - -// Create columns and offsets above this breakpoint -$breakpoint: --small !default; - - -// -// Color Palette -// ------------- - -// Colors -$colors: ( - base: ( - "primary": #4591aa, - "selection": #d6d6d6, - "lines": #e0e0e0 - ), - - text: ( - "primary": #555, - "secondary": #666, - "heading": #222, - "ui": white - ), - - background: ( - "dark": #282E31, - "light": #f5f5f5, - "body": white - ), - - state: ( - "muted": #aaa, - "primary": #4591aa, - "success": #45ca69, - "warning": #ffb800, - "error": #ca4829 - ), - - blue: ( - "darker": #495b61, - "dark": #447281, - "base": #4591aa, - "light": #5ab0cc, - "lighter": #74cbe8 - ), - - green: ( - "darker": #3b6e6e, - "dark": #3b8686, - "base": #37a1a1, - "light": #2dbaba, - "lighter": #69d1d1 - ), - - cream: ( - "darker": #c47858, - "dark": #e29372, - "base": #ecac91, - "light": #f9c2ab, - "lighter": #fdd5c3 - ), - - red: ( - "darker": #653131, - "dark": #b73333, - "base": #da3c3c, - "light": #f25a5a, - "lighter": #fa8181 - ), - - gray: ( - "darker": #333333, - "dark": #4d4d4d, - "base": #666666, - "light": #808080, - "lighter": #999999 - ) -) !default; - - -// -// getColor Function -// -------- -// Easily retrieve colors for use. -// - -@function getColor($color, $value: "base") { - @return map-get(map-get($colors, $color), $value); -} +@import 'globals/pow-function'; +@import 'globals/settings'; +@import 'globals/getColor-function'; +@import 'globals/typeScale-function'; diff --git a/bower.json b/bower.json index d6d2608..7f41523 100644 --- a/bower.json +++ b/bower.json @@ -1,12 +1,13 @@ { "name": "concise", "description": "A front-end framework written in SASS that's lightweight, and easy-to-use.", - "version": "3.4.0", + "version": "4.0.1", "ignore": [ ".gitignore", ".editorconfig", "README.md", - "LICENSE" + "LICENSE", + "node_modules" ], "keywords": [ "css", diff --git a/concise.scss b/concise.scss index 6077e9a..8be1fc6 100644 --- a/concise.scss +++ b/concise.scss @@ -1,5 +1,5 @@ /** - * ConciseCSS v3.4.0 + * ConciseCSS v4.1.2 * https://github.com/ConciseCSS/concise.css * * Copyright 2016 James Kolce, Keenan Payne and ConciseCSS Contributors @@ -11,13 +11,10 @@ @import 'globals'; // Styles -@import 'src/normalization'; -@import 'src/type'; +@import 'src/base'; @import 'src/headings'; @import 'src/lists'; -@import 'src/buttons'; @import 'src/forms'; -@import 'src/blockquotes'; @import 'src/tables'; @import 'src/atgrid'; @import 'src/print'; diff --git a/diamond.js b/diamond.js new file mode 100644 index 0000000..a845b56 --- /dev/null +++ b/diamond.js @@ -0,0 +1,11 @@ +const postcss = require('postcss'); + +module.exports = (css) => { + return postcss([ + require('postcss-input-range'), + require('postcss-lh'), + require('postcss-custom-media'), + require('postcss-media-minmax'), + require('autoprefixer') + ]).process(css).css; +}; diff --git a/diamond.json b/diamond.json new file mode 100644 index 0000000..38bec9e --- /dev/null +++ b/diamond.json @@ -0,0 +1,7 @@ +{ + "name": "concise.css", + "version": "4.1.2", + "description": "A lightweight front-end framework that provides functionality without the bloat.", + "main": "concise.scss", + "postProcessor": "diamond.js" +} \ No newline at end of file diff --git a/dist/concise.css b/dist/concise.css index 1632b2c..b22b2db 100644 --- a/dist/concise.css +++ b/dist/concise.css @@ -1,312 +1,398 @@ +@charset "UTF-8"; /** - * ConciseCSS v3.4.0 + * ConciseCSS v4.1.2 * https://github.com/ConciseCSS/concise.css * * Copyright 2016 James Kolce, Keenan Payne and ConciseCSS Contributors * Released under the MIT license * http://opensource.org/licenses/MIT */ -abbr[title] { - text-decoration: underline; - text-decoration: underline dotted; } - -audio:not([controls]) { - display: none; } - -b, -strong { - font-weight: bolder; } - -button, input[type="submit"] { - -webkit-appearance: button; - overflow: visible; } - -button::-moz-focus-inner, input[type="submit"]::-moz-focus-inner, -input::-moz-focus-inner { - border: 0; - padding: 0; } - -button:-moz-focusring, input[type="submit"]:-moz-focusring, -input:-moz-focusring { - outline: 1px dotted ButtonText; } - -button, input[type="submit"], -select { - text-transform: none; } - -details { - display: block; } - -hr { - overflow: visible; - margin: 1.5rem 0; - background-color: #e0e0e0; - height: 1px; } - -html { - -ms-overflow-style: -ms-autohiding-scrollbar; - overflow-y: scroll; - -webkit-text-size-adjust: 100%; } - -input { - -webkit-border-radius: 0; } - input[type="button"], input[type="reset"], input[type="submit"] { - -webkit-appearance: button; } - input[type="number"] { - width: auto; } - input[type="search"] { - -webkit-appearance: textfield; } - input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; } - -main { - display: block; } - -pre { - overflow: auto; } - -progress { - display: inline-block; } - +article, +aside, +details, +figcaption, +figure, +footer, +header, +main, +menu, +nav, +section, summary { display: block; } -svg:not(:root) { - overflow: hidden; } - -template { - display: none; } +audio, +canvas, +progress, +video { + display: inline-block; } -textarea { - overflow: auto; } +audio:not([controls]) { + display: none; + height: 0; } +template, [hidden] { display: none; } *, ::before, ::after { + background-repeat: no-repeat; box-sizing: inherit; } -* { - font-size: inherit; - line-height: inherit; } - ::before, ::after { text-decoration: inherit; vertical-align: inherit; } -button, input[type="submit"], -input, -select, -textarea { - font-family: inherit; - font-style: inherit; - font-weight: inherit; } - :root { - background-color: white; box-sizing: border-box; - color: #555; - cursor: default; - font: 16px/1.5 "Helvetica", "Arial", sans-serif; + font-family: "Helvetica", "Arial", sans-serif; + line-height: 1.5; + -ms-text-size-adjust: 100%; + -webkit-text-size-adjust: 100%; + background-color: white; + color: #444; + font-size: 16px; text-rendering: optimizeLegibility; } @media (min-width: 480px) { :root { font-size: 18px; } } -* { - margin: 0; - padding: 0; - background-repeat: no-repeat; } +code, +kbd, +pre, +samp { + font-family: "Consolas", monospace; + font-size: 0.83333rem; + background-color: #f5f5f5; } -*, -::before, -::after { - border-style: solid; - border-width: 0; } +code, +kbd { + vertical-align: middle; + display: inline-block; + padding: 0 0.4em; } -a, -area, -button, -input[type="submit"], -input, -label, -select, -textarea, -[tabindex] { - -ms-touch-action: manipulation; - touch-action: manipulation; } +pre { + padding: 0.75rem 1em; } + pre > code  { + white-space: pre; } -select { - -moz-appearance: none; - -webkit-appearance: none; } - select::-ms-expand { - display: none; } - select::-ms-value { - color: currentColor; } +kbd { + background-color: transparent; + outline: 1px solid #DCDCDC; } -svg { - fill: currentColor; } +hr { + background-color: #DCDCDC; + height: 1px; + overflow: visible; + border: 0; } -[aria-busy="true"] { - cursor: progress; } +nav ol, +nav ul { + padding-left: 0; } -[aria-controls] { - cursor: pointer; } +nav li { + list-style: none; } -[aria-disabled] { - cursor: default; } +dt { + font-weight: bold; } -[hidden][aria-hidden="false"] { - clip: rect(0 0 0 0); - display: inherit; - position: absolute; } - [hidden][aria-hidden="false"]:focus { - clip: auto; } +blockquote { + padding: 0 1em; } + blockquote cite, + blockquote footer { + color: #777; + font-size: 83.33333%; + margin-top: 0.75rem; } + blockquote cite:before, + blockquote footer:before { + content: "— "; } -audio, -canvas, -iframe, -img, -svg, -video { - vertical-align: middle; } +abbr { + -webkit-font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0, "smcp" 1, "c2sc" 1; + font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0, "smcp" 1, "c2sc" 1; + text-transform: uppercase; } + abbr[title] { + border-bottom: 1px solid #DCDCDC; + cursor: help; + text-decoration: none; } -::-moz-selection { - background-color: #d6d6d6; - text-shadow: none; } +b, +strong { + font-weight: inherit; } -::selection { - background-color: #d6d6d6; - text-shadow: none; } +b, +strong { + font-weight: bolder; } -* + * { - margin-top: 1.5rem; } +dfn { + font-style: italic; } -li, kbd, div, input, option, select, a, textarea { - margin-top: 0; } +mark { + background-color: #ffff00; + color: #000000; } -small, -sup, -sub { +progress { + vertical-align: baseline; } + +small { font-size: 83.33333%; } - @media (min-width: 480px) { - small, - sup, - sub { - font-size: 75.01875%; } } -sup, -sub { +sub, +sup { line-height: 0; position: relative; - vertical-align: baseline; } + vertical-align: baseline; + font-size: 83.33333%; } + +sub { + bottom: -0.25em; + -webkit-font-feature-settings: "subs" 1; + font-feature-settings: "subs" 1; } sup { top: -0.25em; - -webkit-font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0, "dlig" 0, "sups" 1; - font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0, "dlig" 0, "sups" 1; } + -webkit-font-feature-settings: "sups" 1; + font-feature-settings: "sups" 1; } -sub { - bottom: -0.25em; - -webkit-font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0, "dlig" 0, "subs" 1; - font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0, "dlig" 0, "subs" 1; } +::-moz-selection { + background-color: #EBE1D3; + text-shadow: none; } + +::selection { + background-color: #EBE1D3; + text-shadow: none; } + +audio, +canvas, +iframe, +img, +svg, +video { + vertical-align: middle; } + +img { + border-style: none; } + +svg { + fill: currentColor; } + +svg:not(:root) { + overflow: hidden; } a { background-color: transparent; - color: #4591aa; - cursor: pointer; + -webkit-text-decoration-skip: objects; + color: #C65146; text-decoration: none; - -webkit-transition: 150ms; - transition: 150ms; } + -webkit-transition-duration: 150ms; + transition-duration: 150ms; } a:hover, a:focus { - color: #2f6374; } + color: #7f2f27; } -h1 a, h2 a, h3 a { - color: inherit; } - h1 a:hover, h1 a:focus, h2 a:hover, h2 a:focus, h3 a:hover, h3 a:focus { - color: #4591aa; - text-decoration: none; } +a:hover { + outline-width: 0; } -abbr { - text-transform: uppercase; - /* 1 */ - -webkit-font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0, "smcp" 1, "c2sc" 1; - font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0, "smcp" 1, "c2sc" 1; - /* 2 */ } +table { + border-collapse: collapse; + border-spacing: 0; } -code, -pre, -kbd, -samp { - font-family: "Consolas", monospace; - font-size: 0.83333rem; } - @media (min-width: 480px) { - code, - pre, - kbd, - samp { - font-size: 0.75019rem; } } +input, +select, +textarea { + background-color: transparent; + border-style: none; + color: inherit; + font: inherit; } + input:focus, + select:focus, + textarea:focus { + outline: 2px solid #2b90d9; } -pre { - padding: 0.75rem 1em; } +button, input[type="submit"], +input { + overflow: visible; } -code { - vertical-align: middle; - white-space: nowrap; } +button, input[type="submit"], +select { + text-transform: none; } -code, -pre { - background-color: #f5f5f5; - border: 1px solid #e0e0e0; - border-radius: 3px; - color: #484848; } +button, input[type="submit"], +html [type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; + font: inherit; } -code { - padding: 2px 3px; } +::-moz-focus-inner { + border-style: none; + padding: 0; } -pre code { - background-color: transparent; +:-moz-focusring { + outline: 1px dotted ButtonText; } + +fieldset { + border: 1px solid #DCDCDC; + padding: 1.5rem 1em; } + +legend { + display: table; + max-width: 100%; + white-space: normal; + padding: 0 0.5em; } + +textarea { + overflow: auto; + resize: vertical; + height: auto; + padding: 0.375rem 0.5em; } + +[type="checkbox"], +[type="radio"] { + padding: 0; } + +::-webkit-inner-spin-button, +::-webkit-outer-spin-button { + height: auto; } + +[type="search"] { + -webkit-appearance: textfield; + outline-offset: -2px; } + +::-webkit-search-cancel-button, +::-webkit-search-decoration { + -webkit-appearance: none; } + +::-webkit-input-placeholder { + color: inherit; + opacity: .54; } + +::-webkit-file-upload-button { + -webkit-appearance: button; + /* 1 */ + font: inherit; + /* 2 */ } + +input[type="range"] { border: none; padding: 0; - vertical-align: inherit; - white-space: pre; - font-size: inherit; } + width: 100%; + -webkit-appearance: none; } + input[type="range"]:focus { + outline: none; } + input[type="range"]::-moz-range-track{ + background-color: #DCDCDC; + border: none; + height: 0.3rem; } + input[type="range"]::-ms-track{ + background-color: #DCDCDC; + border: none; + height: 0.3rem; } + input[type="range"]::-webkit-slider-runnable-track{ + background-color: #DCDCDC; + border: none; + height: 0.3rem; } + input[type="range"]::-moz-range-thumb{ + border: none; + border-radius: 50%; + background-color: #C65146; + height: 0.75rem; + margin-top: -0.225rem; + width: 0.75rem; } + input[type="range"]::-ms-thumb{ + border: none; + border-radius: 50%; + background-color: #C65146; + height: 0.75rem; + margin-top: -0.225rem; + width: 0.75rem; } + input[type="range"]::-webkit-slider-thumb{ + border: none; + border-radius: 50%; + background-color: #C65146; + height: 0.75rem; + margin-top: -0.225rem; + width: 0.75rem; } + input[type="range"]::-webkit-slider-thumb { + -webkit-appearance: none; } -kbd { - background-color: transparent; - border: 1px solid #e0e0e0; - border-radius: 3px; - box-shadow: 0 2px 0 -1px white, 0 2px 0 gainsboro; - display: inline-block; - padding: 0 6px 0; +button, input[type="submit"] { + background-color: #C65146; + border: none; + color: white; + cursor: pointer; + font-size: 0.83333rem; + line-height: 2.25rem; + padding: 0 1.5em; + -webkit-transition: background-color 150ms; + transition: background-color 150ms; white-space: nowrap; } + button:hover, input[type="submit"]:hover, button:focus, input[type="submit"]:focus { + background-color: #cc6359; + text-decoration: none; + outline: none; } + button:active, input[type="submit"]:active { + background-color: #d2766d; } + button[disabled], input[disabled][type="submit"] { + background-color: #eee; + color: white; + cursor: not-allowed; } -samp { - vertical-align: bottom; } +[aria-busy="true"] { + cursor: progress; } -address { - font-style: normal; } +[aria-controls] { + cursor: pointer; } -h1, h2, h3, h4, h5, h6 { - color: #222; - font-family: "Helvetica", "Arial", sans-serif; - line-height: 1.25; } - h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { - color: inherit; - vertical-align: 0; - font-size: 83.33333%; } - @media (min-width: 480px) { - h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { - font-size: 75.01875%; } } +[aria-disabled] { + cursor: default; } -h1, h2, h3 { - margin: 0.75rem 0 0.375rem; } +a, +area, +button, +input[type="submit"], +input, +label, +select, +textarea, +[tabindex] { + -ms-touch-action: manipulation; + touch-action: manipulation; } -h4, h5, h6 { - margin: 0.375rem 0; } +[hidden][aria-hidden="false"] { + clip: rect(0, 0, 0, 0); + display: inherit; + position: absolute; } + +[hidden][aria-hidden="false"]:focus { + clip: auto; } + +* { + margin: 0; } + +* + * { + margin-top: 1.5rem; } + +li, +kbd, +div, +input, +option, +select, +a, +textarea, +body, +span, +dd, +code, +label, +br [column] { + margin-top: 0; } + +h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p { + margin-top: 0; } h1 { font-size: 2.0736rem; } @@ -326,142 +412,63 @@ h5 { h6 { font-size: 0.83333rem; } -@media (min-width: 480px) { - h1, h2, h3 { - margin: 1.5rem 0 0.375rem; } - h1 { - font-size: 3.15733rem; } - h2 { - font-size: 2.36859rem; } - h3 { - font-size: 1.77689rem; } - h4 { - font-size: 1.333rem; } - h5 { - font-size: 1rem; } - h6 { - font-size: 0.75019rem; } } +h1, h2, h3, h4, h5, h6 { + color: #222; + font-family: "Helvetica", "Arial", sans-serif; + line-height: 1.3; } + h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { + color: inherit; + vertical-align: 0; + font-size: 83.33333%; } + +h1, h2, h3 { + margin: 0.75rem 0 0.375rem; } + h1 a, h2 a, h3 a { + color: inherit; } + h1 a:hover, h1 a:focus, h2 a:hover, h2 a:focus, h3 a:hover, h3 a:focus { + color: #C65146; + text-decoration: none; } + +h4, h5, h6 { + margin: 0.375rem 0; } ul, ol { - padding-left: 1.5em; - margin-bottom: 0.375rem; } - ul ul, + padding-left: 1em; } ul ol, - ol ul, - ol ol { - margin-bottom: 0; } - -ul ul { - list-style-type: square; } - -ul ol { - list-style-type: lower-roman; } - -ol ol { - list-style-type: lower-roman; } - -ol ul { - list-style-type: square; } - -nav ul { - padding-left: 0; } - -nav li { - list-style: none; } - -dl { - margin-bottom: 1.5rem; } - -dt { - font-weight: bold; } - -dt, -dd { - margin-bottom: 0.375rem; } + ul ul, + ol ol, + ol ul { + padding-left: 1.5em; } -button, input[type="submit"] { - background-color: #4591aa; - border: none; - color: white; - cursor: pointer; - display: inline-block; - font-size: 0.83333rem; - line-height: 2.25rem; - overflow: visible; - padding: 0 1.5em; - text-align: center; - text-decoration: none; - -webkit-transition: 150ms; - transition: 150ms; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - vertical-align: middle; - white-space: nowrap; } - button:hover, input[type="submit"]:hover, button:focus, input[type="submit"]:focus { - background-color: #75b3c7; - color: white; - text-decoration: none; } - button:focus, input[type="submit"]:focus, button:active, input[type="submit"]:active { - outline: none; } - button:active, input[type="submit"]:active { - background-color: #63a8bf; } - button[disabled], input[disabled][type="submit"] { - background-color: gainsboro; - color: white; - cursor: not-allowed; - opacity: 0.6; } +ol { + padding-left: 0; + counter-reset: item; } + ol li { + list-style: none; } + ol li:before { + content: counters(item, ".") ". "; + counter-increment: item; + margin-right: 0.2em; } input:not([type="submit"]), select, textarea { - border: 1px solid #e0e0e0; - border-radius: 3px; - height: 2.25rem; - padding: 0 .75em; - -webkit-transition: 150ms; - transition: 150ms; width: 100%; - font-size: 0.83333rem; } - input:not([type="submit"]):focus, - select:focus, - textarea:focus { - border-color: #74cbe8; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px rgba(69, 145, 170, 0.5); - outline: none; } + font-size: 0.83333rem; + min-height: 2.25rem; } input:not([type="submit"])[disabled], select[disabled], textarea[disabled] { - background-color: #f5f5f5; - cursor: not-allowed; } - label + input:not([type="submit"]), label + - select, label + - textarea { - margin-top: 0.375rem; } - -input:not([type="submit"]) { - line-height: normal; - min-height: 1.5rem; } - input:not([type="submit"])[type="checkbox"]:focus, input:not([type="submit"])[type="radio"]:focus, input:not([type="submit"])[type="range"]:focus, input:not([type="submit"])[type="file"]:focus, input:not([type="submit"])[type="color"]:focus, input:not([type="submit"])[type="submit"]:focus { - border-color: transparent; - box-shadow: none; - outline: none; } - -label { - display: block; - font-size: 0.83333rem; } - -fieldset { - border: 1px solid #e0e0e0; - border-radius: 3px; - padding: 1.5rem 1em; - margin-bottom: 1.5rem; } + background-color: #eee; + cursor: not-allowed; + border: 0; } -legend { - font-weight: bold; - padding: 0 1em; } +input:not([type="submit"]):not([type="range"]), +select, +textarea { + border: 1px solid #DCDCDC; + padding: 0 0.75em; } input[type="checkbox"], input[type="file"], @@ -474,164 +481,76 @@ input[type="checkbox"], input[type="radio"] { line-height: normal; padding: 0; - vertical-align: middle; - margin-top: 0 !important; } - -input[type="checkbox"] + label, -input[type="radio"] + label { - display: inline-block; - margin: 0 0 0 .5em; - line-height: 1.875rem; vertical-align: middle; } input[type="file"] { border: none; - line-height: 100%; + line-height: 1.5rem; padding: 0; } -textarea { - height: auto; - padding: 0.375rem 0.5em; - resize: vertical; } - select { background-color: transparent; - border-radius: 5px; - padding: 0 0 0 0.5em; } + padding-left: 0.5em; + width: auto; + min-width: 10em; + height: 2.25rem; } select[disabled] { - color: #666; } + color: #777; } select[multiple] { - height: auto; } + height: auto; + width: 100%; + padding: 0; } select::-ms-expand { display: none; } select::-ms-value { color: currentColor; } select option { - padding: 0 .75em; } + padding: 0 0.75em; } -input[type="range"] { - border: none; - padding: 0; - width: 100%; - -webkit-appearance: none; } - input[type="range"]:focus { - outline: none; } - input[type="range"]::-webkit-slider-runnable-track { - background-color: gainsboro; - border: none; - border-radius: 3px; - height: 5px; } - input[type="range"]::-webkit-slider-thumb { - border: none; - border-radius: 50%; - background-color: #4591aa; - height: 16px; - margin-top: -5px; - width: 16px; - -webkit-appearance: none; } - input[type="range"]::-moz-range-track { - background-color: gainsboro; - border: none; - border-radius: 3px; - height: 5px; } - input[type="range"]::-moz-range-thumb { - border: none; - border-radius: 50%; - background-color: #4591aa; - height: 16px; - margin-top: -5px; - width: 16px; } - input[type="range"]::-ms-track { - background-color: gainsboro; - border: none; - border-radius: 3px; - color: transparent; - height: 5px; } - input[type="range"]::-ms-thumb { - border: none; - border-radius: 50%; - background-color: #4591aa; - height: 16px; - margin-top: -5px; - width: 16px; } +label { + display: block; + font-size: 0.83333rem; + line-height: 2.25rem; } -blockquote { - border-left: 1px solid #e0e0e0; - color: #666; - margin-bottom: 1.5rem; - padding: 0 1em; } - blockquote cite, - blockquote footer { - display: block; - font-size: 83.33333%; - font-style: italic; - margin-top: 0.375rem; } - @media (breakpoint) { - blockquote cite, - blockquote footer { - font-size: 75.01875%; } } - blockquote cite:before, - blockquote footer:before { - content: "\2014 \00A0"; } +input[type="checkbox"] + label, +input[type="radio"] + label { + display: inline-block; + margin-left: 0.5em; } table { - border: 1px solid #e0e0e0; - border-collapse: collapse; - border-spacing: 0; - empty-cells: show; width: 100%; } @media (min-width: 480px) { table { - width: auto; } - table th, - table td { - padding: 0 2.5em; } } - table caption { - color: #555; - font-size: 0.83333rem; - font-style: italic; - line-height: 3rem; - text-align: center; } - @media (min-width: 480px) { - table caption { - font-size: 0.75019rem; } } - table thead { + width: auto; } } + table thead, + table tfoot { background-color: #f5f5f5; text-align: left; } - table tfoot { - background-color: #fbfbfb; - border-top: 1px solid #e0e0e0; } table th, table td { - border-right: 1px solid #e0e0e0; - line-height: 1.5rem; + line-height: 2.25rem; overflow: visible; padding: 0 1em; } - @media (min-width: 480px) { - table th, - table td { - line-height: 3rem; } } - table th:last-child, - table td:last-child { - border-right: none; } - table tr, - table td { - -webkit-transition: background-color 150ms; - transition: background-color 150ms; } + table caption { + font-size: 0.83333rem; + font-style: italic; + line-height: 3rem; + text-align: center; } [container] { margin-left: auto; margin-right: auto; max-width: 1200px; - padding-left: 1em; - padding-right: 1em; } + padding-left: 1rem; + padding-right: 1rem; + overflow: auto; } [grid] { display: -webkit-box; display: -ms-flexbox; display: flex; - margin-left: -1em; - margin-right: -1em; + margin-left: -1rem; + margin-right: -1rem; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; @@ -647,29 +566,27 @@ table { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; - padding-left: 1em; - padding-right: 1em; } + padding-left: 1rem; + padding-right: 1rem; } -[grid~="ng"] { +[grid~="no-gutters"] { margin-left: 0; margin-right: 0; } - [grid~="ng"] [column] { + [grid~="no-gutters"] [column] { padding-left: 0; padding-right: 0; } -[grid~="nm"] { - margin-left: 0; - margin-right: 0; } - [grid~="no-collapse"] { - -ms-flex-flow: row nowrap; - flex-flow: row nowrap; } + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; } [grid~="wrap"] { -ms-flex-wrap: wrap; flex-wrap: wrap; } -[grid~="nowrap"] { +[grid~="no-wrap"] { -ms-flex-wrap: nowrap; flex-wrap: nowrap; } @@ -728,31 +645,26 @@ table { [grid~="top"] { -webkit-box-align: start; -ms-flex-align: start; - -ms-grid-row-align: flex-start; align-items: flex-start; } [grid~="center"] { -webkit-box-align: center; -ms-flex-align: center; - -ms-grid-row-align: center; align-items: center; } [grid~="bottom"] { -webkit-box-align: end; -ms-flex-align: end; - -ms-grid-row-align: flex-end; align-items: flex-end; } [grid~="baseline"] { -webkit-box-align: baseline; -ms-flex-align: baseline; - -ms-grid-row-align: baseline; align-items: baseline; } [grid~="stretch"] { -webkit-box-align: stretch; -ms-flex-align: stretch; - -ms-grid-row-align: stretch; align-items: stretch; } [column~="top"] { @@ -761,11 +673,75 @@ table { [column~="center"] { -ms-flex-item-align: center; + -ms-grid-row-align: center; align-self: center; } [column~="bottom"] { -ms-flex-item-align: end; align-self: flex-end; } + +@media (min-width: 480px) { + [column~="n1"] { + -webkit-box-ordinal-group: 2; + -ms-flex-order: 1; + order: 1; + } + [column~="n2"] { + -webkit-box-ordinal-group: 3; + -ms-flex-order: 2; + order: 2; + } + [column~="n3"] { + -webkit-box-ordinal-group: 4; + -ms-flex-order: 3; + order: 3; + } + [column~="n4"] { + -webkit-box-ordinal-group: 5; + -ms-flex-order: 4; + order: 4; + } + [column~="n5"] { + -webkit-box-ordinal-group: 6; + -ms-flex-order: 5; + order: 5; + } + [column~="n6"] { + -webkit-box-ordinal-group: 7; + -ms-flex-order: 6; + order: 6; + } + [column~="n7"] { + -webkit-box-ordinal-group: 8; + -ms-flex-order: 7; + order: 7; + } + [column~="n8"] { + -webkit-box-ordinal-group: 9; + -ms-flex-order: 8; + order: 8; + } + [column~="n9"] { + -webkit-box-ordinal-group: 10; + -ms-flex-order: 9; + order: 9; + } + [column~="n10"] { + -webkit-box-ordinal-group: 11; + -ms-flex-order: 10; + order: 10; + } + [column~="n11"] { + -webkit-box-ordinal-group: 12; + -ms-flex-order: 11; + order: 11; + } + [column~="n12"] { + -webkit-box-ordinal-group: 13; + -ms-flex-order: 12; + order: 12; + } +} @media (min-width: 480px) { [column~="1"] { @@ -855,7 +831,7 @@ table { @media print { @page { - margin: .5cm; } + margin: 2cm; } *, *:before, *:after { @@ -867,7 +843,22 @@ table { :root { background-color: white; color: black; - font: 11pt/1.3 "Georgia", "Times New Roman", "Times", serif; } + font: 12pt/1.4 "Georgia", "Times New Roman", "Times", serif; } + body { + width: 100% !important; + margin: 0 !important; + padding: 0 !important; } + h1, h2, h3, h4, h5, h6 { + page-break-after: avoid; + font-family: "Georgia", "Times New Roman", "Times", serif; } + h1 { + font-size: 19pt; } + h2 { + font-size: 17pt; } + h3 { + font-size: 15pt; } + h4, h5, h6 { + font-size: 14pt; } img { max-width: 100% !important; page-break-after: avoid; @@ -885,8 +876,6 @@ table { h2, h3 { orphans: 3; widows: 3; } - h2, h3 { - page-break-after: avoid; } a, a:visited { color: black; @@ -906,7 +895,7 @@ table { pre, code { background-color: transparent; - border: 1px solid #e0e0e0; + border: 1px solid #DCDCDC; page-break-inside: avoid; } blockquote { border: none; diff --git a/dist/concise.min.css b/dist/concise.min.css index 4c13dc6..51b4ee6 100644 --- a/dist/concise.min.css +++ b/dist/concise.min.css @@ -1 +1 @@ -abbr[title]{text-decoration:underline;text-decoration:underline dotted}audio:not([controls]){display:none}b,strong{font-weight:bolder}button,input[type=submit]{-webkit-appearance:button;overflow:visible}button::-moz-focus-inner,input::-moz-focus-inner,input[type=submit]::-moz-focus-inner{border:0;padding:0}button:-moz-focusring,input:-moz-focusring,input[type=submit]:-moz-focusring{outline:1px dotted ButtonText}button,input[type=submit],select{text-transform:none}details{display:block}hr{overflow:visible;margin:1.5rem 0;background-color:#e0e0e0;height:1px}html{-ms-overflow-style:-ms-autohiding-scrollbar;overflow-y:scroll;-webkit-text-size-adjust:100%}input{-webkit-border-radius:0}input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button}input[type=number]{width:auto}input[type=search]{-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}main{display:block}pre{overflow:auto}progress{display:inline-block}summary{display:block}svg:not(:root){overflow:hidden}template{display:none}textarea{overflow:auto}[hidden]{display:none}*,:after,:before{box-sizing:inherit}*{font-size:inherit;line-height:inherit}:after,:before{text-decoration:inherit;vertical-align:inherit}button,input,input[type=submit],select,textarea{font-family:inherit;font-style:inherit;font-weight:inherit}:root{background-color:#fff;box-sizing:border-box;color:#555;cursor:default;font:16px/1.5 Helvetica,Arial,sans-serif;text-rendering:optimizeLegibility}@media (min-width:480px){:root{font-size:18px}}*{margin:0;padding:0;background-repeat:no-repeat}*,:after,:before{border-style:solid;border-width:0}[tabindex],a,area,button,input,input[type=submit],label,select,textarea{-ms-touch-action:manipulation;touch-action:manipulation}select{-moz-appearance:none;-webkit-appearance:none}svg{fill:currentColor}[aria-busy=true]{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled]{cursor:default}[hidden][aria-hidden=false]{clip:rect(0 0 0 0);display:inherit;position:absolute}[hidden][aria-hidden=false]:focus{clip:auto}audio,canvas,iframe,img,svg,video{vertical-align:middle}::-moz-selection{background-color:#d6d6d6;text-shadow:none}::selection{background-color:#d6d6d6;text-shadow:none}*+*{margin-top:1.5rem}a,div,input,kbd,li,option,select,textarea{margin-top:0}small,sub,sup{font-size:83.33333%}@media (min-width:480px){small,sub,sup{font-size:75.01875%}}sub,sup{line-height:0;position:relative;vertical-align:baseline}sup{top:-.25em;-webkit-font-feature-settings:"kern" 1,"liga" 1,"calt" 1,"pnum" 1,"tnum" 0,"onum" 1,"lnum" 0,"dlig" 0,"sups" 1;font-feature-settings:"kern" 1,"liga" 1,"calt" 1,"pnum" 1,"tnum" 0,"onum" 1,"lnum" 0,"dlig" 0,"sups" 1}sub{bottom:-.25em;-webkit-font-feature-settings:"kern" 1,"liga" 1,"calt" 1,"pnum" 1,"tnum" 0,"onum" 1,"lnum" 0,"dlig" 0,"subs" 1;font-feature-settings:"kern" 1,"liga" 1,"calt" 1,"pnum" 1,"tnum" 0,"onum" 1,"lnum" 0,"dlig" 0,"subs" 1}a{background-color:transparent;color:#4591aa;cursor:pointer;text-decoration:none;-webkit-transition:.15s;transition:.15s}a:focus,a:hover{color:#2f6374}h1 a,h2 a,h3 a{color:inherit}h1 a:focus,h1 a:hover,h2 a:focus,h2 a:hover,h3 a:focus,h3 a:hover{color:#4591aa;text-decoration:none}abbr{text-transform:uppercase;-webkit-font-feature-settings:"kern" 1,"liga" 1,"calt" 1,"pnum" 1,"tnum" 0,"onum" 1,"lnum" 0,"smcp" 1,"c2sc" 1;font-feature-settings:"kern" 1,"liga" 1,"calt" 1,"pnum" 1,"tnum" 0,"onum" 1,"lnum" 0,"smcp" 1,"c2sc" 1}code,kbd,pre,samp{font-family:Consolas,monospace;font-size:.83333rem}@media (min-width:480px){code,kbd,pre,samp{font-size:.75019rem}}pre{padding:.75rem 1em}code{vertical-align:middle;white-space:nowrap}code,pre{background-color:#f5f5f5;border:1px solid #e0e0e0;border-radius:3px;color:#484848}code{padding:2px 3px}pre code{border:none;padding:0;vertical-align:inherit;white-space:pre;font-size:inherit}kbd,pre code{background-color:transparent}kbd{border:1px solid #e0e0e0;border-radius:3px;box-shadow:0 2px 0 -1px #fff,0 2px 0 #dcdcdc;display:inline-block;padding:0 6px;white-space:nowrap}samp{vertical-align:bottom}address{font-style:normal}h1,h2,h3,h4,h5,h6{color:#222;font-family:Helvetica,Arial,sans-serif;line-height:1.25}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{color:inherit;vertical-align:0;font-size:83.33333%}@media (min-width:480px){h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-size:75.01875%}}h1,h2,h3{margin:.75rem 0 .375rem}h4,h5,h6{margin:.375rem 0}h1{font-size:2.0736rem}h2{font-size:1.728rem}h3{font-size:1.44rem}h4{font-size:1.2rem}h5{font-size:1rem}h6{font-size:.83333rem}@media (min-width:480px){h1,h2,h3{margin:1.5rem 0 .375rem}h1{font-size:3.15733rem}h2{font-size:2.36859rem}h3{font-size:1.77689rem}h4{font-size:1.333rem}h5{font-size:1rem}h6{font-size:.75019rem}}ol,ul{padding-left:1.5em;margin-bottom:.375rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}ul ul{list-style-type:square}ol ol,ul ol{list-style-type:lower-roman}ol ul{list-style-type:square}nav ul{padding-left:0}nav li{list-style:none}dl{margin-bottom:1.5rem}dt{font-weight:700}dd,dt{margin-bottom:.375rem}button,input[type=submit]{background-color:#4591aa;border:none;color:#fff;cursor:pointer;display:inline-block;font-size:.83333rem;line-height:2.25rem;overflow:visible;padding:0 1.5em;text-align:center;text-decoration:none;-webkit-transition:.15s;transition:.15s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}button:focus,button:hover,input[type=submit]:focus,input[type=submit]:hover{background-color:#75b3c7;color:#fff;text-decoration:none}button:active,button:focus,input[type=submit]:active,input[type=submit]:focus{outline:none}button:active,input[type=submit]:active{background-color:#63a8bf}button[disabled],input[disabled][type=submit]{background-color:#dcdcdc;color:#fff;cursor:not-allowed;opacity:.6}input:not([type=submit]),select,textarea{border:1px solid #e0e0e0;border-radius:3px;height:2.25rem;padding:0 .75em;-webkit-transition:.15s;transition:.15s;width:100%;font-size:.83333rem}input:not([type=submit]):focus,select:focus,textarea:focus{border-color:#74cbe8;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px rgba(69,145,170,.5);outline:none}input:not([type=submit])[disabled],select[disabled],textarea[disabled]{background-color:#f5f5f5;cursor:not-allowed}label+input:not([type=submit]),label+select,label+textarea{margin-top:.375rem}input:not([type=submit]){line-height:normal;min-height:1.5rem}input:not([type=submit])[type=checkbox]:focus,input:not([type=submit])[type=color]:focus,input:not([type=submit])[type=file]:focus,input:not([type=submit])[type=radio]:focus,input:not([type=submit])[type=range]:focus,input:not([type=submit])[type=submit]:focus{border-color:transparent;box-shadow:none;outline:none}label{display:block;font-size:.83333rem}fieldset{border:1px solid #e0e0e0;border-radius:3px;padding:1.5rem 1em;margin-bottom:1.5rem}legend{font-weight:700;padding:0 1em}input[type=checkbox],input[type=file],input[type=image],input[type=radio]{height:auto;width:auto}input[type=checkbox],input[type=radio]{line-height:normal;padding:0;vertical-align:middle;margin-top:0!important}input[type=checkbox]+label,input[type=radio]+label{display:inline-block;margin:0 0 0 .5em;line-height:1.875rem;vertical-align:middle}input[type=file]{border:none;line-height:100%;padding:0}textarea{height:auto;padding:.375rem .5em;resize:vertical}select{background-color:transparent;border-radius:5px;padding:0 0 0 .5em}select[disabled]{color:#666}select[multiple]{height:auto}select::-ms-expand{display:none}select::-ms-value{color:currentColor}select option{padding:0 .75em}input[type=range]{border:none;padding:0;width:100%;-webkit-appearance:none}input[type=range]:focus{outline:none}input[type=range]::-webkit-slider-runnable-track{background-color:#dcdcdc;border:none;border-radius:3px;height:5px}input[type=range]::-webkit-slider-thumb{border:none;border-radius:50%;background-color:#4591aa;height:16px;margin-top:-5px;width:16px;-webkit-appearance:none}input[type=range]::-moz-range-track{background-color:#dcdcdc;border:none;border-radius:3px;height:5px}input[type=range]::-moz-range-thumb{border:none;border-radius:50%;background-color:#4591aa;height:16px;margin-top:-5px;width:16px}input[type=range]::-ms-track{background-color:#dcdcdc;border:none;border-radius:3px;color:transparent;height:5px}input[type=range]::-ms-thumb{border:none;border-radius:50%;background-color:#4591aa;height:16px;margin-top:-5px;width:16px}blockquote{border-left:1px solid #e0e0e0;color:#666;margin-bottom:1.5rem;padding:0 1em}blockquote cite,blockquote footer{display:block;font-size:83.33333%;font-style:italic;margin-top:.375rem}@media (breakpoint){blockquote cite,blockquote footer{font-size:75.01875%}}blockquote cite:before,blockquote footer:before{content:"\2014 \00A0"}table{border:1px solid #e0e0e0;border-collapse:collapse;border-spacing:0;empty-cells:show;width:100%}@media (min-width:480px){table{width:auto}table td,table th{padding:0 2.5em}}table caption{color:#555;font-size:.83333rem;font-style:italic;line-height:3rem;text-align:center}@media (min-width:480px){table caption{font-size:.75019rem}}table thead{background-color:#f5f5f5;text-align:left}table tfoot{background-color:#fbfbfb;border-top:1px solid #e0e0e0}table td,table th{border-right:1px solid #e0e0e0;line-height:1.5rem;overflow:visible;padding:0 1em}@media (min-width:480px){table td,table th{line-height:3rem}}table td:last-child,table th:last-child{border-right:none}table td,table tr{-webkit-transition:background-color .15s;transition:background-color .15s}[container]{margin-left:auto;margin-right:auto;max-width:1200px;padding-left:1em;padding-right:1em}[grid]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-left:-1em;margin-right:-1em;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media (min-width:480px){[grid]{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}[column]{-webkit-box-flex:1;-ms-flex:1;flex:1;padding-left:1em;padding-right:1em}[grid~=ng]{margin-left:0;margin-right:0}[grid~=ng] [column]{padding-left:0;padding-right:0}[grid~=nm]{margin-left:0;margin-right:0}[grid~=no-collapse]{-ms-flex-flow:row nowrap;flex-flow:row}[grid~=wrap]{-ms-flex-wrap:wrap;flex-wrap:wrap}[grid~=nowrap]{-ms-flex-wrap:nowrap;flex-wrap:nowrap}[grid~=wrap-reverse]{-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}[grid~=row]{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}[grid~=row-reverse]{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}[grid~=column]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}[grid~=column-reverse]{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}[grid~=justify-start]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}[grid~=justify-end]{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}[grid~=justify-center]{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}[grid~=justify-between]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}[grid~=justify-around]{-ms-flex-pack:distribute;justify-content:space-around}[grid~=top]{-webkit-box-align:start;-ms-flex-align:start;-ms-grid-row-align:flex-start;align-items:flex-start}[grid~=center]{-webkit-box-align:center;-ms-flex-align:center;-ms-grid-row-align:center;align-items:center}[grid~=bottom]{-webkit-box-align:end;-ms-flex-align:end;-ms-grid-row-align:flex-end;align-items:flex-end}[grid~=baseline]{-webkit-box-align:baseline;-ms-flex-align:baseline;-ms-grid-row-align:baseline;align-items:baseline}[grid~=stretch]{-webkit-box-align:stretch;-ms-flex-align:stretch;-ms-grid-row-align:stretch;align-items:stretch}[column~=top]{-ms-flex-item-align:start;align-self:flex-start}[column~=center]{-ms-flex-item-align:center;align-self:center}[column~=bottom]{-ms-flex-item-align:end;align-self:flex-end}@media (min-width:480px){[column~="1"]{-webkit-box-flex:0;-ms-flex:0 1 8.33333%;flex:0 1 8.33333%;max-width:8.33333%}[column~="2"]{-webkit-box-flex:0;-ms-flex:0 1 16.66667%;flex:0 1 16.66667%;max-width:16.66667%}[column~="3"]{-webkit-box-flex:0;-ms-flex:0 1 25%;flex:0 1 25%;max-width:25%}[column~="4"]{-webkit-box-flex:0;-ms-flex:0 1 33.33333%;flex:0 1 33.33333%;max-width:33.33333%}[column~="5"]{-webkit-box-flex:0;-ms-flex:0 1 41.66667%;flex:0 1 41.66667%;max-width:41.66667%}[column~="6"]{-webkit-box-flex:0;-ms-flex:0 1 50%;flex:0 1 50%;max-width:50%}[column~="7"]{-webkit-box-flex:0;-ms-flex:0 1 58.33333%;flex:0 1 58.33333%;max-width:58.33333%}[column~="8"]{-webkit-box-flex:0;-ms-flex:0 1 66.66667%;flex:0 1 66.66667%;max-width:66.66667%}[column~="9"]{-webkit-box-flex:0;-ms-flex:0 1 75%;flex:0 1 75%;max-width:75%}[column~="10"]{-webkit-box-flex:0;-ms-flex:0 1 83.33333%;flex:0 1 83.33333%;max-width:83.33333%}[column~="11"]{-webkit-box-flex:0;-ms-flex:0 1 91.66667%;flex:0 1 91.66667%;max-width:91.66667%}[column~="12"]{-webkit-box-flex:0;-ms-flex:0 1 100%;flex:0 1 100%;max-width:100%}[column~="+1"]{margin-left:8.33333%}[column~="+2"]{margin-left:16.66667%}[column~="+3"]{margin-left:25%}[column~="+4"]{margin-left:33.33333%}[column~="+5"]{margin-left:41.66667%}[column~="+6"]{margin-left:50%}[column~="+7"]{margin-left:58.33333%}[column~="+8"]{margin-left:66.66667%}[column~="+9"]{margin-left:75%}[column~="+10"]{margin-left:83.33333%}[column~="+11"]{margin-left:91.66667%}[column~="+12"]{margin-left:100%}}@media print{@page{margin:.5cm}*,:after,:before{background:transparent!important;color:#000!important;-webkit-filter:none!important;filter:none!important;text-shadow:none!important}:root{background-color:#fff;color:#000;font:11pt/1.3 Georgia,Times New Roman,Times,serif}img{max-width:100%!important;page-break-after:avoid;page-break-inside:avoid}a[href^="#"]:after,audio,embed,footer,nav,object,video{display:none;visibility:hidden}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}a,a:visited{color:#000;font-size:.57em;text-decoration:underline;word-wrap:break-word}a:visited[href]:after,a[href]:after{content:" (" attr(href) ")";font-size:smaller}q:after{content:" (Source: " attr(cite) ")"}abbr[title]:after{content:" (" attr(title) ")"}a:after,a[href^="#"]:after,a[href^="javascript:"]:after{content:""}code,pre{background-color:transparent;border:1px solid #e0e0e0}blockquote,code,pre{page-break-inside:avoid}blockquote{border:none}thead{display:table-header-group}img,tr{page-break-inside:avoid}ol{padding-left:1.25em}ul{padding-left:0;list-style:none}ul ul,ul ul ul{padding-left:1.5em}ol li,ul li{content:"» "}} \ No newline at end of file +@charset "UTF-8";article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden],template{display:none}*,:after,:before{background-repeat:no-repeat;box-sizing:inherit}:after,:before{text-decoration:inherit;vertical-align:inherit}:root{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;line-height:1.5;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;background-color:#fff;color:#444;font-size:16px;text-rendering:optimizeLegibility}@media (min-width:480px){:root{font-size:18px}}code,kbd,pre,samp{font-family:Consolas,monospace;font-size:.83333rem;background-color:#f5f5f5}code,kbd{vertical-align:middle;display:inline-block;padding:0 .4em}pre{padding:.75rem 1em}pre>code{white-space:pre}kbd{background-color:transparent;outline:1px solid #dcdcdc}hr{background-color:#dcdcdc;height:1px;overflow:visible;border:0}nav ol,nav ul{padding-left:0}nav li{list-style:none}dt{font-weight:700}blockquote{padding:0 1em}blockquote cite,blockquote footer{color:#777;font-size:83.33333%;margin-top:.75rem}blockquote cite:before,blockquote footer:before{content:"— "}abbr{-webkit-font-feature-settings:"kern" 1,"liga" 1,"calt" 1,"pnum" 1,"tnum" 0,"onum" 1,"lnum" 0,"smcp" 1,"c2sc" 1;font-feature-settings:"kern" 1,"liga" 1,"calt" 1,"pnum" 1,"tnum" 0,"onum" 1,"lnum" 0,"smcp" 1,"c2sc" 1;text-transform:uppercase}abbr[title]{border-bottom:1px solid #dcdcdc;cursor:help;text-decoration:none}b,strong{font-weight:inherit;font-weight:bolder}dfn{font-style:italic}mark{background-color:#ff0;color:#000}progress{vertical-align:baseline}small,sub,sup{font-size:83.33333%}sub,sup{line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em;-webkit-font-feature-settings:"subs" 1;font-feature-settings:"subs" 1}sup{top:-.25em;-webkit-font-feature-settings:"sups" 1;font-feature-settings:"sups" 1}::-moz-selection{background-color:#ebe1d3;text-shadow:none}::selection{background-color:#ebe1d3;text-shadow:none}audio,canvas,iframe,img,svg,video{vertical-align:middle}img{border-style:none}svg{fill:currentColor}svg:not(:root){overflow:hidden}a{background-color:transparent;-webkit-text-decoration-skip:objects;color:#c65146;text-decoration:none;-webkit-transition-duration:.15s;transition-duration:.15s}a:focus,a:hover{color:#7f2f27}a:hover{outline-width:0}table{border-collapse:collapse;border-spacing:0}input,select,textarea{background-color:transparent;border-style:none;color:inherit;font:inherit}input:focus,select:focus,textarea:focus{outline:2px solid #2b90d9}button,input,input[type=submit]{overflow:visible}button,input[type=submit],select{text-transform:none}[type=reset],[type=submit],button,html [type=button],input[type=submit]{-webkit-appearance:button;font:inherit}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid #dcdcdc;padding:1.5rem 1em}legend{display:table;max-width:100%;white-space:normal;padding:0 .5em}textarea{overflow:auto;resize:vertical;height:auto;padding:.375rem .5em}[type=checkbox],[type=radio]{padding:0}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-cancel-button,::-webkit-search-decoration{-webkit-appearance:none}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}input[type=range]{border:none;padding:0;width:100%;-webkit-appearance:none}input[type=range]:focus{outline:none}input[type=range]::-moz-range-track{background-color:#dcdcdc;border:none;height:.3rem}input[type=range]::-ms-track{background-color:#dcdcdc;border:none;height:.3rem}input[type=range]::-webkit-slider-runnable-track{background-color:#dcdcdc;border:none;height:.3rem}input[type=range]::-moz-range-thumb{border:none;border-radius:50%;background-color:#c65146;height:.75rem;margin-top:-.225rem;width:.75rem}input[type=range]::-ms-thumb{border:none;border-radius:50%;background-color:#c65146;height:.75rem;margin-top:-.225rem;width:.75rem}input[type=range]::-webkit-slider-thumb{border:none;border-radius:50%;background-color:#c65146;height:.75rem;margin-top:-.225rem;width:.75rem;-webkit-appearance:none}button,input[type=submit]{background-color:#c65146;border:none;color:#fff;cursor:pointer;font-size:.83333rem;line-height:2.25rem;padding:0 1.5em;-webkit-transition:background-color .15s;transition:background-color .15s;white-space:nowrap}button:focus,button:hover,input[type=submit]:focus,input[type=submit]:hover{background-color:#cc6359;text-decoration:none;outline:none}button:active,input[type=submit]:active{background-color:#d2766d}button[disabled],input[disabled][type=submit]{background-color:#eee;color:#fff;cursor:not-allowed}[aria-busy=true]{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled]{cursor:default}[tabindex],a,area,button,input,input[type=submit],label,select,textarea{-ms-touch-action:manipulation;touch-action:manipulation}[hidden][aria-hidden=false]{clip:rect(0,0,0,0);display:inherit;position:absolute}[hidden][aria-hidden=false]:focus{clip:auto}*{margin:0}*+*{margin-top:1.5rem}a,body,br [column],code,dd,div,h1+p,h2+p,h3+p,h4+p,h5+p,h6+p,input,kbd,label,li,option,select,span,textarea{margin-top:0}h1{font-size:2.0736rem}h2{font-size:1.728rem}h3{font-size:1.44rem}h4{font-size:1.2rem}h5{font-size:1rem}h6{font-size:.83333rem}h1,h2,h3,h4,h5,h6{color:#222;font-family:Helvetica,Arial,sans-serif;line-height:1.3}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{color:inherit;vertical-align:0;font-size:83.33333%}h1,h2,h3{margin:.75rem 0 .375rem}h1 a,h2 a,h3 a{color:inherit}h1 a:focus,h1 a:hover,h2 a:focus,h2 a:hover,h3 a:focus,h3 a:hover{color:#c65146;text-decoration:none}h4,h5,h6{margin:.375rem 0}ol,ul{padding-left:1em}ol ol,ol ul,ul ol,ul ul{padding-left:1.5em}ol{padding-left:0;counter-reset:a}ol li{list-style:none}ol li:before{content:counters(a,".") ". ";counter-increment:a;margin-right:.2em}input:not([type=submit]),select,textarea{width:100%;font-size:.83333rem;min-height:2.25rem}input:not([type=submit])[disabled],select[disabled],textarea[disabled]{background-color:#eee;cursor:not-allowed;border:0}input:not([type=submit]):not([type=range]),select,textarea{border:1px solid #dcdcdc;padding:0 .75em}input[type=checkbox],input[type=file],input[type=image],input[type=radio]{height:auto;width:auto}input[type=checkbox],input[type=radio]{line-height:normal;padding:0;vertical-align:middle}input[type=file]{border:none;line-height:1.5rem;padding:0}select{background-color:transparent;padding-left:.5em;width:auto;min-width:10em;height:2.25rem}select[disabled]{color:#777}select[multiple]{height:auto;width:100%;padding:0}select::-ms-expand{display:none}select::-ms-value{color:currentColor}select option{padding:0 .75em}label{display:block;font-size:.83333rem;line-height:2.25rem}input[type=checkbox]+label,input[type=radio]+label{display:inline-block;margin-left:.5em}table{width:100%}@media (min-width:480px){table{width:auto}}table tfoot,table thead{background-color:#f5f5f5;text-align:left}table td,table th{line-height:2.25rem;overflow:visible;padding:0 1em}table caption{font-size:.83333rem;font-style:italic;line-height:3rem;text-align:center}[container]{margin-left:auto;margin-right:auto;max-width:1200px;padding-left:1rem;padding-right:1rem;overflow:auto}[grid]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-left:-1rem;margin-right:-1rem;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media (min-width:480px){[grid]{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}[column]{-webkit-box-flex:1;-ms-flex:1;flex:1;padding-left:1rem;padding-right:1rem}[grid~=no-gutters]{margin-left:0;margin-right:0}[grid~=no-gutters] [column]{padding-left:0;padding-right:0}[grid~=no-collapse]{-ms-flex-flow:row nowrap;flex-flow:row nowrap}[grid~=wrap]{-ms-flex-wrap:wrap;flex-wrap:wrap}[grid~=no-wrap]{-ms-flex-wrap:nowrap;flex-wrap:nowrap}[grid~=wrap-reverse]{-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}[grid~=row]{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}[grid~=row-reverse]{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}[grid~=column]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}[grid~=column-reverse]{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}[grid~=justify-start]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}[grid~=justify-end]{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}[grid~=justify-center]{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}[grid~=justify-between]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}[grid~=justify-around]{-ms-flex-pack:distribute;justify-content:space-around}[grid~=top]{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}[grid~=center]{-webkit-box-align:center;-ms-flex-align:center;align-items:center}[grid~=bottom]{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}[grid~=baseline]{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}[grid~=stretch]{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}[column~=top]{-ms-flex-item-align:start;align-self:flex-start}[column~=center]{-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center}[column~=bottom]{-ms-flex-item-align:end;align-self:flex-end}@media (min-width:480px){[column~=n1]{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}[column~=n2]{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}[column~=n3]{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}[column~=n4]{-webkit-box-ordinal-group:5;-ms-flex-order:4;order:4}[column~=n5]{-webkit-box-ordinal-group:6;-ms-flex-order:5;order:5}[column~=n6]{-webkit-box-ordinal-group:7;-ms-flex-order:6;order:6}[column~=n7]{-webkit-box-ordinal-group:8;-ms-flex-order:7;order:7}[column~=n8]{-webkit-box-ordinal-group:9;-ms-flex-order:8;order:8}[column~=n9]{-webkit-box-ordinal-group:10;-ms-flex-order:9;order:9}[column~=n10]{-webkit-box-ordinal-group:11;-ms-flex-order:10;order:10}[column~=n11]{-webkit-box-ordinal-group:12;-ms-flex-order:11;order:11}[column~=n12]{-webkit-box-ordinal-group:13;-ms-flex-order:12;order:12}}@media (min-width:480px){[column~="1"]{-webkit-box-flex:0;-ms-flex:0 1 8.33333%;flex:0 1 8.33333%;max-width:8.33333%}[column~="2"]{-webkit-box-flex:0;-ms-flex:0 1 16.66667%;flex:0 1 16.66667%;max-width:16.66667%}[column~="3"]{-webkit-box-flex:0;-ms-flex:0 1 25%;flex:0 1 25%;max-width:25%}[column~="4"]{-webkit-box-flex:0;-ms-flex:0 1 33.33333%;flex:0 1 33.33333%;max-width:33.33333%}[column~="5"]{-webkit-box-flex:0;-ms-flex:0 1 41.66667%;flex:0 1 41.66667%;max-width:41.66667%}[column~="6"]{-webkit-box-flex:0;-ms-flex:0 1 50%;flex:0 1 50%;max-width:50%}[column~="7"]{-webkit-box-flex:0;-ms-flex:0 1 58.33333%;flex:0 1 58.33333%;max-width:58.33333%}[column~="8"]{-webkit-box-flex:0;-ms-flex:0 1 66.66667%;flex:0 1 66.66667%;max-width:66.66667%}[column~="9"]{-webkit-box-flex:0;-ms-flex:0 1 75%;flex:0 1 75%;max-width:75%}[column~="10"]{-webkit-box-flex:0;-ms-flex:0 1 83.33333%;flex:0 1 83.33333%;max-width:83.33333%}[column~="11"]{-webkit-box-flex:0;-ms-flex:0 1 91.66667%;flex:0 1 91.66667%;max-width:91.66667%}[column~="12"]{-webkit-box-flex:0;-ms-flex:0 1 100%;flex:0 1 100%;max-width:100%}[column~="+1"]{margin-left:8.33333%}[column~="+2"]{margin-left:16.66667%}[column~="+3"]{margin-left:25%}[column~="+4"]{margin-left:33.33333%}[column~="+5"]{margin-left:41.66667%}[column~="+6"]{margin-left:50%}[column~="+7"]{margin-left:58.33333%}[column~="+8"]{margin-left:66.66667%}[column~="+9"]{margin-left:75%}[column~="+10"]{margin-left:83.33333%}[column~="+11"]{margin-left:91.66667%}[column~="+12"]{margin-left:100%}}@media print{@page{margin:2cm}*,:after,:before{background:transparent!important;color:#000!important;-webkit-filter:none!important;filter:none!important;text-shadow:none!important}:root{background-color:#fff;color:#000;font:12pt/1.4 Georgia,Times New Roman,Times,serif}body{width:100%!important;margin:0!important;padding:0!important}h1,h2,h3,h4,h5,h6{page-break-after:avoid;font-family:Georgia,Times New Roman,Times,serif}h1{font-size:19pt}h2{font-size:17pt}h3{font-size:15pt}h4,h5,h6{font-size:14pt}img{max-width:100%!important;page-break-after:avoid;page-break-inside:avoid}a[href^="#"]:after,audio,embed,footer,nav,object,video{display:none;visibility:hidden}h2,h3,p{orphans:3;widows:3}a,a:visited{color:#000;font-size:.57em;text-decoration:underline;word-wrap:break-word}a:visited[href]:after,a[href]:after{content:" (" attr(href) ")";font-size:smaller}q:after{content:" (Source: " attr(cite) ")"}abbr[title]:after{content:" (" attr(title) ")"}a:after,a[href^="#"]:after,a[href^="javascript:"]:after{content:""}code,pre{background-color:transparent;border:1px solid #dcdcdc}blockquote,code,pre{page-break-inside:avoid}blockquote{border:none}thead{display:table-header-group}img,tr{page-break-inside:avoid}ol{padding-left:1.25em}ul{padding-left:0;list-style:none}ul ul,ul ul ul{padding-left:1.5em}ol li,ul li{content:"» "}} diff --git a/globals/_getColor-function.scss b/globals/_getColor-function.scss new file mode 100644 index 0000000..1051378 --- /dev/null +++ b/globals/_getColor-function.scss @@ -0,0 +1,9 @@ +// +// getColor Function +// -------------------------------------------------- +// Easily retrieve colors from the $colors map. +// + +@function getColor($color, $value: "base") { + @return map-get(map-get($colors, $color), $value); +} \ No newline at end of file diff --git a/globals/_pow-function.scss b/globals/_pow-function.scss new file mode 100644 index 0000000..032865c --- /dev/null +++ b/globals/_pow-function.scss @@ -0,0 +1,19 @@ +// +// Pow function +// -------------------------------------------------- + +@function pow($number, $exponent) { + $value: 1; + + @if $exponent > 0 { + @for $i from 1 through $exponent { + $value: $value * $number; + } + } @else if $exponent < 0 { + @for $i from 1 through -$exponent { + $value: $value / $number; + } + } + + @return $value; +} \ No newline at end of file diff --git a/globals/_settings.scss b/globals/_settings.scss new file mode 100644 index 0000000..50eb5a0 --- /dev/null +++ b/globals/_settings.scss @@ -0,0 +1,168 @@ +// +// Base +// -------------------------------------------------- + +// Font size for small devices +$font-size: 16 !default; + +// Font size for big devices +$font-size-secondary: 18 !default; + +// Tracking +$letter-spacing: 0.05em !default; + +// Font families +$font-primary: "Helvetica", "Arial", sans-serif !default; +$font-secondary: "Helvetica", "Arial", sans-serif !default; +$font-mono: "Consolas", monospace !default; +$font-print-primary: "Georgia", "Times New Roman", "Times", serif !default; +$font-print-secondary: "Georgia", "Times New Roman", "Times", serif !default; + +// Enable margins to all the elements +// except the first one in each nesting level +$automargin: true !default; + +// ^ How much margin for those elements +$block-margin: 1lh !default; + +// Transition duration +$transition-duration: 150ms !default; + +// Break points +$break-small: 480px; +$break-medium: 768px; +$break-large: 960px; +$break-extra-large: 1100px; + +// Custom media queries +// Use as @media (--medium) { … } +@custom-media --extra-small (width < #{$break-small}); +@custom-media --small (width >= #{$break-small}); +@custom-media --medium (width >= #{$break-medium}); +@custom-media --large (width >= #{$break-large}); +@custom-media --extra-large (width >= #{$break-extra-large}); +@custom-media --only-small (#{$break-small} < width <= #{$break-medium}); +@custom-media --only-medium (#{$break-medium} < width <= #{$break-large}); +@custom-media --only-large (#{$break-large} < width <= #{$break-extra-large}); + +// Spacing variables +$spacing-xs: 0.5lh !default; +$spacing-s: 1lh !default; +$spacing-m: 2lh !default; +$spacing-l: 3lh !default; +$spacing-xl: 4lh !default; + +// +// Type Scale +// -------------------------------------------------- + +// Suggested ratios +// Source: http://type-scale.com/ +$_minor-second: 1.067 !default; +$_major-second: 1.125 !default; +$_minor-third: 1.200 !default; +$_major-third: 1.250 !default; +$_perfect-fourth: 1.333 !default; +$_augmented-fourth: 1.414 !default; +$_perfect-fifth: 1.500 !default; +$_golden-ratio: 1.618 !default; + +// Ratio for primary scale +$scale-ratio: $_minor-third !default; + +// Ratio for secondary scale +$scale-ratio-secondary: $_perfect-fourth !default; + +// +// Grid +// -------------------------------------------------- + +// Enable grid styles +$enable-grid: true !default; + +// Enable x-*, sm-*, md-*, lg-*, xl-* columns and offsets +$full-grid: false !default; + +// Max width for container +$container-width: 1200px !default; + +// Enable container="solid" option +$enable-container-solid: false !default; + +// Gutter size +$gutter: 2rem !default; + +// Number of columns in a row +$num-columns: 12 !default; + +// Prefix for attributes +$prefix: '' !default; + +// Create columns and offsets above this breakpoint +$breakpoint: --small !default; + +// +// Color Palette +// -------------------------------------------------- +// Use the getColor() function to use those values in +// your stylesheets. Example: getColor(base, primary) + +$colors: ( + base: ( + "primary": #C65146, + "selection": #EBE1D3, + "lines": #DCDCDC + ), + + text: ( + "primary": #444, + "secondary": #777, + "heading": #222, + "inverted": white + ), + + background: ( + "dark": #32373d, + "light": #f5f5f5, + "body": white + ), + + state: ( + "muted": #eee, + "success": #10a887, + "warning": #F17F42, + "error": #da3c3c + ), + + blue: ( + "darker": #1573b6, + "dark": #1e80c6, + "base": #2b90d9, + "light": #3fa2e9, + "lighter": #4eb1f9 + ), + + green: ( + "darker": #089073, + "dark": #0b9d7d, + "base": #10a887, + "light": #1eb896, + "lighter": #28ceaa + ), + + red: ( + "darker": #653131, + "dark": #b73333, + "base": #da3c3c, + "light": #f25a5a, + "lighter": #fa8181 + ), + + gray: ( + "darker": #333333, + "dark": #4d4d4d, + "base": #666666, + "light": #808080, + "lighter": #999999 + ) +) !default; diff --git a/globals/_typeScale-function.scss b/globals/_typeScale-function.scss new file mode 100644 index 0000000..4ab8655 --- /dev/null +++ b/globals/_typeScale-function.scss @@ -0,0 +1,7 @@ +// +// Function to easily retrieve sizes from a scale. +// -------------------------------------------------- + +@function typeScale($size, $ratio: $scale-ratio) { + @return pow($ratio, $size - 2) * 1rem; +} \ No newline at end of file diff --git a/package.json b/package.json index 9c4c0ce..4eec325 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "concise.css", - "version": "3.4.0", + "version": "4.1.2", "description": "A lightweight front-end framework that provides functionality without the bloat.", "license": "MIT", "keywords": [ @@ -12,7 +12,8 @@ "front-end", "framework", "web", - "lightweight" + "lightweight", + "postcss" ], "homepage": "http://concisecss.com", "bugs": "https://github.com/ConciseCSS/concise.css/issues", @@ -21,18 +22,25 @@ "url": "https://github.com/ConciseCSS/concise.css" }, "engines": { - "node": "<=4.2.3" + "node": ">=6.0.0" }, "devDependencies": { "chokidar-cli": "^1.2.0", - "concise-cli": "^0.3.0", + "concise-cli": "^0.4.1", "cssnano-cli": "^1.0.4", - "node-sass": "^3.7.0", - "stylestats": "^6.3.0" + "http-server": "^0.9.0", + "jake": "^8.0.15", + "livereload": "^0.6.0", + "stylestats": "^6.3.0", + "postcss": "^5.0.21", + "postcss-custom-media": "^5.0.1", + "postcss-lh": "^1.1.0", + "postcss-media-minmax": "^2.1.2", + "postcss-input-range": "^2.0.0" }, "scripts": { - "build": "concisecss compile concise.scss dist/concise.css && cssnano dist/concise.css dist/concise.min.css", - "build:watch": "npm run build && chokidar '**/*.scss' -c 'npm run build'", + "build": "jake build", + "build:dev": "jake default", "stats": "stylestats dist/concise.css", "stats:min": "stylestats dist/concise.min.css" } diff --git a/src/_atgrid.scss b/src/_atgrid.scss index 24d84d9..d5ca4fd 100644 --- a/src/_atgrid.scss +++ b/src/_atgrid.scss @@ -1,127 +1,253 @@ // -// atGrid.css for Concise - Attribute-based CSS Grid System -// https://github.com/kolcethompsonco/atgrid.css -// MIT License - James Kolce +// atGrid.css for Concise CSS - Attribute-based Grid System +// https://github.com/jameskolce/atgrid.css +// MIT License - James Kolce // ============================================================================= -[#{$prefix}container] { - margin-left: auto; - margin-right: auto; - max-width: $container-width; - padding-left: $gutter / 2; - padding-right: $gutter / 2; -} - -[#{$prefix}grid] { - display: flex; - margin-left: $gutter / -2; - margin-right: $gutter / -2; - flex-direction: column; - - // Collapse columns on breakpoint - @media ($breakpoint) { flex-direction: row; } -} +@if ($enable-grid) { + [#{$prefix}container] { + margin-left: auto; + margin-right: auto; + max-width: $container-width; + padding-left: $gutter / 2; + padding-right: $gutter / 2; + overflow: auto; + } -[#{$prefix}column] { - flex: 1; - padding-left: $gutter / 2; - padding-right: $gutter / 2; -} + @if($enable-container-solid) { + [#{$prefix}container~="solid"] { + @media(--small) { + max-width: $break-small; + } + @media(--medium) { + max-width: $break-medium; + } + @media(--large) { + max-width: $break-large; + } + @media(--extra-large) { + max-width: $container-width; + } + } + } -// -// No Gutters -// + [#{$prefix}grid] { + display: flex; + margin-left: $gutter / -2; + margin-right: $gutter / -2; + flex-direction: column; -[#{$prefix}grid~="ng"] { - margin-left: 0; - margin-right: 0; + // Collapse columns on breakpoint + @media ($breakpoint) { flex-direction: row; } + } [#{$prefix}column] { - padding-left: 0; - padding-right: 0; + flex: 1; + padding-left: $gutter / 2; + padding-right: $gutter / 2; } -} - -// -// No margins -// -[#{$prefix}grid~="nm"] { - margin-left: 0; - margin-right: 0; -} + // + // No Gutters + // -// -// No Collapse columns -// + [#{$prefix}grid~="no-gutters"] { + margin-left: 0; + margin-right: 0; -[#{$prefix}grid~="no-collapse"] { flex-flow: row nowrap; } + > [#{$prefix}column] { + padding-left: 0; + padding-right: 0; + } + } -// -// Wrap columns -// + // + // No Collapse columns + // -[#{$prefix}grid~="wrap"] { flex-wrap: wrap; } -[#{$prefix}grid~="nowrap"] { flex-wrap: nowrap; } -[#{$prefix}grid~="wrap-reverse"] { flex-wrap: wrap-reverse; } + [#{$prefix}grid~="no-collapse"] { flex-flow: row nowrap; } -// -// Direction of columns in a row -// + // + // Column wrapping + // -[#{$prefix}grid~="row"] { flex-direction: row; } -[#{$prefix}grid~="row-reverse"] { flex-direction: row-reverse; } -[#{$prefix}grid~="column"] { flex-direction: column; } -[#{$prefix}grid~="column-reverse"] { flex-direction: column-reverse; } + [#{$prefix}grid~="wrap"] { flex-wrap: wrap; } + [#{$prefix}grid~="no-wrap"] { flex-wrap: nowrap; } + [#{$prefix}grid~="wrap-reverse"] { flex-wrap: wrap-reverse; } -// -// Justify content -// + // + // Direction of columns in a row + // -[#{$prefix}grid~="justify-start"] { justify-content: flex-start; } -[#{$prefix}grid~="justify-end"] { justify-content: flex-end; } -[#{$prefix}grid~="justify-center"] { justify-content: center; } -[#{$prefix}grid~="justify-between"] { justify-content: space-between; } -[#{$prefix}grid~="justify-around"] { justify-content: space-around; } + [#{$prefix}grid~="row"] { flex-direction: row; } + [#{$prefix}grid~="row-reverse"] { flex-direction: row-reverse; } + [#{$prefix}grid~="column"] { flex-direction: column; } + [#{$prefix}grid~="column-reverse"] { flex-direction: column-reverse; } + + // + // Reorder items above breakpoint + // + + @media ($breakpoint) { + @for $i from 1 through $num-columns { + [#{$prefix}column~="n#{$i}"] { order: #{$i}; } + } + } -// -// Alignment of all columns in a row -// + // + // Justify content + // -[#{$prefix}grid~="top"] { align-items: flex-start; } -[#{$prefix}grid~="center"] { align-items: center; } -[#{$prefix}grid~="bottom"] { align-items: flex-end; } -[#{$prefix}grid~="baseline"] { align-items: baseline; } -[#{$prefix}grid~="stretch"] { align-items: stretch; } + [#{$prefix}grid~="justify-start"] { justify-content: flex-start; } + [#{$prefix}grid~="justify-end"] { justify-content: flex-end; } + [#{$prefix}grid~="justify-center"] { justify-content: center; } + [#{$prefix}grid~="justify-between"] { justify-content: space-between; } + [#{$prefix}grid~="justify-around"] { justify-content: space-around; } -// -// Alignment of individual columns -// + // + // Alignment of all columns in a row + // -[#{$prefix}column~="top"] { align-self: flex-start; } -[#{$prefix}column~="center"] { align-self: center; } -[#{$prefix}column~="bottom"] { align-self: flex-end; } + [#{$prefix}grid~="top"] { align-items: flex-start; } + [#{$prefix}grid~="center"] { align-items: center; } + [#{$prefix}grid~="bottom"] { align-items: flex-end; } + [#{$prefix}grid~="baseline"] { align-items: baseline; } + [#{$prefix}grid~="stretch"] { align-items: stretch; } -// Create column widths and offsets above the breakpoint -@media ($breakpoint) { // - // Column widths + // Alignment of individual columns // - @for $i from 1 through $num-columns { - [#{$prefix}column~="#{$i}"] { - flex: 0 1 ($i/$num-columns) * 100%; - max-width: ($i/$num-columns) * 100%; + [#{$prefix}column~="top"] { align-self: flex-start; } + [#{$prefix}column~="center"] { align-self: center; } + [#{$prefix}column~="bottom"] { align-self: flex-end; } + + // Create column widths and offsets above the breakpoint + @media ($breakpoint) { + // + // Column widths + // + @for $i from 1 through $num-columns { + [#{$prefix}column~="#{$i}"] { + flex: 0 1 ($i/$num-columns) * 100%; + max-width: ($i/$num-columns) * 100%; + } + } + + // + // Column offsets + // + @for $i from 1 through $num-columns { + [#{$prefix}column~="+#{$i}"] { + margin-left: ($i/$num-columns) * 100%; + } } } - // - // Column offsets - // + @if ($full-grid) { + @media (--extra-small) { + // + // Column widths + // + @for $i from 1 through $num-columns { + [#{$prefix}column~="xs-#{$i}"] { + flex: 0 1 ($i/$num-columns) * 100%; + max-width: ($i/$num-columns) * 100%; + } + } + + // + // Column offsets + // + @for $i from 1 through $num-columns { + [#{$prefix}column~="+xs-#{$i}"] { + margin-left: ($i/$num-columns) * 100%; + } + } + } + + @media (--small) { + // + // Column widths + // + @for $i from 1 through $num-columns { + [#{$prefix}column~="s-#{$i}"] { + flex: 0 1 ($i/$num-columns) * 100%; + max-width: ($i/$num-columns) * 100%; + } + } + + // + // Column offsets + // + @for $i from 1 through $num-columns { + [#{$prefix}column~="+s-#{$i}"] { + margin-left: ($i/$num-columns) * 100%; + } + } + } + + @media (--medium) { + // + // Column widths + // + @for $i from 1 through $num-columns { + [#{$prefix}column~="m-#{$i}"] { + flex: 0 1 ($i/$num-columns) * 100%; + max-width: ($i/$num-columns) * 100%; + } + } + + // + // Column offsets + // + @for $i from 1 through $num-columns { + [#{$prefix}column~="+m-#{$i}"] { + margin-left: ($i/$num-columns) * 100%; + } + } + } + + @media (--large) { + // + // Column widths + // + @for $i from 1 through $num-columns { + [#{$prefix}column~="l-#{$i}"] { + flex: 0 1 ($i/$num-columns) * 100%; + max-width: ($i/$num-columns) * 100%; + } + } + + // + // Column offsets + // + @for $i from 1 through $num-columns { + [#{$prefix}column~="+l-#{$i}"] { + margin-left: ($i/$num-columns) * 100%; + } + } + } - @for $i from 1 through $num-columns { - [#{$prefix}column~="+#{$i}"] { - margin-left: ($i/$num-columns) * 100%; + @media (--extra-large) { + // + // Column widths + // + @for $i from 1 through $num-columns { + [#{$prefix}column~="xl-#{$i}"] { + flex: 0 1 ($i/$num-columns) * 100%; + max-width: ($i/$num-columns) * 100%; + } + } + + // + // Column offsets + // + @for $i from 1 through $num-columns { + [#{$prefix}column~="+xl-#{$i}"] { + margin-left: ($i/$num-columns) * 100%; + } + } } } } diff --git a/src/_base.scss b/src/_base.scss new file mode 100644 index 0000000..5f6c3bd --- /dev/null +++ b/src/_base.scss @@ -0,0 +1,722 @@ +// +// Base styles +// ============================================================================= +// Based on sanitize.css v4.1.0 with heavy modifications for Concise CSS +// +// TODO: Most of the comments are from sanitize.css. Comments for Concise should be added too. +// +// Contents: +// 1. Display definitions +// 2. Elements of HTML +// 3. Grouping content +// 4. Text-level semantics +// 5. Embedded content +// 6. Links +// 7. Tabular data +// 8. Forms +// 9. WAI-ARIA +// 10. User interaction +// 11. Lobotomized Owl (Margins) + +// +// 1. Display definitions +// -------------------------------------------------- + +// +// Add the correct display in IE 9-. +// 1. Add the correct display in Edge, IE, and Firefox. +// 2. Add the correct display in IE. +// + +article, +aside, +details, // 1 +figcaption, +figure, +footer, +header, +main, // 2 +menu, +nav, +section, +summary { // 1 + display: block; +} + +// +// Add the correct display in IE 9-. +// + +audio, +canvas, +progress, +video { + display: inline-block; +} + +// +// Add the correct display in iOS 4-7. +// + +audio:not([controls]) { + display: none; + height: 0; +} + +// +// Add the correct display in IE 10-. +// 1. Add the correct display in IE. +// + +template, // 1 +[hidden] { + display: none; +} + +// +// 2. Elements of HTML (https://www.w3.org/TR/html5/semantics.html) +// -------------------------------------------------- + +// +// 1. Remove repeating backgrounds in all browsers. +// 2. Add box sizing inheritence in all browsers. +// + +*, +::before, +::after { + background-repeat: no-repeat; // 1 + box-sizing: inherit; // 2 +} + +// +// 1. Add text decoration inheritance in all browsers. +// 2. Add vertical alignment inheritence in all browsers. +// + +::before, +::after { + text-decoration: inherit; // 1 + vertical-align: inherit; // 2 +} + +// +// Root styles +// + +:root { + box-sizing: border-box; + font-family: $font-primary; + line-height: 1.5; + -ms-text-size-adjust: 100%; + -webkit-text-size-adjust: 100%; + background-color: getColor(background, body); + color: getColor(text, primary); + font-size: $font-size + px; + text-rendering: optimizeLegibility; + + @media ($breakpoint) { + font-size: $font-size-secondary + px; + } +} + +// +// 3. Grouping content (https://www.w3.org/TR/html5/grouping-content.html) +// -------------------------------------------------- + +// +// 1. Correct font sizing inheritance and scaling in all browsers. +// 2. Correct the odd `em` font sizing in all browsers. +// + +code, +kbd, +pre, +samp { + font-family: $font-mono; // 1 + font-size: typeScale(1); // 2 + background-color: getColor(background, light); +} + +code, +kbd { + vertical-align: middle; + display: inline-block; + padding: 0 0.4em; +} + +pre { + padding: 0.5lh 1em; + + & > code { white-space: pre; } +} + +kbd { + background-color: transparent; + outline: 1px solid getColor(base, lines); +} + +// +// 2. Add visible overflow in Edge and IE. +// + +hr { + background-color: getColor(base, lines); + height: 1px; + overflow: visible; // 2 + border: 0; +} + +// +// Remove the list style on navigation lists in all browsers. +// + +nav { + ol, + ul { padding-left: 0; } + + li { list-style: none; } +} + +// +// Make definition lists bold +// + +dt { font-weight: bold; } + +// +// 4. Text-level semantics +// -------------------------------------------------- + +// +// Make blockquotes prettier +// 1. Adds an em dash in the cite and footer of the quote +// 2. Use the next smaller size in the scale +// + +blockquote { + padding: 0 1em; + + cite, + footer { + color: getColor(text, secondary); + font-size: 100% / $scale-ratio; // 2 + margin-top: 0.5lh; + + &:before { content: "— "; } // 1 + } +} + +// +// 1. Add a bordered underline effect in all browsers. +// 2. Remove text decoration in Firefox 40+. +// 3. Change all letters to uppercase +// 4. Turn on small caps for upper and lowercase letters + +abbr { + font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0, "smcp" 1, "c2sc" 1; // 4 + text-transform: uppercase; // 3 + + &[title] { + border-bottom: 1px solid getColor(base, lines); // 1 + cursor: help; + text-decoration: none; // 2 + } +} + +// +// Prevent the duplicate application of `bolder` by the next rule in Safari 6. +// + +b, +strong { + font-weight: inherit; +} + +// +// Add the correct font weight in Chrome, Edge, and Safari. +// + +b, +strong { + font-weight: bolder; +} + +// +// Add the correct font style in Android 4.3-. +// + +dfn { + font-style: italic; +} + +// +// Add the correct colors in IE 9-. +// + +mark { + background-color: #ffff00; + color: #000000; +} + +// +// Add the correct vertical alignment in Chrome, Firefox, and Opera. +// + +progress { + vertical-align: baseline; +} + +// +// Correct the font size in all browsers. +// + +small { + // Use the next smaller size in the scale + font-size: 100% / $scale-ratio; +} + +// +// Change the positioning on superscript and subscript elements +// in all browsers. +// 1. Use the next smaller size in the scale +// 2. Enables display of subscript variants +// 3. Enables display of superscript variants +// 4. Adjust position +// + +sub, +sup { + line-height: 0; + position: relative; + vertical-align: baseline; + font-size: 100% / $scale-ratio; // 1 +} + +sub { + bottom: -0.25em; // 4 + font-feature-settings: "subs" 1; // 2 +} + +sup { + top: -0.25em; // 4 + font-feature-settings: "sups" 1; // 3 +} + +// +// 1. Remove the text shadow on text selections. +// 2. Customize the background color on text selections. +// + +::-moz-selection { + background-color: getColor(base, selection); // 2 + text-shadow: none; // 1 +} + +::selection { + background-color: getColor(base, selection); // 2 + text-shadow: none; // 1 +} + +// +// 5. Embedded content (https://www.w3.org/TR/html5/embedded-content-0.html) +// -------------------------------------------------- + +// +// Change the alignment on media elements in all browers. +// + +audio, +canvas, +iframe, +img, +svg, +video { + vertical-align: middle; +} + +// +// Remove the border on images inside links in IE 10-. +// + +img { + border-style: none; +} + +// +// Change the fill color to match the text color in all browsers. +// + +svg { + fill: currentColor; +} + +// +// Hide the overflow in IE. +// + +svg:not(:root) { + overflow: hidden; +} + +// +// 6. Links (https://www.w3.org/TR/html5/links.html#links) +// -------------------------------------------------- + +// +// 1. Remove the gray background on active links in IE 10. +// 2. Remove the gaps in underlines in iOS 8+ and Safari 8+. +// 3. Add transition by default +// + +a { + background-color: transparent; // 1 + -webkit-text-decoration-skip: objects; // 2 + color: getColor(base, primary); + text-decoration: none; + transition-duration: $transition-duration; // 3 + + &:hover, + &:focus { color: darken(getColor(base, primary), 20%); } +} + +// +// Remove the outline when hovering in all browsers. +// + +a:hover { + outline-width: 0; +} + +// +// 7. Tabular data (https://www.w3.org/TR/html5/tabular-data.html) +// -------------------------------------------------- + +// +// Remove border spacing in all browsers. +// + +table { + border-collapse: collapse; + border-spacing: 0; +} + +// +// 8. Forms: (https://www.w3.org/TR/html5/forms.html) +// -------------------------------------------------- + +// +// 1. Remove the default styling in all browsers. +// + +input, +select, +textarea { + background-color: transparent; // 1 + border-style: none; // 1 + color: inherit; // 1 + font: inherit; + + &:focus { outline: 2px solid getColor(blue, base); } +} + +// +// Correct the overflow in IE. +// 1. Correct the overflow in Edge. +// + +button, +input { // 1 + overflow: visible; +} + +// +// Remove the inheritance in Edge, Firefox, and IE. +// 1. Remove the inheritance in Firefox. +// + +button, +select { // 1 + text-transform: none; +} + +// +// 1. Prevent the WebKit bug where (2) destroys native `audio` and `video` +// controls in Android 4. +// 2. Correct the inability to style clickable types in iOS and Safari. +// + +button, +html [type="button"], // 1 +[type="reset"], +[type="submit"] { + -webkit-appearance: button; // 2 + font: inherit; +} + +// +// Remove the inner border and padding in Firefox. +// + +::-moz-focus-inner { + border-style: none; + padding: 0; +} + +// +// Correct the focus styles unset by the previous rule. +// + +:-moz-focusring { + outline: 1px dotted ButtonText; +} + +// +// Correct the border and padding in all browsers. +// + +fieldset { + border: 1px solid getColor(base, lines); + padding: 1lh 1em; +} + +// +// 1. Correct the text wrapping in Edge and IE. +// + +legend { + display: table; // 1 + max-width: 100%; // 1 + white-space: normal; // 1 + padding: 0 0.5em; +} + +// +// 1. Remove the vertical scrollbar in IE. +// 2. Change the resize direction on textareas in all browsers. +// + +textarea { + overflow: auto; // 1 + resize: vertical; // 2 + height: auto; + padding: 0.25lh 0.5em; +} + +// +// Remove the padding in IE 10-. +// + +[type="checkbox"], +[type="radio"] { + padding: 0; +} + +// +// Correct the cursor style on increment and decrement buttons in Chrome. +// + +::-webkit-inner-spin-button, +::-webkit-outer-spin-button { + height: auto; +} + +// +// 1. Correct the odd appearance in Chrome and Safari. +// 2. Correct the outline style in Safari. +// + +[type="search"] { + -webkit-appearance: textfield; // 1 + outline-offset: -2px; // 2 +} + +// +// Remove the inner padding and cancel buttons in Chrome and Safari for OS X. +// + +::-webkit-search-cancel-button, +::-webkit-search-decoration { + -webkit-appearance: none; +} + +// +// Correct the text style on placeholders in Chrome, Edge, and Safari. +// + +::-webkit-input-placeholder { + color: inherit; + opacity: .54; +} + +// +// 1. Correct the inability to style clickable types in iOS and Safari. +// 2. Change font properties to `inherit` in Safari. +// + +::-webkit-file-upload-button { + -webkit-appearance: button; /* 1 */ + font: inherit; /* 2 */ +} + +// +// Make the range input flat using the Concise settings +// + +input[type="range"] { + border: none; + padding: 0; + width: 100%; + -webkit-appearance: none; + + &:focus { outline: none; } + + &::range-track { + background-color: getColor(base, lines); + border: none; + height: 0.2lh; + } + + &::range-thumb { + border: none; + border-radius: 50%; + background-color: getColor(base, primary); + height: 0.5lh; + margin-top: -0.15lh; + width: 0.5lh; + } + + &::-webkit-slider-thumb { -webkit-appearance: none; } +} + +// +// Make the buttons flat +// + +button { + background-color: getColor(base, primary); + border: none; + color: getColor(text, inverted); + cursor: pointer; + font-size: typeScale(1); + line-height: 1.5lh; + padding: 0 1.5em; + transition: background-color $transition-duration; + white-space: nowrap; + + &:hover, + &:focus { + background-color: lighten(getColor(base, primary), 5%); + text-decoration: none; + outline: none; + } + + &:active { background-color: lighten(getColor(base, primary), 10%); } + + &[disabled] { + background-color: getColor(state, muted); + color: getColor(text, inverted); + cursor: not-allowed; + } +} + +// Make the submit inputs and buttons look the same +input[type="submit"] { @extend button; } + +// +// 9. WAI-ARIA (https://www.w3.org/TR/html5/dom.html#wai-aria) +// -------------------------------------------------- + +// +// Change the cursor on busy elements. +// + +[aria-busy="true"] { + cursor: progress; +} + +// +// Change the cursor on control elements. +// + +[aria-controls] { + cursor: pointer; +} + +// +// Change the cursor on disabled, not-editable, or otherwise +// inoperable elements. +// + +[aria-disabled] { + cursor: default; +} + +// +// 10. User interaction (https://www.w3.org/TR/html5/editing.html) +// -------------------------------------------------- + +// +// Remove the tapping delay on clickable elements. +// 1. Remove the tapping delay in IE 10. +// + +a, +area, +button, +input, +label, +select, +textarea, +[tabindex] { + -ms-touch-action: manipulation; // 1 + touch-action: manipulation; +} + +// +// Change the display on visually hidden accessible elements. +// + +[hidden][aria-hidden="false"] { + clip: rect(0, 0, 0, 0); + display: inherit; + position: absolute; +} + +[hidden][aria-hidden="false"]:focus { + clip: auto; +} + +// +// 11. Automatic margins a.k.a Lobotomized Owl +// -------------------------------------------------- + +@if $automargin { + * { margin: 0; } + + // A margin top is added to all the elements except the first one in each nesting level + * + * { margin-top: $block-margin; } + + // These elements shouldn’t get a margin + li, + kbd, + div, + input, + option, + select, + a, + textarea, + body, + main, + span, + dd, + code, + label, + br + [#{$prefix}column]{ margin-top: 0; } + + // First paragraphs below a heading shouldn’t get a margin + h1, h2, h3, h4, h5, h6 { + & + p { margin-top: 0; } + } +} diff --git a/src/_blockquotes.scss b/src/_blockquotes.scss deleted file mode 100644 index bada090..0000000 --- a/src/_blockquotes.scss +++ /dev/null @@ -1,26 +0,0 @@ -// -// Blockquotes -// ============================================================================= - -blockquote { - border-left: 1px solid getColor(base, lines); - color: getColor(text, secondary); - margin-bottom: 1lh; - padding: 0 1em; - - cite, - footer { - display: block; - // Use the next smaller size in the scale - font-size: 100% / $scale-ratio; - font-style: italic; - margin-top: 0.25lh; - - @media (breakpoint) { - font-size: 100% / $scale-ratio-secondary; - } - } - - cite:before, - footer:before { content: "\2014 \00A0"; } -} diff --git a/src/_buttons.scss b/src/_buttons.scss deleted file mode 100644 index 06d1cfd..0000000 --- a/src/_buttons.scss +++ /dev/null @@ -1,40 +0,0 @@ -// -// Buttons -// ============================================================================= - -button { - background-color: getColor(base, primary); - border: none; - color: getColor(text, ui); - cursor: pointer; - display: inline-block; - font-size: typeScale(1); - line-height: 1.5lh; - overflow: visible; - padding: 0 1.5em; - text-align: center; - text-decoration: none; - transition: $transition-duration; - user-select: none; - vertical-align: middle; - white-space: nowrap; - - &:hover, - &:focus { - background-color: lighten(getColor(base, primary), 15%); - color: getColor(text, ui); - text-decoration: none; - } - - &:focus, - &:active { outline: none; } - - &:active { background-color: lighten(getColor(base, primary), 10%); } - - &[disabled] { - background-color: darken(getColor(background, light), 10%); - color: getColor(text, ui); - cursor: not-allowed; - opacity: 0.6; - } -} diff --git a/src/_forms.scss b/src/_forms.scss index c7ad911..1231108 100644 --- a/src/_forms.scss +++ b/src/_forms.scss @@ -5,72 +5,24 @@ input:not([type="submit"]), select, textarea { - border: 1px solid getColor(base, lines); - border-radius: 3px; - height: 1.5lh; - padding: 0 .75em; - transition: $transition-duration; width: 100%; font-size: typeScale(1); - - &:focus { - border-color: getColor(blue, lighter); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), - 0 0 6px rgba(getColor(blue, base), .5); - outline: none; - } + min-height: 1.5lh; &[disabled] { - background-color: getColor(background, light); + background-color: getColor(state, muted); cursor: not-allowed; - } - - label + & { - margin-top: 0.25lh; + border: 0; } } -input:not([type="submit"]) { - line-height: normal; - min-height: 1lh; - - // Remove focus styles - &[type="checkbox"], - &[type="radio"], - &[type="range"], - &[type="file"], - &[type="color"], - &[type="submit"] { - &:focus { - border-color: transparent; - box-shadow: none; - outline: none; - } - } -} - -input[type="submit"] { - @extend button; -} - -label { - display: block; - font-size: typeScale(1); -} - -fieldset { +input:not([type="submit"]):not([type="range"]), +select, +textarea { border: 1px solid getColor(base, lines); - border-radius: 3px; - padding: 1lh 1em; - margin-bottom: 1lh; -} - -legend { - font-weight: bold; - padding: 0 1em; + padding: 0 0.75em; } -// Keep the original size for this small inputs input[type="checkbox"], input[type="file"], input[type="image"], @@ -79,111 +31,50 @@ input[type="radio"] { width: auto; } -// Checkbox & radio input[type="checkbox"], input[type="radio"] { line-height: normal; padding: 0; vertical-align: middle; - margin-top: 0 !important; } -// Checkbox & radio elements are inline with their label -input[type="checkbox"] + label, -input[type="radio"] + label { - display: inline-block; - margin: 0 0 0 .5em; - line-height: 1.25lh; - vertical-align: middle; -} - -// File upload input[type="file"] { border: none; - line-height: 100%; + line-height: 1lh; padding: 0; } -// Textarea -textarea { - height: auto; - padding: 0.25lh 0.5em; - resize: vertical; -} - -// Style select like a standard input - Internet Explorer 11+ select { background-color: transparent; - border-radius: 5px; - padding: 0 0 0 0.5em; + padding-left: 0.5em; + width: auto; + min-width: 10em; + height: 1.5lh; &[disabled] { color: getColor(text, secondary); } - &[multiple] { height: auto; } + &[multiple] { + height: auto; + width: 100%; + padding: 0; + } &::-ms-expand { display: none; } &::-ms-value { color: currentColor; } - option { padding: 0 .75em } + option { padding: 0 0.75em } } -// Range input -input[type="range"] { - border: none; - padding: 0; - width: 100%; - -webkit-appearance: none; - - &:focus { outline: none; } - - &::-webkit-slider-runnable-track { - background-color: darken(getColor(background, light), 10%); - border: none; - border-radius: 3px; - height: 5px; - } - - &::-webkit-slider-thumb { - border: none; - border-radius: 50%; - background-color: getColor(base, primary); - height: 16px; - margin-top: -5px; - width: 16px; - -webkit-appearance: none; - } - - &::-moz-range-track { - background-color: darken(getColor(background, light), 10%); - border: none; - border-radius: 3px; - height: 5px; - } - - &::-moz-range-thumb { - border: none; - border-radius: 50%; - background-color: getColor(base, primary); - height: 16px; - margin-top: -5px; - width: 16px; - } - - &::-ms-track { - background-color: darken(getColor(background, light), 10%); - border: none; - border-radius: 3px; - color: transparent; - height: 5px; - } - - &::-ms-thumb { - border: none; - border-radius: 50%; - background-color: getColor(base, primary); - height: 16px; - margin-top: -5px; - width: 16px; - } +label { + display: block; + font-size: typeScale(1); + line-height: 1.5lh; } + +// Labels are inline with their checkbox and radio elements +input[type="checkbox"] + label, +input[type="radio"] + label { + display: inline-block; + margin-left: 0.5em; +} \ No newline at end of file diff --git a/src/_headings.scss b/src/_headings.scss index 863eb12..b820b36 100644 --- a/src/_headings.scss +++ b/src/_headings.scss @@ -2,10 +2,17 @@ // Headings // ============================================================================= +h1 { font-size: typeScale(6); } +h2 { font-size: typeScale(5); } +h3 { font-size: typeScale(4); } +h4 { font-size: typeScale(3); } +h5 { font-size: typeScale(2); } +h6 { font-size: typeScale(1); } + h1, h2, h3, h4, h5, h6 { color: getColor(text, heading); font-family: $font-secondary; - line-height: 1.25; + line-height: 1.3; small { color: inherit; @@ -13,29 +20,21 @@ h1, h2, h3, h4, h5, h6 { // Use the next smaller size in the scale font-size: 100% / $scale-ratio; - @media ($breakpoint) { font-size: 100% / $scale-ratio-secondary; } } } -h1, h2, h3 { margin: 0.5lh 0 0.25lh; } -h4, h5, h6 { margin: 0.25lh 0; } - -h1 { font-size: typeScale(6); } -h2 { font-size: typeScale(5); } -h3 { font-size: typeScale(4); } -h4 { font-size: typeScale(3); } -h5 { font-size: typeScale(2); } -h6 { font-size: typeScale(1); } - +h1, h2, h3 { + margin: 0.5lh 0 0.25lh; -// Styles for medium and up displays -@media ($breakpoint) { - h1, h2, h3 { margin: 1lh 0 0.25lh; } + a { + color: inherit; - h1 { font-size: typeScale(6, $scale-ratio-secondary); } - h2 { font-size: typeScale(5, $scale-ratio-secondary); } - h3 { font-size: typeScale(4, $scale-ratio-secondary); } - h4 { font-size: typeScale(3, $scale-ratio-secondary); } - h5 { font-size: typeScale(2, $scale-ratio-secondary); } - h6 { font-size: typeScale(1, $scale-ratio-secondary); } + &:hover, + &:focus { + color: getColor(base, primary); + text-decoration: none; + } + } } + +h4, h5, h6 { margin: 0.25lh 0; } diff --git a/src/_lists.scss b/src/_lists.scss index 2018352..7091338 100644 --- a/src/_lists.scss +++ b/src/_lists.scss @@ -4,41 +4,25 @@ ul, ol { - padding-left: 1.5em; - margin-bottom: 0.25lh; + padding-left: 1em; - ul, - ol { margin-bottom: 0; } -} - -ul { - ul { list-style-type: square; } - - ol { list-style-type: lower-roman; } + ol, + ul { + padding-left: 1.5em; + } } ol { - ol { list-style-type: lower-roman; } - - ul { list-style-type: square; } + padding-left: 0; + counter-reset: item; + + li { + list-style: none; + } + + li:before { + content: counters(item, ".") ". "; + counter-increment: item; + margin-right: 0.2em; + } } - -// -// Navigation lists -// ---------------- - -nav { - ul { padding-left: 0; } - li { list-style: none; } -} - -// -// Definition Lists -// ---------------- - -dl { margin-bottom: 1lh; } - -dt { font-weight: bold; } - -dt, -dd { margin-bottom: 0.25lh; } diff --git a/src/_normalization.scss b/src/_normalization.scss deleted file mode 100644 index 7b43b67..0000000 --- a/src/_normalization.scss +++ /dev/null @@ -1,239 +0,0 @@ -// -// Normalization and Base styles -// ============================================================================= -// Adapted from sanitize.css -// (https://github.com/10up/sanitize.css) - -// -// Normalization -// ------------- - -abbr[title] { - text-decoration: underline; // Chrome 48+, Edge 12+, Internet Explorer 11-, Safari 9+ - text-decoration: underline dotted; // Firefox 40+ -} - -// Chrome 44-, iOS 8+, Safari 9+ -audio:not([controls]) { display: none; } - -// Edge 12+, Safari 6.2+, and Chrome 18+ -b, -strong { font-weight: bolder; } - -button { - -webkit-appearance: button; // iOS 8+ - overflow: visible; // Internet Explorer 11- -} - -button, -input { - // Firefox 4+ - &::-moz-focus-inner { - border: 0; - padding: 0; - } - - // Firefox 4+ - &:-moz-focusring { outline: 1px dotted ButtonText; } -} - -// Firefox 40+, Internet Explorer 11- -button, -select { text-transform: none; } - -// Edge 12+, Firefox 40+, Internet Explorer 11-, Windows Phone 8.1+ -details { display: block; } - -hr { - overflow: visible; // Internet Explorer 11-, Edge 12+ - margin: 1lh 0; - background-color: getColor(base, lines); - height: 1px; -} - -html { - -ms-overflow-style: -ms-autohiding-scrollbar; // Edge 12+, Internet Explorer 11- - overflow-y: scroll; // All browsers without overlaying scrollbars - -webkit-text-size-adjust: 100%; // iOS 8+, Windows Phone 8.1+ -} - -input { - // iOS 8+ - -webkit-border-radius: 0; - - // iOS 8+ - &[type="button"], - &[type="reset"], - &[type="submit"] { -webkit-appearance: button; } - - // Firefox 36+ - &[type="number"] { width: auto; } - - &[type="search"] { - // Chrome 45+, Safari 9+ - -webkit-appearance: textfield; - - // Chrome 45+, Safari 9+ - &::-webkit-search-cancel-button, - &::-webkit-search-decoration { -webkit-appearance: none; } - } -} - -// Android 4.3-, Internet Explorer 11-, Windows Phone 8.1+ -main { display: block; } - -// Internet Explorer 11- -pre { overflow: auto; } - -// Internet Explorer 11-, Windows Phone 8.1+ -progress { display: inline-block; } - -// Firefox 40+, Internet Explorer 11-, Windows Phone 8.1+ -summary { display: block; } - -// Internet Explorer 11- -svg:not(:root) { overflow: hidden; } - -// Android 4.3-, Internet Explorer 11-, iOS 7-, Safari 7-, Windows Phone 8.1+ -template { display: none; } - -// Edge 12+, Internet Explorer 11- -textarea { overflow: auto; } - -// Internet Explorer 10- -[hidden] { display: none; } - -// -// Universal Inheritance -// --------------------- - -*, -::before, -::after { - box-sizing: inherit; -} - -* { - font-size: inherit; - line-height: inherit; -} - -::before, -::after { - text-decoration: inherit; - vertical-align: inherit; -} - -button, -input, -select, -textarea { - font-family: inherit; - font-style: inherit; - font-weight: inherit; -} - -// -// Opinionated Defaults -// --------------------- - -// Specify the root styles of the document -:root { - background-color: getColor(background, body); - box-sizing: border-box; - color: getColor(text, primary); - cursor: default; - font: $font-size + px / 1.5 $font-primary; - text-rendering: optimizeLegibility; - - @media ($breakpoint) { - font-size: $font-size-secondary + px; - } -} - -* { - margin: 0; - padding: 0; - background-repeat: no-repeat; -} - -*, -::before, -::after { - border-style: solid; - border-width: 0; -} - -// Remove the tapping delay from clickable elements -a, -area, -button, -input, -label, -select, -textarea, -[tabindex] { touch-action: manipulation; } - -// Specify the standard appearance of selects -select { - -moz-appearance: none; // Firefox 40+ - -webkit-appearance: none; // Chrome 45+ - - // Edge 12+, Internet Explorer 11- - &::-ms-expand { display: none; } - - // Edge 12+, Internet Explorer 11- - &::-ms-value { color: currentColor; } -} - -// Use current current as the default fill of svg elements -svg { fill: currentColor; } - -// Specify the progress cursor of updating elements -[aria-busy="true"] { cursor: progress; } - -// Specify the pointer cursor of trigger elements -[aria-controls] { cursor: pointer; } - -// Specify the unstyled cursor of disabled, not-editable, or otherwise inoperable elements -[aria-disabled] { cursor: default; } - -// Specify the style of visually hidden yet accessible elements -[hidden][aria-hidden="false"] { - clip: rect(0 0 0 0); - display: inherit; - position: absolute; - - &:focus { clip: auto; } -} - -// Specify the alignment of media elements -audio, -canvas, -iframe, -img, -svg, -video { vertical-align: middle; } - -// Specify the background color, and drop shadow of text selections -::-moz-selection { - background-color: getColor(base, selection); - text-shadow: none; -} - -::selection { - background-color: getColor(base, selection); - text-shadow: none; -} - -// -// Automatic margins -// ----------------- - -@if $automargin { - * + * { margin-top: $block-margin; } - - li, kbd, div, input, option, select, a, textarea { - margin-top: 0; - } -} diff --git a/src/_print.scss b/src/_print.scss index 21075dd..a24a3a9 100644 --- a/src/_print.scss +++ b/src/_print.scss @@ -3,7 +3,7 @@ // ============================================================================= @media print { - @page { margin: .5cm; } + @page { margin: 2cm; } *, *:before, @@ -17,9 +17,25 @@ :root { background-color: white; color: black; - font: 11pt / 1.3 $font-print; + font: 12pt / 1.4 $font-print-primary; } + body { + width: 100% !important; + margin: 0 !important; + padding: 0 !important; + } + + h1, h2, h3, h4, h5, h6 { + page-break-after: avoid; + font-family: $font-print-secondary; + } + + h1 { font-size: 19pt; } + h2 { font-size: 17pt; } + h3 { font-size: 15pt; } + h4, h5, h6 {font-size: 14pt; } + img { max-width: 100% !important; page-break-after: avoid; @@ -43,8 +59,6 @@ widows: 3; } - h2, h3 { page-break-after: avoid; } - a, a:visited { color: black; diff --git a/src/_tables.scss b/src/_tables.scss index 9292424..9880469 100644 --- a/src/_tables.scss +++ b/src/_tables.scss @@ -3,53 +3,29 @@ // ============================================================================= table { - border: 1px solid getColor(base, lines); - border-collapse: collapse; - border-spacing: 0; - empty-cells: show; width: 100%; @media ($breakpoint) { width: auto; - - th, - td { padding: 0 2.5em; } } - caption { - color: getColor(text, primary); - font-size: typeScale(1); - font-style: italic; - line-height: 2lh; - text-align: center; - - @media ($breakpoint) { - font-size: typeScale(1, $scale-ratio-secondary); - } - } - - thead { + thead, + tfoot { background-color: getColor(background, light); text-align: left; } - tfoot { - background-color: lighten(getColor(background, light), 2.5%); - border-top: 1px solid getColor(base, lines); - } - th, td { - border-right: 1px solid getColor(base, lines); - line-height: 1lh; + line-height: 1.5lh; overflow: visible; padding: 0 1em; - - @media ($breakpoint) { line-height: 2lh; } - - &:last-child { border-right: none; } } - tr, - td { transition: background-color $transition-duration; } + caption { + font-size: typeScale(1); + font-style: italic; + line-height: 2lh; + text-align: center; + } } diff --git a/src/_type.scss b/src/_type.scss deleted file mode 100644 index af70ba4..0000000 --- a/src/_type.scss +++ /dev/null @@ -1,138 +0,0 @@ -// -// Type Styles -// ============================================================================= - -// -// Defaults -// -------- - -small, -sup, -sub { - // Use the next smaller size in the scale - font-size: 100% / $scale-ratio; - - @media ($breakpoint) { - font-size: 100% / $scale-ratio-secondary; - } -} - -sup, -sub { - line-height: 0; - position: relative; - vertical-align: baseline; -} - -sup { - top: -0.25em; - font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0, "dlig" 0, "sups" 1; -} - -sub { - bottom: -0.25em; - font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0, "dlig" 0, "subs" 1; -} - -// -// Links -// ----- - -a { - background-color: transparent; - color: getColor(base, primary); - cursor: pointer; - text-decoration: none; - transition: $transition-duration; - - &:hover, - &:focus { color: darken(getColor(base, primary), 15%); } -} - -h1, h2, h3 { - a { - color: inherit; - - &:hover, - &:focus { - color: getColor(base, primary); - text-decoration: none; - } - } -} - - -// -// Abbreviations -// ------------- -// 1. Change all letters to uppercase -// 2. Turn on small caps for upper and lowercase letters -// - -abbr { - text-transform: uppercase; /* 1 */ - font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0, "smcp" 1, "c2sc" 1; /* 2 */ -} - - -// -// Pre, Code, and User Input -// ------------------------- - -code, -pre, -kbd, -samp { - font-family: $font-mono; - font-size: typeScale(1); - - @media ($breakpoint) { - font-size: typeScale(1, $scale-ratio-secondary); - } -} - -pre { padding: 0.5lh 1em; } - -code { - vertical-align: middle; - white-space: nowrap; -} - -code, -pre { - background-color: getColor(background, light); - border: 1px solid getColor(base, lines); - border-radius: 3px; - color: darken(getColor(text, primary), 5%); -} - -code { padding: 2px 3px; } - -pre code { - background-color: transparent; - border: none; - padding: 0; - vertical-align: inherit; - white-space: pre; - font-size: inherit; -} - -kbd { - background-color: transparent; - border: 1px solid getColor(base, lines); - border-radius: 3px; - box-shadow: 0 2px 0 -1px white, - 0 2px 0 darken(getColor(base, lines), 1.5%); - display: inline-block; - padding: 0 6px 0; - white-space: nowrap; -} - -samp { vertical-align: bottom; } - - -// -// Addresses -// --------- - -address { font-style: normal; } diff --git a/test.html b/test.html index 36d15db..128e308 100644 --- a/test.html +++ b/test.html @@ -12,7 +12,7 @@ .grid--example { - background-color: #D34A28; + background-color: #C65146; color: white; display: inline-block; margin-bottom: 0.5em !important; @@ -25,13 +25,14 @@

Heading 1 Helper link

-

Heading 2 Link Helper text

Heading 2 Helper text

Heading 3 Helper text

Heading 4 Helper text

Heading 5 Helper text
Heading 6 Helper text
+

Heading 2 Link Helper text

+ -

Lorem ipsum dolor sit amet, sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna small aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet2 clita2 kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.

+

Lorem ipsum dolor sit amet sadipscing elitr sadipscing elitr sed diam nonumy eirmod tempor invidunt ut labore et dolore magna small aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet2 clita2 kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.


@@ -61,10 +62,13 @@
Heading 6 Helper text
  • List Item
  • List Item
      +
    • List Item
    • List Item
    • List Item
      • List Item
      • +
      • List Item
      • +
      • List Item
    @@ -73,17 +77,24 @@
    Heading 6 Helper text
      +
    1. List Item
    2. List Item
    3. List Item
        +
      1. List Item
      2. +
      3. List Item
      4. List Item
        1. List Item
        2. +
        3. List Item
        4. +
        5. List Item
    4. List Item
    5. +
    6. List Item
    7. +
    8. List Item
    @@ -94,147 +105,187 @@
    Heading 6 Helper text
    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
    -
    -
    - 12 +
    +
    +
    + 12 +
    -
    -
    -
    - 1 -
    +
    +
    + 1 +
    -
    - 11 +
    + 11 +
    -
    -
    -
    - 2 -
    +
    +
    + 2 +
    -
    - 10 +
    + 10 +
    -
    -
    -
    - 3 -
    +
    +
    + 3 +
    -
    - 9 +
    + 9 +
    -
    -
    -
    - 4 -
    +
    +
    + 4 +
    -
    - 8 +
    + 8 +
    -
    -
    -
    - 5 -
    +
    +
    + 5 +
    -
    - 7 +
    + 7 +
    -
    -
    -
    - 6 -
    +
    +
    + 6 +
    -
    - 6 +
    + 6 +
    -
    -
    -
    - 4 -
    +
    +
    + 4 +
    -
    - 4 -
    +
    + 4 +
    -
    - 4 +
    + 4 +
    -
    -
    -
    - 3 -
    +
    +
    + 3 +
    -
    - 3 -
    +
    + 3 +
    -
    - 3 -
    +
    + 3 +
    -
    - 3 +
    + 3 +
    -
    -
    -
    - 2 -
    +
    +
    + 2 +
    -
    - 2 -
    +
    + 2 +
    -
    - 2 -
    +
    + 2 +
    + +
    + 2 +
    + +
    + 2 +
    -
    - 2 +
    + 2 +
    -
    - 2 +
    +
    + 1 +1 +
    -
    - 2 +
    +
    + 1 +2 +
    -
    -
    -
    - 1 +1 +
    +
    + 1 +3 +
    -
    -
    -
    - 1 +2 +
    +
    + xs-1 sm-2 md-3 lg-4 xl-5 +
    -
    -
    -
    - 1 +3 +
    +
    + 1 +xs-1 +sm-2 +md-3 +lg-4 +xl-5 +
    -
    + +
    +
    + 1st +
    + +
    + 2nd +
    + +
    + 3rd +
    + +
    + 4th +
    + +
    + 5th +
    + +
    + 6th +
    +
    +