jekyll-theme-ethereal 0.4.4 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (170) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +54 -1
  3. data/_includes/contact_form.html +11 -7
  4. data/_includes/contact_script.html +60 -22
  5. data/_includes/head.html +11 -1
  6. data/_includes/panel_contact.html +4 -4
  7. data/_includes/panel_map.html +71 -97
  8. data/_includes/scripts.html +8 -19
  9. data/_includes/search.html +8 -6
  10. data/_layouts/default.html +4 -4
  11. data/_sass/large.scss +49 -0
  12. data/_sass/large/base/_page.scss +0 -0
  13. data/_sass/large/base/_reset.scss +0 -0
  14. data/_sass/large/base/_typography.scss +11 -0
  15. data/_sass/large/components/_actions.scss +0 -0
  16. data/_sass/large/components/_button.scss +0 -0
  17. data/_sass/large/components/_contact-icons.scss +0 -0
  18. data/_sass/large/components/_form.scss +0 -0
  19. data/_sass/large/components/_gallery.scss +0 -0
  20. data/_sass/large/components/_grid-icons.scss +0 -0
  21. data/_sass/large/components/_icon.scss +0 -0
  22. data/_sass/large/components/_icons.scss +0 -0
  23. data/_sass/large/components/_image.scss +0 -0
  24. data/_sass/large/components/_list.scss +0 -0
  25. data/_sass/large/components/_panel-banner.scss +0 -0
  26. data/_sass/large/components/_panel-map.scss +0 -0
  27. data/_sass/large/components/_panel-spotlight.scss +0 -0
  28. data/_sass/large/components/_panel.scss +0 -0
  29. data/_sass/large/components/_table.scss +0 -0
  30. data/_sass/large/layout/_footer.scss +0 -0
  31. data/_sass/large/layout/_header.scss +0 -0
  32. data/_sass/large/layout/_page-wrapper.scss +0 -0
  33. data/_sass/large/layout/_wrapper.scss +0 -0
  34. data/_sass/libs/_breakpoints.scss +164 -164
  35. data/_sass/libs/_functions.scss +32 -32
  36. data/_sass/libs/_mixins.scss +225 -49
  37. data/_sass/libs/_vars.scss +40 -40
  38. data/_sass/libs/_vendor.scss +331 -331
  39. data/_sass/main.scss +25 -118
  40. data/_sass/main/base/_page.scss +99 -0
  41. data/_sass/main/base/_reset.scss +76 -0
  42. data/_sass/main/base/_typography.scss +193 -0
  43. data/_sass/main/components/_actions.scss +63 -0
  44. data/_sass/main/components/_button.scss +154 -0
  45. data/_sass/main/components/_contact-icons.scss +72 -0
  46. data/_sass/main/components/_form.scss +253 -0
  47. data/_sass/main/components/_gallery.scss +168 -0
  48. data/_sass/main/components/_grid-icons.scss +139 -0
  49. data/_sass/main/components/_icon.scss +33 -0
  50. data/_sass/main/components/_icons.scss +28 -0
  51. data/_sass/main/components/_image.scss +169 -0
  52. data/_sass/main/components/_list.scss +56 -0
  53. data/_sass/main/components/_panel-banner.scss +52 -0
  54. data/_sass/main/components/_panel-map.scss +0 -0
  55. data/_sass/main/components/_panel-spotlight.scss +62 -0
  56. data/_sass/main/components/_panel.scss +224 -0
  57. data/_sass/main/components/_table.scss +81 -0
  58. data/_sass/main/layout/_footer.scss +30 -0
  59. data/_sass/main/layout/_header.scss +35 -0
  60. data/_sass/main/layout/_page-wrapper.scss +22 -0
  61. data/_sass/main/layout/_wrapper.scss +85 -0
  62. data/_sass/medium.scss +48 -0
  63. data/_sass/medium/base/_page.scss +0 -0
  64. data/_sass/medium/base/_reset.scss +0 -0
  65. data/_sass/medium/base/_typography.scss +0 -0
  66. data/_sass/medium/components/_actions.scss +0 -0
  67. data/_sass/medium/components/_button.scss +0 -0
  68. data/_sass/medium/components/_contact-icons.scss +0 -0
  69. data/_sass/medium/components/_form.scss +0 -0
  70. data/_sass/medium/components/_gallery.scss +11 -0
  71. data/_sass/medium/components/_grid-icons.scss +0 -0
  72. data/_sass/medium/components/_icon.scss +0 -0
  73. data/_sass/medium/components/_icons.scss +0 -0
  74. data/_sass/medium/components/_image.scss +0 -0
  75. data/_sass/medium/components/_list.scss +0 -0
  76. data/_sass/medium/components/_panel-banner.scss +0 -0
  77. data/_sass/medium/components/_panel-map.scss +0 -0
  78. data/_sass/medium/components/_panel-spotlight.scss +0 -0
  79. data/_sass/medium/components/_panel.scss +0 -0
  80. data/_sass/medium/components/_table.scss +0 -0
  81. data/_sass/medium/layout/_footer.scss +0 -0
  82. data/_sass/medium/layout/_header.scss +0 -0
  83. data/_sass/medium/layout/_page-wrapper.scss +0 -0
  84. data/_sass/medium/layout/_wrapper.scss +0 -0
  85. data/_sass/noscript.scss +12 -12
  86. data/_sass/short.scss +49 -0
  87. data/_sass/short/base/_page.scss +0 -0
  88. data/_sass/short/base/_reset.scss +0 -0
  89. data/_sass/short/base/_typography.scss +0 -0
  90. data/_sass/short/components/_actions.scss +0 -0
  91. data/_sass/short/components/_button.scss +0 -0
  92. data/_sass/short/components/_contact-icons.scss +0 -0
  93. data/_sass/short/components/_form.scss +1 -0
  94. data/_sass/short/components/_gallery.scss +0 -0
  95. data/_sass/short/components/_grid-icons.scss +0 -0
  96. data/_sass/short/components/_icon.scss +0 -0
  97. data/_sass/short/components/_icons.scss +0 -0
  98. data/_sass/short/components/_image.scss +0 -0
  99. data/_sass/short/components/_list.scss +0 -0
  100. data/_sass/short/components/_panel-banner.scss +0 -0
  101. data/_sass/short/components/_panel-map.scss +0 -0
  102. data/_sass/short/components/_panel-spotlight.scss +0 -0
  103. data/_sass/short/components/_panel.scss +0 -0
  104. data/_sass/short/components/_table.scss +0 -0
  105. data/_sass/short/layout/_footer.scss +0 -0
  106. data/_sass/short/layout/_header.scss +0 -0
  107. data/_sass/short/layout/_page-wrapper.scss +9 -0
  108. data/_sass/short/layout/_wrapper.scss +0 -0
  109. data/_sass/small.scss +50 -0
  110. data/_sass/small/base/_page.scss +18 -0
  111. data/_sass/small/base/_reset.scss +0 -0
  112. data/_sass/small/base/_typography.scss +67 -0
  113. data/_sass/small/components/_actions.scss +0 -0
  114. data/_sass/small/components/_button.scss +0 -0
  115. data/_sass/small/components/_contact-icons.scss +0 -0
  116. data/_sass/small/components/_form.scss +27 -0
  117. data/_sass/small/components/_gallery.scss +38 -0
  118. data/_sass/small/components/_grid-icons.scss +29 -0
  119. data/_sass/small/components/_icon.scss +0 -0
  120. data/_sass/small/components/_icons.scss +0 -0
  121. data/_sass/small/components/_image.scss +0 -0
  122. data/_sass/small/components/_list.scss +0 -0
  123. data/_sass/small/components/_panel-banner.scss +37 -0
  124. data/_sass/small/components/_panel-map.scss +13 -0
  125. data/_sass/small/components/_panel-spotlight.scss +18 -0
  126. data/_sass/small/components/_panel.scss +80 -0
  127. data/_sass/small/components/_table.scss +0 -0
  128. data/_sass/small/layout/_footer.scss +34 -0
  129. data/_sass/small/layout/_header.scss +0 -0
  130. data/_sass/small/layout/_page-wrapper.scss +12 -0
  131. data/_sass/small/layout/_wrapper.scss +26 -0
  132. data/{_sass/components/_cookieconsent.scss → assets/css/cookieconsent.css} +3 -2
  133. data/assets/css/cookieconsent.min.css +1 -0
  134. data/assets/css/fontawesome-all.min.css +1 -1
  135. data/assets/css/large.scss +5 -0
  136. data/assets/css/mapbox-gl.css +1 -600
  137. data/assets/css/mapbox-gl.min.css +1 -0
  138. data/assets/css/mapbox-gl.panel.css +27 -0
  139. data/assets/css/mapbox-gl.panel.min.css +1 -0
  140. data/assets/css/medium.scss +5 -0
  141. data/assets/css/short.scss +5 -0
  142. data/assets/css/small.scss +5 -0
  143. data/assets/js/cookieconsent.style.min.js +1 -0
  144. data/assets/js/lazy-loading.min.js +1 -0
  145. data/assets/js/main.js +2 -2
  146. data/assets/js/main.min.js +42 -0
  147. data/assets/js/mapbox-gl.min.js +40 -0
  148. metadata +129 -25
  149. data/_sass/base/_page.scss +0 -117
  150. data/_sass/base/_reset.scss +0 -76
  151. data/_sass/base/_typography.scss +0 -271
  152. data/_sass/components/_actions.scss +0 -63
  153. data/_sass/components/_button.scss +0 -154
  154. data/_sass/components/_contact-icons.scss +0 -72
  155. data/_sass/components/_form.scss +0 -279
  156. data/_sass/components/_gallery.scss +0 -218
  157. data/_sass/components/_grid-icons.scss +0 -166
  158. data/_sass/components/_icon.scss +0 -33
  159. data/_sass/components/_icons.scss +0 -28
  160. data/_sass/components/_image.scss +0 -169
  161. data/_sass/components/_list.scss +0 -56
  162. data/_sass/components/_panel-banner.scss +0 -90
  163. data/_sass/components/_panel-spotlight.scss +0 -81
  164. data/_sass/components/_panel.scss +0 -300
  165. data/_sass/components/_table.scss +0 -81
  166. data/_sass/layout/_footer.scss +0 -49
  167. data/_sass/layout/_header.scss +0 -37
  168. data/_sass/layout/_page-wrapper.scss +0 -43
  169. data/_sass/layout/_wrapper.scss +0 -118
  170. data/assets/js/mapbox-gl.js +0 -40
