foundation6-jekyll-base 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (160) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +2 -0
  4. data/_includes/footer.html +1 -0
  5. data/_includes/head.html +16 -0
  6. data/_includes/header.html +1 -0
  7. data/_includes/javascripts.html +4 -0
  8. data/_layouts/default.html +18 -0
  9. data/_layouts/home.html +26 -0
  10. data/_layouts/page.html +15 -0
  11. data/_layouts/post.html +25 -0
  12. data/_sass/_vendor/normalize-scss/sass/_normalize.scss +3 -0
  13. data/_sass/_vendor/normalize-scss/sass/normalize/_import-now.scss +11 -0
  14. data/_sass/_vendor/normalize-scss/sass/normalize/_normalize-mixin.scss +676 -0
  15. data/_sass/_vendor/normalize-scss/sass/normalize/_variables.scss +36 -0
  16. data/_sass/_vendor/normalize-scss/sass/normalize/_vertical-rhythm.scss +61 -0
  17. data/_sass/_vendor/sassy-lists/stylesheets/functions/_purge.scss +38 -0
  18. data/_sass/_vendor/sassy-lists/stylesheets/functions/_remove.scss +31 -0
  19. data/_sass/_vendor/sassy-lists/stylesheets/functions/_replace.scss +46 -0
  20. data/_sass/_vendor/sassy-lists/stylesheets/functions/_to-list.scss +27 -0
  21. data/_sass/_vendor/sassy-lists/stylesheets/helpers/_missing-dependencies.scss +25 -0
  22. data/_sass/_vendor/sassy-lists/stylesheets/helpers/_true.scss +13 -0
  23. data/_sass/foundation/_global.scss +219 -0
  24. data/_sass/foundation/components/_accordion-menu.scss +36 -0
  25. data/_sass/foundation/components/_accordion.scss +150 -0
  26. data/_sass/foundation/components/_badge.scss +63 -0
  27. data/_sass/foundation/components/_breadcrumbs.scss +97 -0
  28. data/_sass/foundation/components/_button-group.scss +249 -0
  29. data/_sass/foundation/components/_button.scss +303 -0
  30. data/_sass/foundation/components/_callout.scss +106 -0
  31. data/_sass/foundation/components/_card.scss +121 -0
  32. data/_sass/foundation/components/_close-button.scss +102 -0
  33. data/_sass/foundation/components/_drilldown.scss +93 -0
  34. data/_sass/foundation/components/_dropdown-menu.scss +226 -0
  35. data/_sass/foundation/components/_dropdown.scss +72 -0
  36. data/_sass/foundation/components/_flex-video.scss +1 -0
  37. data/_sass/foundation/components/_flex.scss +28 -0
  38. data/_sass/foundation/components/_float.scss +27 -0
  39. data/_sass/foundation/components/_label.scss +64 -0
  40. data/_sass/foundation/components/_media-object.scss +114 -0
  41. data/_sass/foundation/components/_menu-icon.scss +9 -0
  42. data/_sass/foundation/components/_menu.scss +371 -0
  43. data/_sass/foundation/components/_off-canvas.scss +329 -0
  44. data/_sass/foundation/components/_orbit.scss +196 -0
  45. data/_sass/foundation/components/_pagination.scss +193 -0
  46. data/_sass/foundation/components/_progress-bar.scss +64 -0
  47. data/_sass/foundation/components/_responsive-embed.scss +67 -0
  48. data/_sass/foundation/components/_reveal.scss +178 -0
  49. data/_sass/foundation/components/_slider.scss +138 -0
  50. data/_sass/foundation/components/_sticky.scss +38 -0
  51. data/_sass/foundation/components/_switch.scss +247 -0
  52. data/_sass/foundation/components/_table.scss +329 -0
  53. data/_sass/foundation/components/_tabs.scss +196 -0
  54. data/_sass/foundation/components/_thumbnail.scss +67 -0
  55. data/_sass/foundation/components/_title-bar.scss +84 -0
  56. data/_sass/foundation/components/_tooltip.scss +107 -0
  57. data/_sass/foundation/components/_top-bar.scss +173 -0
  58. data/_sass/foundation/components/_visibility.scss +132 -0
  59. data/_sass/foundation/forms/_checkbox.scss +41 -0
  60. data/_sass/foundation/forms/_error.scss +88 -0
  61. data/_sass/foundation/forms/_fieldset.scss +54 -0
  62. data/_sass/foundation/forms/_forms.scss +34 -0
  63. data/_sass/foundation/forms/_help-text.scss +30 -0
  64. data/_sass/foundation/forms/_input-group.scss +135 -0
  65. data/_sass/foundation/forms/_label.scss +50 -0
  66. data/_sass/foundation/forms/_meter.scss +110 -0
  67. data/_sass/foundation/forms/_progress.scss +94 -0
  68. data/_sass/foundation/forms/_range.scss +149 -0
  69. data/_sass/foundation/forms/_select.scss +85 -0
  70. data/_sass/foundation/forms/_text.scss +170 -0
  71. data/_sass/foundation/foundation.scss +118 -0
  72. data/_sass/foundation/grid/_classes.scss +176 -0
  73. data/_sass/foundation/grid/_column.scss +112 -0
  74. data/_sass/foundation/grid/_flex-grid.scss +307 -0
  75. data/_sass/foundation/grid/_grid.scss +44 -0
  76. data/_sass/foundation/grid/_gutter.scss +82 -0
  77. data/_sass/foundation/grid/_layout.scss +76 -0
  78. data/_sass/foundation/grid/_position.scss +76 -0
  79. data/_sass/foundation/grid/_row.scss +99 -0
  80. data/_sass/foundation/grid/_size.scss +24 -0
  81. data/_sass/foundation/settings/_settings.scss +621 -0
  82. data/_sass/foundation/typography/_alignment.scss +22 -0
  83. data/_sass/foundation/typography/_base.scss +509 -0
  84. data/_sass/foundation/typography/_helpers.scss +78 -0
  85. data/_sass/foundation/typography/_print.scss +81 -0
  86. data/_sass/foundation/typography/_typography.scss +26 -0
  87. data/_sass/foundation/util/_breakpoint.scss +281 -0
  88. data/_sass/foundation/util/_color.scss +126 -0
  89. data/_sass/foundation/util/_direction.scss +31 -0
  90. data/_sass/foundation/util/_flex.scss +85 -0
  91. data/_sass/foundation/util/_math.scss +72 -0
  92. data/_sass/foundation/util/_mixins.scss +276 -0
  93. data/_sass/foundation/util/_selector.scss +41 -0
  94. data/_sass/foundation/util/_unit.scss +152 -0
  95. data/_sass/foundation/util/_util.scss +13 -0
  96. data/_sass/foundation/util/_value.scss +140 -0
  97. data/assets/js/app.js +1 -0
  98. data/assets/js/vendor/foundation/foundation.d.ts +496 -0
  99. data/assets/js/vendor/foundation/foundation.js +10207 -0
  100. data/assets/js/vendor/foundation/foundation.min.js +4 -0
  101. data/assets/js/vendor/foundation/plugins/foundation.abide.js +637 -0
  102. data/assets/js/vendor/foundation/plugins/foundation.abide.min.js +1 -0
  103. data/assets/js/vendor/foundation/plugins/foundation.accordion.js +252 -0
  104. data/assets/js/vendor/foundation/plugins/foundation.accordion.min.js +1 -0
  105. data/assets/js/vendor/foundation/plugins/foundation.accordionMenu.js +318 -0
  106. data/assets/js/vendor/foundation/plugins/foundation.accordionMenu.min.js +1 -0
  107. data/assets/js/vendor/foundation/plugins/foundation.core.js +386 -0
  108. data/assets/js/vendor/foundation/plugins/foundation.core.min.js +1 -0
  109. data/assets/js/vendor/foundation/plugins/foundation.drilldown.js +565 -0
  110. data/assets/js/vendor/foundation/plugins/foundation.drilldown.min.js +1 -0
  111. data/assets/js/vendor/foundation/plugins/foundation.dropdown.js +465 -0
  112. data/assets/js/vendor/foundation/plugins/foundation.dropdown.min.js +1 -0
  113. data/assets/js/vendor/foundation/plugins/foundation.dropdownMenu.js +486 -0
  114. data/assets/js/vendor/foundation/plugins/foundation.dropdownMenu.min.js +1 -0
  115. data/assets/js/vendor/foundation/plugins/foundation.equalizer.js +374 -0
  116. data/assets/js/vendor/foundation/plugins/foundation.equalizer.min.js +1 -0
  117. data/assets/js/vendor/foundation/plugins/foundation.interchange.js +233 -0
  118. data/assets/js/vendor/foundation/plugins/foundation.interchange.min.js +1 -0
  119. data/assets/js/vendor/foundation/plugins/foundation.magellan.js +285 -0
  120. data/assets/js/vendor/foundation/plugins/foundation.magellan.min.js +1 -0
  121. data/assets/js/vendor/foundation/plugins/foundation.offcanvas.js +474 -0
  122. data/assets/js/vendor/foundation/plugins/foundation.offcanvas.min.js +1 -0
  123. data/assets/js/vendor/foundation/plugins/foundation.orbit.js +566 -0
  124. data/assets/js/vendor/foundation/plugins/foundation.orbit.min.js +1 -0
  125. data/assets/js/vendor/foundation/plugins/foundation.responsiveMenu.js +169 -0
  126. data/assets/js/vendor/foundation/plugins/foundation.responsiveMenu.min.js +1 -0
  127. data/assets/js/vendor/foundation/plugins/foundation.responsiveToggle.js +177 -0
  128. data/assets/js/vendor/foundation/plugins/foundation.responsiveToggle.min.js +1 -0
  129. data/assets/js/vendor/foundation/plugins/foundation.reveal.js +633 -0
  130. data/assets/js/vendor/foundation/plugins/foundation.reveal.min.js +1 -0
  131. data/assets/js/vendor/foundation/plugins/foundation.slider.js +762 -0
  132. data/assets/js/vendor/foundation/plugins/foundation.slider.min.js +1 -0
  133. data/assets/js/vendor/foundation/plugins/foundation.sticky.js +518 -0
  134. data/assets/js/vendor/foundation/plugins/foundation.sticky.min.js +1 -0
  135. data/assets/js/vendor/foundation/plugins/foundation.tabs.js +512 -0
  136. data/assets/js/vendor/foundation/plugins/foundation.tabs.min.js +1 -0
  137. data/assets/js/vendor/foundation/plugins/foundation.toggler.js +169 -0
  138. data/assets/js/vendor/foundation/plugins/foundation.toggler.min.js +1 -0
  139. data/assets/js/vendor/foundation/plugins/foundation.tooltip.js +492 -0
  140. data/assets/js/vendor/foundation/plugins/foundation.tooltip.min.js +1 -0
  141. data/assets/js/vendor/foundation/plugins/foundation.util.box.js +196 -0
  142. data/assets/js/vendor/foundation/plugins/foundation.util.box.min.js +1 -0
  143. data/assets/js/vendor/foundation/plugins/foundation.util.keyboard.js +163 -0
  144. data/assets/js/vendor/foundation/plugins/foundation.util.keyboard.min.js +1 -0
  145. data/assets/js/vendor/foundation/plugins/foundation.util.mediaQuery.js +233 -0
  146. data/assets/js/vendor/foundation/plugins/foundation.util.mediaQuery.min.js +1 -0
  147. data/assets/js/vendor/foundation/plugins/foundation.util.motion.js +103 -0
  148. data/assets/js/vendor/foundation/plugins/foundation.util.motion.min.js +1 -0
  149. data/assets/js/vendor/foundation/plugins/foundation.util.nest.js +74 -0
  150. data/assets/js/vendor/foundation/plugins/foundation.util.nest.min.js +1 -0
  151. data/assets/js/vendor/foundation/plugins/foundation.util.timerAndImageLoader.js +90 -0
  152. data/assets/js/vendor/foundation/plugins/foundation.util.timerAndImageLoader.min.js +1 -0
  153. data/assets/js/vendor/foundation/plugins/foundation.util.touch.js +352 -0
  154. data/assets/js/vendor/foundation/plugins/foundation.util.touch.min.js +1 -0
  155. data/assets/js/vendor/foundation/plugins/foundation.util.triggers.js +261 -0
  156. data/assets/js/vendor/foundation/plugins/foundation.util.triggers.min.js +1 -0
  157. data/assets/js/vendor/foundation/plugins/foundation.zf.responsiveAccordionTabs.js +262 -0
  158. data/assets/js/vendor/foundation/plugins/foundation.zf.responsiveAccordionTabs.min.js +1 -0
  159. data/assets/main.scss +6 -0
  160. metadata +232 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0a2868f64d18f0e1b8dd2bd4136c9eb8f493ad28
