├── README.md ├── .editorconfig ├── .gitignore ├── bower.json ├── LICENSE └── _base.headings.scss /README.md: -------------------------------------------------------------------------------- 1 | base.headings 2 | ============= 3 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | 3 | root = true 4 | 5 | [*] 6 | indent_style = space 7 | indent_size = 2 8 | end_of_line = lf 9 | charset = utf-8 10 | trim_trailing_whitespace = true 11 | insert_final_newline = true 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | 5 | # Runtime data 6 | pids 7 | *.pid 8 | *.seed 9 | 10 | # Directory for instrumented libs generated by jscoverage/JSCover 11 | lib-cov 12 | 13 | # Coverage directory used by tools like istanbul 14 | coverage 15 | 16 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 17 | .grunt 18 | 19 | # Compiled binary addons (http://nodejs.org/api/addons.html) 20 | build/Release 21 | 22 | # Dependency directory 23 | # Commenting this out is preferred by some people, see 24 | # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git- 25 | node_modules 26 | 27 | # Users Environment Variables 28 | .lock-wscript 29 | -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "spacelab-base.headings", 3 | "version": "0.1.1", 4 | "authors": [ 5 | "Axel Salder", 6 | "Daniel Blomeyer" 7 | ], 8 | "description": "here be a description", 9 | "main": "_base.headings.scss", 10 | "keywords": [ 11 | "spacelab", 12 | "css" 13 | ], 14 | "license": "MIT", 15 | "homepage": "https://github.com/spacelab/base.headings", 16 | "private": true, 17 | "ignore": [ 18 | "**/.*", 19 | "node_modules", 20 | "bower_components", 21 | "test", 22 | "tests" 23 | ], 24 | "dependencies": { 25 | "spacelab-settings.defaults": "spacelab/settings.defaults", 26 | "spacelab-mixins.font-size": "spacelab/mixins.font-size" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 spacelab 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /_base.headings.scss: -------------------------------------------------------------------------------- 1 | $heading-size-alpha: 36px !default; 2 | $heading-line-height-alpha: 48px !default; 3 | 4 | $heading-size-beta: 30px !default; 5 | $heading-line-height-beta: 42px !default; 6 | 7 | $heading-size-gamma: 26px !default; 8 | $heading-line-height-gamma: 36px !default; 9 | 10 | $heading-size-delta: 20px !default; 11 | $heading-line-height-delta: 28px !default; 12 | 13 | $heading-size-epsilon: 18px !default; 14 | $heading-line-height-epsilon: 24px !default; 15 | 16 | $heading-size-zeta: 16px !default; 17 | $heading-line-height-zeta: 24px !default; 18 | 19 | h1, 20 | %alpha, 21 | .alpha { 22 | @include font-size($heading-size-alpha, $heading-line-height-alpha); 23 | } 24 | 25 | h2, 26 | %beta, 27 | .beta { 28 | @include font-size($heading-size-beta, $heading-line-height-beta); 29 | } 30 | 31 | h3, 32 | %gamma, 33 | .gamma { 34 | @include font-size($heading-size-gamma, $heading-line-height-gamma); 35 | } 36 | 37 | h4, 38 | %delta, 39 | .delta { 40 | @include font-size($heading-size-delta, $heading-line-height-delta); 41 | } 42 | 43 | h5, 44 | %epsilon, 45 | .epsilon { 46 | @include font-size($heading-size-epsilon, $heading-line-height-epsilon); 47 | } 48 | 49 | h6, 50 | %zeta, 51 | .zeta { 52 | @include font-size($heading-size-zeta, $heading-line-height-zeta); 53 | } 54 | 55 | h1, 56 | h2, 57 | h3, 58 | h4, 59 | h5, 60 | h6 { 61 | margin: 0 0 rem($base-spacing); 62 | } 63 | --------------------------------------------------------------------------------