@@ -3,133 +3,40 @@
3
3
  @import 'libs/mixins';
4
4
  @import 'libs/vendor';
5
5
  @import 'libs/breakpoints';
6
- @import 'fontawesome-all.min.css';
7
- @import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,300i,400i");
8
6
 
9
7
  /*
10
- Ethereal by HTML5 UP
11
- html5up.net | @ajlkn
12
- Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
8
+ Ethereal by HTML5 UP
9
+ html5up.net | @ajlkn
10
+ Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
13
11
  */
14
12
 
15
- // Breakpoints.
16
-
17
- @include breakpoints((
18
- xlarge: ( 1281px, 1680px ),
19
- large: ( 981px, 1280px ),
20
- medium: ( 737px, 980px ),
21
- small: ( 481px, 736px ),
22
- xsmall: ( 361px, 480px ),
23
- xxsmall: ( null, 360px ),
24
- short: '(min-aspect-ratio: 16/7)',
25
- xshort: '(min-aspect-ratio: 16/6)'
26
- ));
27
-
28
- // Mixins.
29
-
30
- @mixin gradient-background($tint: false, $opacity: 0.25, $stop1: 25%, $stop2: 50%, $angle: 45deg) {
31
- $background-image: (
32
- url('./images/overlay.png'),
33
- linear-gradient($angle, transparentize(_palette(accent1), (1 - $opacity)) $stop1, transparentize(_palette(accent2), (1 - $opacity)) $stop2, transparentize(_palette(accent3), (1 - $opacity)))
34
- );
35
-
36
- $background-size: (
37
- 128px 128px,
38
- auto
39
- );
40
-
41
- @if ($tint) {
42
- $x: linear-gradient(0deg, rgba(0,0,0,0.125), rgba(0,0,0,0.125));
43
- $y: auto;
44
- $background-image: append($background-image, $x);
45
- $background-size: append($background-size, $y);
46
- }
47
-
48
- background-image: $background-image;
49
- background-size: $background-size;
50
- }
51
-
52
- @mixin gradient-background-small($tint: false, $opacity: 0.25, $stop1: 25%, $stop2: 50%) {
53
- @include gradient-background($tint, $opacity, $stop1, $stop2, 135deg);
54
- }
55
-
56
- @mixin spans($x) {
57
- @for $i from 0 through 10 {
58
-
59
- @if ($i > 0) {
60
- .span-#{$i} {
61
- width: ($x * $i);
62
- }
63
- }
64
-
65
- @if ($i < 10) {
66
- .span-#{$i}-25 {
67
- width: ($x * $i) + ($x * 0.25);
68
- }
69
-
70
- .span-#{$i}-5 {
71
- width: ($x * $i) + ($x * 0.5);
72
- }
73
-
74
- .span-#{$i}-75 {
75
- width: ($x * $i) + ($x * 0.75);
76
- }
77
- }
78
- }
79
- }
80
-
81
- @mixin spans-small($x) {
82
- @for $i from 0 through 10 {
83
-
84
- @if ($i > 0) {
85
- .span-#{$i} {
86
- width: 100%;
87
- }
88
- }
89
-
90
- @if ($i < 10) {
91
- .span-#{$i}-25 {
92
- width: 100%;
93
- }
94
-
95
- .span-#{$i}-5 {
96
- width: 100%;
97
- }
98
-
99
- .span-#{$i}-75 {
100
- width: 100%;
101
- }
102
- }
103
- }
104
- }
105
-
106
13
  // Base.