4
+ data.tar.gz: 2ba54f00dab32d0ad2a0563b558a9b03d3fa49d2
5
+ SHA512:
6
+ metadata.gz: 7386e457750227eaa8c4a90ae546f886765e3b0911b486f8d6c3eb27c20b03800143b28c7ddc473bf36438f2c038418be83e143fc893e0ec76cb95e1dc870054
7
+ data.tar.gz: 4b4933433f99b70dbab05de85ffc9cdca26755e9cbcea3bb47dfff41a70e213c8ea9142cc11260dd4d8d88f61a6c9a14547a5d01ff164cc1397e9a59f9d51f87
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017 Kevin Ball
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.
@@ -0,0 +1,2 @@
1
+ # foundation6-jekyll-base
2
+ An essentially empty Jekyll theme built on Foundation 6.3. Intended to kickstart other themes or for completely custom sites.
@@ -0,0 +1 @@
1
+ <!-- replace with footer -->
@@ -0,0 +1,16 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1">
5
+
6
+ <title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
7
+ <meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
8
+
9
+ <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
10
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
11
+ <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
12
+
13
+ {% if jekyll.environment == 'production' and site.google_analytics %}
14
+ {% include google-analytics.html %}
15
+ {% endif %}
16
+ </head>
@@ -0,0 +1 @@
1
+ <!-- Replace with header -->
@@ -0,0 +1,4 @@
1
+ <script type="javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"/ >
2
+ <script type="javascript" src="https://cdnjs.cloudflare.com/ajax/libs/what-input/4.1.3/what-input.min.js"/>
3
+ <script type="javascript" src="{{ "/assets/js/vendor/foundation.js" | relative_url }}"/>
4
+ <script type="javascript" src="{{ "/assets/js/app.js" | relative_url }}"/>
@@ -0,0 +1,18 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
+
4
+ {% include head.html %}
5
+
6
+ <body>
7
+ {% include header.html %}
8
+
9
+ <main class="page-content" aria-label="Content">
10
+ {{ content }}
11
+ </main>
12
+
13
+ {% include footer.html %}
14
+
15
+ {% include javascripts.html %}
16
+ </body>
17
+
18
+ </html>
@@ -0,0 +1,26 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="home row column">
6
+
7
+ <h1 class="page-heading">Posts</h1>
8
+
9
+ {{ content }}
10
+
11
+ <ul class="post-list">
12
+ {% for post in site.posts %}
13
+ <li>
14
+ {% assign date_format = site.foundation6_jekyll_base.date_format | default: "%b %-d, %Y" %}
15
+ <span class="post-meta">{{ post.date | date: date_format }}</span>
16
+
17
+ <h2>
18
+ <a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
19
+ </h2>
20
+ </li>
21
+ {% endfor %}
22
+ </ul>
23
+
24
+ <p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
25
+
26
+ </div>
@@ -0,0 +1,15 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <!-- replace with your layout -->
5
+ <article class="post row column">
6
+
7
+ <header class="post-header">
8
+ <h1 class="post-title">{{ page.title | escape }}</h1>
9
+ </header>
10
+
11
+ <div class="post-content">
12
+ {{ content }}
13
+ </div>
14
+
15
+ </article>
@@ -0,0 +1,25 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="row column post" itemscope itemtype="http://schema.org/BlogPosting">
5
+
6
+ <header class="post-header">
7
+ <h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1>
8
+ <p class="post-meta">
9
+ <time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
10
+ {% assign date_format = site.foundation6_jekyll_base.date_format | default: "%b %-d, %Y" %}
11
+ {{ page.date | date: date_format }}
12
+ </time>
13
+ {% if page.author %}
14
+ • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>
15
+ {% endif %}</p>
16
+ </header>
17
+
18
+ <div class="post-content" itemprop="articleBody">
19
+ {{ content }}
20
+ </div>
21
+
22
+ {% if site.disqus.shortname %}
23
+ {% include disqus_comments.html %}
24
+ {% endif %}
25
+ </article>
@@ -0,0 +1,3 @@
1
+ @import 'normalize/variables';
2
+ @import 'normalize/vertical-rhythm';
3
+ @import 'normalize/normalize-mixin';
@@ -0,0 +1,11 @@
1
+ // Import Now
2
+ //
3
+ // If you import this module directly, it will immediately output all the CSS
4
+ // needed to normalize default HTML elements across all browsers.
5
+ //
6
+ // ```
7
+ // @import "normalize/import-now";
8
+ // ```
9
+
10
+ @import '../normalize';
11
+ @include normalize();
@@ -0,0 +1,676 @@
1
+ // Helper function for the normalize() mixin.
2
+ @function _normalize-include($section, $exclude: null) {
3
+ // Initialize the global variables needed by this function.
4
+ @if not global_variable_exists(_normalize-include) {
5
+ $_normalize-include: () !global;
6
+ $_normalize-exclude: () !global;
7
+ }
8
+ // Since we are given 2 parameters, set the global variables.
9
+ @if $exclude != null {
10
+ $include: $section;
11
+ // Sass doesn't have static variables, so the work-around is to stuff these
12
+ // values into global variables so we can access them in future calls.
13
+ $_normalize-include: if(type-of($include) == 'list', $include, ($include)) !global;
14
+ $_normalize-exclude: if(type-of($exclude) == 'list', $exclude, ($exclude)) !global;
15
+ @return true;
16
+ }
17
+
18
+ // Check if $section is in the $include list.
19
+ @if index($_normalize-include, $section) {
20
+ @return true;
21
+ }
22
+ // If $include is set to (all), make sure $section is not in $exclude.
23
+ @else if not index($_normalize-exclude, $section) and index($_normalize-include, all) {
24
+ @return true;
25
+ }
26
+ @return false;
27
+ }
28
+
29
+ @mixin normalize($include: (all), $exclude: ()) {
30
+ // Initialize the helper function by passing it this mixin's parameters.
31
+ $init: _normalize-include($include, $exclude);
32
+
33
+ // If we've customized any font variables, we'll need extra properties.
34
+ @if $base-font-size != 16px
35
+ or $base-line-height != 24px
36
+ or $base-unit != 'em'
37
+ or $h1-font-size != 2 * $base-font-size
38
+ or $h2-font-size != 1.5 * $base-font-size
39
+ or $h3-font-size != 1.17 * $base-font-size
40
+ or $h4-font-size != 1 * $base-font-size
41
+ or $h5-font-size != 0.83 * $base-font-size
42
+ or $h6-font-size != 0.67 * $base-font-size {
43
+ $normalize-vertical-rhythm: true !global;
44
+ }
45
+
46
+ /*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */
47
+
48
+ @if _normalize-include(document) {
49
+ /* Document
50
+ ========================================================================== */
51
+
52
+ /**
53
+ * 1. Change the default font family in all browsers (opinionated).
54
+ * 2. Correct the line height in all browsers.
55
+ * 3. Prevent adjustments of font size after orientation changes in
56
+ * IE on Windows Phone and in iOS.
57
+ */
58
+
59
+ html {
60
+ font-family: $base-font-family; /* 1 */
61
+ @if $normalize-vertical-rhythm {
62
+ // Correct old browser bug that prevented accessible resizing of text
63
+ // when root font-size is set with px or em.
64
+ font-size: ($base-font-size / 16px) * 100%;
65
+ line-height: ($base-line-height / $base-font-size) * 1em; /* 2 */
66
+ }
67
+ @else {
68
+ line-height: 1.15; /* 2 */
69
+ }
70
+ -ms-text-size-adjust: 100%; /* 3 */
71
+ -webkit-text-size-adjust: 100%; /* 3 */
72
+ }
73
+ }
74
+
75
+ @if _normalize-include(sections) {
76
+ /* Sections
77
+ ========================================================================== */
78
+
79
+ /**
80
+ * Remove the margin in all browsers (opinionated).
81
+ */
82
+
83
+ body {
84
+ margin: 0;
85
+ }
86
+
87
+ /**
88
+ * Add the correct display in IE 9-.
89
+ */
90
+
91
+ article,
92
+ aside,
93
+ footer,
94
+ header,
95
+ nav,
96
+ section {
97
+ display: block;
98
+ }
99
+
100
+ /**
101
+ * Correct the font size and margin on `h1` elements within `section` and
102
+ * `article` contexts in Chrome, Firefox, and Safari.
103
+ */
104
+
105
+ h1 {
106
+ @include normalize-font-size($h1-font-size);
107
+ @if $normalize-vertical-rhythm {
108
+ @include normalize-line-height($h1-font-size);
109
+ }
110
+
111
+ @if $normalize-vertical-rhythm {
112
+ /* Set 1 unit of vertical rhythm on the top and bottom margins. */
113
+ @include normalize-margin(1 0, $h1-font-size);
114
+ }
115
+ @else {
116
+ margin: 0.67em 0;
117
+ }
118
+ }
119
+
120
+ @if $normalize-vertical-rhythm {
121
+ h2 {
122
+ @include normalize-font-size($h2-font-size);
123
+ @include normalize-line-height($h2-font-size);
124
+ @include normalize-margin(1 0, $h2-font-size);
125
+ }
126
+
127
+ h3 {
128
+ @include normalize-font-size($h3-font-size);
129
+ @include normalize-line-height($h3-font-size);
130
+ @include normalize-margin(1 0, $h3-font-size);
131
+ }
132
+
133
+ h4 {
134
+ @include normalize-font-size($h4-font-size);
135
+ @include normalize-line-height($h4-font-size);
136
+ @include normalize-margin(1 0, $h4-font-size);
137
+ }
138
+
139
+ h5 {
140
+ @include normalize-font-size($h5-font-size);
141
+ @include normalize-line-height($h5-font-size);
142
+ @include normalize-margin(1 0, $h5-font-size);
143
+ }
144
+
145
+ h6 {
146
+ @include normalize-font-size($h6-font-size);
147
+ @include normalize-line-height($h6-font-size);
148
+ @include normalize-margin(1 0, $h6-font-size);
149
+ }
150
+ }
151
+ }
152
+
153
+ @if _normalize-include(grouping) {
154
+ /* Grouping content
155
+ ========================================================================== */
156
+
157
+ @if $normalize-vertical-rhythm {
158
+ /**
159
+ * Set 1 unit of vertical rhythm on the top and bottom margin.
160
+ */
161
+
162
+ blockquote {
163
+ @include normalize-margin(1 $indent-amount);
164
+ }
165
+
166
+ dl,
167
+ ol,
168
+ ul {
169
+ @include normalize-margin(1 0);
170
+ }
171
+
172
+ /**
173
+ * Turn off margins on nested lists.
174
+ */
175
+
176
+ ol,
177
+ ul {
178
+ ol,
179
+ ul {
180
+ margin: 0;
181
+ }
182
+ }
183
+
184
+ dd {
185
+ margin: 0 0 0 $indent-amount;
186
+ }
187
+
188
+ ol,
189
+ ul {
190
+ padding: 0 0 0 $indent-amount;
191
+ }
192
+ }
193
+
194
+ /**
195
+ * Add the correct display in IE 9-.
196
+ */
197
+
198
+ figcaption,
199
+ figure {
200
+ display: block;
201
+ }
202
+
203
+ /**
204
+ * Add the correct margin in IE 8.
205
+ */
206
+
207
+ figure {
208
+ @if $normalize-vertical-rhythm {
209
+ @include normalize-margin(1 $indent-amount);
210
+ }
211
+ @else {
212
+ margin: 1em $indent-amount;
213
+ }
214
+ }
215
+
216
+ /**
217
+ * 1. Add the correct box sizing in Firefox.
218
+ * 2. Show the overflow in Edge and IE.
219
+ */
220
+
221
+ hr {
222
+ box-sizing: content-box; /* 1 */
223
+ height: 0; /* 1 */
224
+ overflow: visible; /* 2 */
225
+ }
226
+
227
+ /**
228
+ * Add the correct display in IE.
229
+ */
230
+
231
+ main {
232
+ display: block;
233
+ }
234
+
235
+ @if $normalize-vertical-rhythm {
236
+ /**
237
+ * Set 1 unit of vertical rhythm on the top and bottom margin.
238
+ */
239
+
240
+ p,
241
+ pre {
242
+ @include normalize-margin(1 0);
243
+ }
244
+ }
245
+
246
+ /**
247
+ * 1. Correct the inheritance and scaling of font size in all browsers.
248
+ * 2. Correct the odd `em` font sizing in all browsers.
249
+ */
250
+
251
+ pre {
252
+ font-family: monospace, monospace; /* 1 */
253
+ font-size: 1em; /* 2 */
254
+ }
255
+ }
256
+
257
+ @if _normalize-include(links) {
258
+ /* Links
259
+ ========================================================================== */
260
+
261
+ /**
262
+ * 1. Remove the gray background on active links in IE 10.
263
+ * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
264
+ */
265
+
266
+ a {
267
+ background-color: transparent; /* 1 */
268
+ -webkit-text-decoration-skip: objects; /* 2 */
269
+ }
270
+
271
+ /**
272
+ * Remove the outline on focused links when they are also active or hovered
273
+ * in all browsers (opinionated).
274
+ */
275
+
276
+ a:active,
277
+ a:hover {
278
+ outline-width: 0;
279
+ }
280
+ }
281
+
282
+ @if _normalize-include(text) {
283
+ /* Text-level semantics
284
+ ========================================================================== */
285
+
286
+ /**
287
+ * 1. Remove the bottom border in Firefox 39-.
288
+ * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
289
+ */
290
+
291
+ abbr[title] {
292
+ border-bottom: none; /* 1 */
293
+ text-decoration: underline; /* 2 */
294
+ text-decoration: underline dotted; /* 2 */
295
+ }
296
+
297
+ /**
298
+ * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
299
+ */
300
+
301
+ b,
302
+ strong {
303
+ font-weight: inherit;
304
+ }
305
+
306
+ /**
307
+ * Add the correct font weight in Chrome, Edge, and Safari.
308
+ */
309
+
310
+ b,
311
+ strong {
312
+ font-weight: bolder;
313
+ }
314
+
315
+ /**
316
+ * 1. Correct the inheritance and scaling of font size in all browsers.
317
+ * 2. Correct the odd `em` font sizing in all browsers.
318
+ */
319
+
320
+ code,
321
+ kbd,
322
+ samp {
323
+ font-family: monospace, monospace; /* 1 */
324
+ font-size: 1em; /* 2 */
325
+ }
326
+
327
+ /**
328
+ * Add the correct font style in Android 4.3-.
329
+ */
330
+
331
+ dfn {
332
+ font-style: italic;
333
+ }
334
+
335
+ /**
336
+ * Add the correct background and color in IE 9-.
337
+ */
338
+
339
+ mark {
340
+ background-color: #ff0;
341
+ color: #000;
342
+ }
343
+
344
+ /**
345
+ * Add the correct font size in all browsers.
346
+ */
347
+
348
+ small {
349
+ font-size: 80%;
350
+ }
351
+
352
+ /**
353
+ * Prevent `sub` and `sup` elements from affecting the line height in
354
+ * all browsers.
355
+ */
356
+
357
+ sub,
358
+ sup {
359
+ font-size: 75%;
360
+ line-height: 0;
361
+ position: relative;
362
+ vertical-align: baseline;
363
+ }
364
+
365
+ sub {
366
+ bottom: -0.25em;
367
+ }
368
+
369
+ sup {
370
+ top: -0.5em;
371
+ }
372
+ }
373
+
374
+ @if _normalize-include(embedded) {
375
+ /* Embedded content
376
+ ========================================================================== */
377
+
378
+ /**
379
+ * Add the correct display in IE 9-.
380
+ */
381
+
382
+ audio,
383
+ video {
384
+ display: inline-block;
385
+ }
386
+
387
+ /**
388
+ * Add the correct display in iOS 4-7.
389
+ */
390
+
391
+ audio:not([controls]) {
392
+ display: none;
393
+ height: 0;
394
+ }
395
+
396
+ /**
397
+ * Remove the border on images inside links in IE 10-.
398
+ */
399
+
400
+ img {
401
+ border-style: none;
402
+ }
403
+
404
+ /**
405
+ * Hide the overflow in IE.
406
+ */
407
+
408
+ svg:not(:root) {
409
+ overflow: hidden;
410
+ }
411
+ }
412
+
413
+ @if _normalize-include(forms) {
414
+ /* Forms
415
+ ========================================================================== */
416
+
417
+ /**
418
+ * 1. Change the font styles in all browsers (opinionated).
419
+ * 2. Remove the margin in Firefox and Safari.
420
+ */
421
+
422
+ button,
423
+ input,
424
+ optgroup,
425
+ select,
426
+ textarea {
427
+ font-family: $base-font-family; /* 1 */
428
+ font-size: 100%; /* 1 */
429
+ @if $normalize-vertical-rhythm {
430
+ line-height: ($base-line-height / $base-font-size) * 1em; /* 1 */
431
+ }
432
+ @else {
433
+ line-height: 1.15; /* 1 */
434
+ }
435
+ margin: 0; /* 2 */
436
+ }
437
+
438
+ /**
439
+ * Show the overflow in IE.
440
+ */
441
+
442
+ button {
443
+ overflow: visible;
444
+ }
445
+
446
+ /**
447
+ * Remove the inheritance of text transform in Edge, Firefox, and IE.
448
+ * 1. Remove the inheritance of text transform in Firefox.
449
+ */
450
+
451
+ button,
452
+ select { /* 1 */
453
+ text-transform: none;
454
+ }
455
+
456
+ /**
457
+ * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
458
+ * controls in Android 4.
459
+ * 2. Correct the inability to style clickable types in iOS and Safari.
460
+ */
461
+
462
+ button,
463
+ html [type="button"], /* 1 */
464
+ [type="reset"],
465
+ [type="submit"] {
466
+ -webkit-appearance: button; /* 2 */
467
+ }
468
+
469
+ button,
470
+ [type="button"],
471
+ [type="reset"],
472
+ [type="submit"] {
473
+
474
+ /**
475
+ * Remove the inner border and padding in Firefox.
476
+ */
477
+
478
+ &::-moz-focus-inner {
479
+ border-style: none;
480
+ padding: 0;
481
+ }
482
+
483
+ /**
484
+ * Restore the focus styles unset by the previous rule.
485
+ */
486
+
487
+ &:-moz-focusring {
488
+ outline: 1px dotted ButtonText;
489
+ }
490
+ }
491
+
492
+ /**
493
+ * Show the overflow in Edge.
494
+ */
495
+
496
+ input {
497
+ overflow: visible;
498
+ }
499
+
500
+ /**
501
+ * 1. Add the correct box sizing in IE 10-.
502
+ * 2. Remove the padding in IE 10-.
503
+ */
504
+
505
+ [type="checkbox"],
506
+ [type="radio"] {
507
+ box-sizing: border-box; /* 1 */
508
+ padding: 0; /* 2 */
509
+ }
510
+
511
+ /**
512
+ * Correct the cursor style of increment and decrement buttons in Chrome.
513
+ */
514
+
515
+ [type="number"]::-webkit-inner-spin-button,
516
+ [type="number"]::-webkit-outer-spin-button {
517
+ height: auto;
518
+ }
519
+
520
+ /**
521
+ * 1. Correct the odd appearance in Chrome and Safari.
522
+ * 2. Correct the outline style in Safari.
523
+ */
524
+
525
+ [type="search"] {
526
+ -webkit-appearance: textfield; /* 1 */
527
+ outline-offset: -2px; /* 2 */
528
+
529
+ /**
530
+ * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
531
+ */
532
+
533
+ &::-webkit-search-cancel-button,
534
+ &::-webkit-search-decoration {
535
+ -webkit-appearance: none;
536
+ }
537
+ }
538
+
539
+ /**
540
+ * 1. Correct the inability to style clickable types in iOS and Safari.
541
+ * 2. Change font properties to `inherit` in Safari.
542
+ */
543
+
544
+ ::-webkit-file-upload-button {
545
+ -webkit-appearance: button; /* 1 */
546
+ font: inherit; /* 2 */
547
+ }
548
+
549
+ /**
550
+ * Change the border, margin, and padding in all browsers (opinionated).
551
+ */
552
+
553
+ fieldset {
554
+ border: 1px solid #c0c0c0;
555
+ margin: 0 2px;
556
+ padding: 0.35em 0.625em 0.75em;
557
+ }
558
+
559
+ /**
560
+ * 1. Correct the text wrapping in Edge and IE.
561
+ * 2. Correct the color inheritance from `fieldset` elements in IE.
562
+ * 3. Remove the padding so developers are not caught out when they zero out
563
+ * `fieldset` elements in all browsers.
564
+ */
565
+
566
+ legend {
567
+ box-sizing: border-box; /* 1 */
568
+ display: table; /* 1 */
569
+ max-width: 100%; /* 1 */
570
+ padding: 0; /* 3 */
571
+ color: inherit; /* 2 */
572
+ white-space: normal; /* 1 */
573
+ }
574
+
575
+ /**
576
+ * 1. Add the correct display in IE 9-.
577
+ * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
578
+ */
579
+
580
+ progress {
581
+ display: inline-block; /* 1 */
582
+ vertical-align: baseline; /* 2 */
583
+ }
584
+
585
+ /**
586
+ * Remove the default vertical scrollbar in IE.
587
+ */
588
+
589
+ textarea {
590
+ overflow: auto;
591
+ }
592
+ }
593
+
594
+ @if _normalize-include(interactive) {
595
+ /* Interactive
596
+ ========================================================================== */
597
+
598
+ /*
599
+ * Add the correct display in Edge, IE, and Firefox.
600
+ */
601
+
602
+ details {
603
+ display: block;
604
+ }
605
+
606
+ /*
607
+ * Add the correct display in all browsers.
608
+ */
609
+
610
+ summary {
611
+ display: list-item;
612
+ }
613
+
614
+ /*
615
+ * Add the correct display in IE 9-.
616
+ */
617
+
618
+ menu {
619
+ display: block;
620
+
621
+ @if $normalize-vertical-rhythm {
622
+ /*
623
+ * 1. Set 1 unit of vertical rhythm on the top and bottom margin.
624
+ * 2. Set consistent space for the list style image.
625
+ */
626
+
627
+ @include normalize-margin(1 0); /* 1 */
628
+ padding: 0 0 0 $indent-amount; /* 2 */
629
+
630
+ /**
631
+ * Turn off margins on nested lists.
632
+ */
633
+
634
+ menu &,
635
+ ol &,
636
+ ul & {
637
+ margin: 0;
638
+ }
639
+ }
640
+ }
641
+ }
642
+
643
+ @if _normalize-include(scripting) {
644
+ /* Scripting
645
+ ========================================================================== */
646
+
647
+ /**
648
+ * Add the correct display in IE 9-.
649
+ */
650
+
651
+ canvas {
652
+ display: inline-block;
653
+ }
654
+
655
+ /**
656
+ * Add the correct display in IE.
657
+ */
658
+
659
+ template {
660
+ display: none;
661
+ }
662
+ }
663
+
664
+ @if _normalize-include(hidden) {
665
+ /* Hidden
666
+ ========================================================================== */
667
+
668
+ /**
669
+ * Add the correct display in IE 10-.
670
+ */
671
+
672
+ [hidden] {
673
+ display: none;
674
+ }
675
+ }
676
+ }