107
14
 
108
- @import 'base/reset';
109
- @import 'base/page';
110
- @import 'base/typography';
15
+ @import 'main/base/reset';
16
+ @import 'main/base/page';
17
+ @import 'main/base/typography';
111
18
 
112
19
  // Component.
113
20
 
114
- @import 'components/cookieconsent';
115
- @import 'components/form';
116
- @import 'components/icon';
117
- @import 'components/image';
118
- @import 'components/list';
119
- @import 'components/actions';
120
- @import 'components/icons';
121
- @import 'components/grid-icons';
122
- @import 'components/contact-icons';
123
- @import 'components/table';
124
- @import 'components/button';
125
- @import 'components/gallery';
126
- @import 'components/panel';
127
- @import 'components/panel-banner';
128
- @import 'components/panel-spotlight';
21
+ @import 'main/components/form';
22
+ @import 'main/components/icon';
23
+ @import 'main/components/image';
24
+ @import 'main/components/list';
25
+ @import 'main/components/actions';
26
+ @import 'main/components/icons';
27
+ @import 'main/components/grid-icons';
28
+ @import 'main/components/contact-icons';
29
+ @import 'main/components/table';
30
+ @import 'main/components/button';
31
+ @import 'main/components/gallery';
32
+ @import 'main/components/panel';
33
+ @import 'main/components/panel-banner';
34
+ @import 'main/components/panel-map';
35
+ @import 'main/components/panel-spotlight';
129
36
 
130
37
  // Layout.
131
38
 
132
- @import 'layout/footer';
133
- @import 'layout/header';
134
- @import 'layout/page-wrapper';
135
- @import 'layout/wrapper';
39
+ @import 'main/layout/footer';
40
+ @import 'main/layout/header';
41
+ @import 'main/layout/page-wrapper';
42
+ @import 'main/layout/wrapper';
@@ -0,0 +1,99 @@
1
+ ///
2
+ /// Ethereal by HTML5 UP
3
+ /// html5up.net | @ajlkn
4
+ /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+ ///
6
+
7
+ /* Page */
8
+
9
+ @include keyframes('load-spinner') {
10
+ 0% {
11
+ @include vendor('transform', 'rotate(0deg)');
12
+ }
13
+
14
+ 100% {
15
+ @include vendor('transform', 'rotate(360deg)');
16
+ }
17
+ }
18
+
19
+ @-ms-viewport {
20
+ width: device-width;
21
+ }
22
+
23
+ html {
24
+ width: 100%;
25
+ height: 100%;
26
+ }
27
+
28
+ // Set box model to border-box.
29
+ // Based on css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice
30
+ html {
31
+ box-sizing: border-box;
32
+ }
33
+
34
+ *, *:before, *:after {
35
+ box-sizing: inherit;
36
+ }
37
+
38
+ body {
39
+ @include vendor('display', 'flex');
40
+ @include vendor('align-items', 'center');
41
+ @include vendor('justify-content', 'flex-start');
42
+ -ms-overflow-style: scrollbar;
43
+ width: 100%;
44
+ height: 100%;
45
+ min-height: 30rem;
46
+ overflow: hidden;
47
+
48
+ &:before {
49
+ @include vendor('animation', 'load-spinner 1s infinite linear');
50
+ @include vendor('transition', 'opacity 0.25s ease');
51
+ @include vendor('transition-delay', '0s');
52
+ @include vendor('pointer-events', 'none');
53
+ content: '';
54
+ display: block;
55
+ position: absolute;
56
+ top: 50%;
57
+ left: 50%;
58
+ width: 4rem;
59
+ height: 4rem;
60
+ margin: -2rem 0 0 -2rem;
61
+ background-image: svg-url('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="96px" height="96px" viewBox="0 0 96 96" zoomAndPan="disable"><style>circle {fill: transparent; stroke: #{_palette(bg)}; stroke-width: 1.5px; }</style><defs><clipPath id="corner"><polygon points="0,0 48,0 48,48 96,48 96,96 0,96" /></clipPath></defs><g clip-path="url(#corner)"><circle cx="48" cy="48" r="32"/></g></svg>');
62
+ background-position: center;
63
+ background-repeat: no-repeat;
64
+ background-size: 4rem;
65
+ opacity: 0;
66
+ }
67
+
68
+ &:after {
69
+ @include vendor('pointer-events', 'none');
70
+ content: '';
71
+ display: block;
72
+ position: fixed;
73
+ top: 0;
74
+ left: 0;
75
+ width: 100%;
76
+ height: 100%;
77
+ z-index: -1;
78
+ background-attachment: fixed;
79
+ background-color: _palette(bg-alt);
80
+ background-image: url('./images/overlay.png'), url('./images/bg.jpg');
81
+ background-repeat: repeat, repeat-x;
82
+ background-size: 128px 128px, cover;
83
+ }
84
+
85
+ // Stops initial animations until page loads.
86
+ &.is-preload {
87
+ *, *:before, *:after {
88
+ @include vendor('animation', 'none !important');
89
+ @include vendor('transition', 'none !important');
90
+ }
91
+
92
+ &:before {
93
+ @include vendor('transition', 'opacity 1s ease');
94
+ @include vendor('transition-delay', '0.75s');
95
+ opacity: 0.25;
96
+ }
97
+ }
98
+
99
+ }
@@ -0,0 +1,76 @@
1
+ ///
2
+ /// Ethereal by HTML5 UP
3
+ /// html5up.net | @ajlkn
4
+ /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+ ///
6
+
7
+ // Reset.
8
+ // Based on meyerweb.com/eric/tools/css/reset (v2.0 | 20110126 | License: public domain)
9
+
10
+ html, body, div, span, applet, object,
11
+ iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
12
+ pre, a, abbr, acronym, address, big, cite,
13
+ code, del, dfn, em, img, ins, kbd, q, s, samp,
14
+ small, strike, strong, sub, sup, tt, var, b,
15
+ u, i, center, dl, dt, dd, ol, ul, li, fieldset,
16
+ form, label, legend, table, caption, tbody,
17
+ tfoot, thead, tr, th, td, article, aside,
18
+ canvas, details, embed, figure, figcaption,
19
+ footer, header, hgroup, menu, nav, output, ruby,
20
+ section, summary, time, mark, audio, video {
21
+ margin: 0;
22
+ padding: 0;
23
+ border: 0;
24
+ font-size: 100%;
25
+ font: inherit;
26
+ vertical-align: baseline;
27
+ }
28
+
29
+ article, aside, details, figcaption, figure,
30
+ footer, header, hgroup, menu, nav, section {
31
+ display: block;
32
+ }
33
+
34
+ body {
35
+ line-height: 1;
36
+ }
37
+
38
+ ol, ul {
39
+ list-style:none;
40
+ }
41
+
42
+ blockquote, q {
43
+ quotes: none;
44
+
45
+ &:before,
46
+ &:after {
47
+ content: '';
48
+ content: none;
49
+ }
50
+ }
51
+
52
+ table {
53
+ border-collapse: collapse;
54
+ border-spacing: 0;
55
+ }
56
+
57
+ body {
58
+ -webkit-text-size-adjust: none;
59
+ }
60
+
61
+ mark {
62
+ background-color: transparent;
63
+ color: inherit;
64
+ }
65
+
66
+ input::-moz-focus-inner {
67
+ border: 0;
68
+ padding: 0;
69
+ }
70
+
71
+ input, select, textarea {
72
+ -moz-appearance: none;
73
+ -webkit-appearance: none;
74
+ -ms-appearance: none;
75
+ appearance: none;
76
+ }
@@ -0,0 +1,193 @@
1
+ ///
2
+ /// Ethereal by HTML5 UP
3
+ /// html5up.net | @ajlkn
4
+ /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
+ ///
6
+
7
+ /* Typography */
8
+
9
+ html {
10
+ font-size: 18pt;
11
+ font-size: 1vmax;
12
+ }
13
+
14
+ body, input, select, textarea {
15
+ color: _palette(fg);
16
+ font-family: _font(family);
17
+ font-size: 1rem;
18
+ font-weight: _font(weight);
19
+ line-height: 1.65;
20
+ }
21
+
22
+ a {
23
+ @include vendor('transition', (
24
+ 'color #{_duration(transition)} ease-in-out',
25
+ 'border-bottom-color #{_duration(transition)} ease-in-out'
26
+ ));
27
+ color: inherit;
28
+ border-bottom: dotted 1px;
29
+ text-decoration: none;
30
+
31
+ &:hover {
32
+ border-bottom-color: transparent;
33
+ color: _palette(accent3);
34
+ }
35
+ }
36
+
37
+ strong, b {
38
+ color: _palette(fg-bold);
39
+ font-weight: _font(weight-bold);
40
+ }
41
+
42
+ em, i {
43
+ font-style: italic;
44
+ }
45
+
46
+ p {
47
+ margin: 0 0 _size(element-margin) 0;
48
+
49
+ body.is-ie & {
50
+ width: 100%;
51
+ }
52
+ }
53
+
54
+ h1, h2, h3, h4, h5, h6 {
55
+ color: _palette(fg-bold);
56
+ font-family: _font(family-heading);
57
+ font-weight: _font(weight-heading);
58
+ line-height: 1.3;
59
+ margin: 0 0 (_size(element-margin) * 0.5) 0;
60
+ letter-spacing: -0.05em;
61
+
62
+ a {
63
+ color: inherit;
64
+ text-decoration: none;
65
+ }
66
+ }
67
+
68
+ h1, h2, h3 {
69
+ &.major {
70
+ position: relative;
71
+
72
+ &:after {
73
+ content: '';
74
+ position: absolute;
75
+ left: 0;
76
+ width: 3.5rem;
77
+ height: 0.1rem;
78
+ background-color: _palette(border);
79
+ }
80
+ }
81
+ }
82
+
83
+ h1 {
84
+ font-size: 3rem;
85
+ line-height: 1.2;
86
+
87
+ &.major {
88
+ margin: 0 0 (_size(element-margin) * 1.75) 0;
89
+
90
+ &:after {
91
+ bottom: -1.325rem;
92
+ }
93
+ }
94
+ }
95
+
96
+ h2 {
97
+ font-size: 1.75rem;
98
+ line-height: 1.2;
99
+
100
+ &.major {
101
+ margin: 0 0 (_size(element-margin) * 1.325) 0;
102
+
103
+ &:after {
104
+ bottom: -1.2rem;
105
+ }
106
+ }
107
+ }
108
+
109
+ h3 {
110
+ font-size: 1.325rem;
111
+
112
+ &.major {
113
+ margin: 0 0 (_size(element-margin) * 1.25) 0;
114
+
115
+ &:after {
116
+ bottom: -0.75rem;
117
+ }
118
+ }
119
+ }
120
+
121
+ h4 {
122
+ font-size: 1rem;
123
+ }
124
+
125
+ h5 {
126
+ font-size: 0.9rem;
127
+ }
128
+
129
+ h6 {
130
+ font-size: 0.7rem;
131
+ }
132
+
133
+ sub {
134
+ font-size: 0.8rem;
135
+ position: relative;
136
+ top: 0.5rem;
137
+ }
138
+
139
+ sup {
140
+ font-size: 0.8rem;
141
+ position: relative;
142
+ top: -0.5rem;
143
+ }
144
+
145
+ blockquote {
146
+ border-left: solid 0.25rem _palette(border);
147
+ font-style: italic;
148
+ margin: 0 0 _size(element-margin) 0;
149
+ padding: (_size(element-margin) / 4) 0 (_size(element-margin) / 4) _size(element-margin);
150
+ }
151
+
152
+ code {
153
+ background: _palette(border-bg);
154
+ border-radius: _size(border-radius);
155
+ font-family: _font(family-fixed);
156
+ font-size: 0.8rem;
157
+ margin: 0 0.25rem;
158
+ padding: 0.25rem 0.65rem;
159
+ }
160
+
161
+ pre {
162
+ -webkit-overflow-scrolling: touch;
163
+ font-family: _font(family-fixed);
164
+ font-size: 0.8rem;
165
+ margin: 0 0 _size(element-margin) 0;
166
+ white-space: pre-wrap;
167
+
168
+ code {
169
+ display: block;
170
+ line-height: 1.625;
171
+ padding: 1rem 1.5rem;
172
+ overflow-x: auto;
173
+ margin: 0;
174
+ }
175
+ }
176
+
177
+ hr {
178
+ border: 0;
179
+ border-bottom: solid 2px _palette(border);
180
+ margin: (_size(element-margin) * 1.25) 0;
181
+ }
182
+
183
+ .align-left {
184
+ text-align: left;
185
+ }
186
+
187
+ .align-center {
188
+ text-align: center;
189
+ }
190
+
191
+ .align-right {
192
+ text-align: right;
193
+ }