@nationalarchives/frontend 0.1.15-prerelease → 0.1.17-prerelease
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENCE +21 -0
- package/nationalarchives/all.css +13 -1
- package/nationalarchives/all.css.map +1 -1
- package/nationalarchives/all.js +1 -1
- package/nationalarchives/all.js.map +1 -1
- package/nationalarchives/all.scss +2 -3
- package/nationalarchives/assets/fonts/fa-brands-400.ttf +0 -0
- package/nationalarchives/assets/fonts/fa-brands-400.woff2 +0 -0
- package/nationalarchives/assets/fonts/fa-regular-400.ttf +0 -0
- package/nationalarchives/assets/fonts/fa-regular-400.woff2 +0 -0
- package/nationalarchives/assets/fonts/fa-solid-900.ttf +0 -0
- package/nationalarchives/assets/fonts/fa-solid-900.woff2 +0 -0
- package/nationalarchives/components/_index.scss +1 -0
- package/nationalarchives/components/breadcrumbs/_index.scss +13 -41
- package/nationalarchives/components/breadcrumbs/breadcrumbs.js +1 -1
- package/nationalarchives/components/breadcrumbs/breadcrumbs.js.map +1 -1
- package/nationalarchives/components/breadcrumbs/breadcrumbs.mjs +8 -4
- package/nationalarchives/components/breadcrumbs/breadcrumbs.stories.js +9 -30
- package/nationalarchives/components/breadcrumbs/fixtures.json +23 -1
- package/nationalarchives/components/breadcrumbs/macro-options.json +6 -0
- package/nationalarchives/components/breadcrumbs/template.njk +17 -12
- package/nationalarchives/components/button/_button-group.scss +18 -0
- package/nationalarchives/components/button/_index.scss +25 -9
- package/nationalarchives/components/button/button.stories.js +64 -8
- package/nationalarchives/components/button/fixtures.json +3 -3
- package/nationalarchives/components/button/macro-options.json +13 -1
- package/nationalarchives/components/button/template.njk +7 -2
- package/nationalarchives/components/card/_index.scss +67 -51
- package/nationalarchives/components/card/card.stories.js +123 -10
- package/nationalarchives/components/card/fixtures.json +62 -10
- package/nationalarchives/components/card/macro-options.json +9 -3
- package/nationalarchives/components/card/template.njk +12 -8
- package/nationalarchives/components/filters/_index.scss +19 -14
- package/nationalarchives/components/filters/filters.stories.js +3 -4
- package/nationalarchives/components/footer/_index.scss +195 -72
- package/nationalarchives/components/footer/fixtures.json +1 -1
- package/nationalarchives/components/footer/footer.stories.js +82 -74
- package/nationalarchives/components/footer/macro-options.json +34 -8
- package/nationalarchives/components/footer/template.njk +110 -53
- package/nationalarchives/components/grid/_index.scss +2 -2
- package/nationalarchives/components/grid/grid.stories.js +2 -3
- package/nationalarchives/components/header/_index.scss +57 -23
- package/nationalarchives/components/header/header.stories.js +2 -3
- package/nationalarchives/components/hero/_index.scss +4 -8
- package/nationalarchives/components/hero/hero.stories.js +2 -3
- package/nationalarchives/components/index-grid/_index.scss +28 -7
- package/nationalarchives/components/index-grid/index-grid.stories.js +27 -4
- package/nationalarchives/components/index-grid/macro-options.json +12 -0
- package/nationalarchives/components/index-grid/template.njk +9 -11
- package/nationalarchives/components/message/_index.scss +12 -6
- package/nationalarchives/components/message/phase-banner.stories.js +2 -3
- package/nationalarchives/components/phase-banner/phase-banner.stories.js +2 -3
- package/nationalarchives/components/picture/_index.scss +5 -5
- package/nationalarchives/components/picture/picture.js +1 -1
- package/nationalarchives/components/picture/picture.js.map +1 -1
- package/nationalarchives/components/picture/picture.mjs +2 -0
- package/nationalarchives/components/picture/picture.stories.js +2 -3
- package/nationalarchives/components/profile/profile.stories.js +2 -3
- package/nationalarchives/components/sensitive-image/sensitive-image.stories.js +3 -4
- package/nationalarchives/components/skip-link/_index.scss +63 -0
- package/nationalarchives/components/skip-link/fixtures.json +11 -0
- package/nationalarchives/{patterns/featured-collection → components/skip-link}/macro-options.json +10 -4
- package/nationalarchives/components/skip-link/macro.njk +3 -0
- package/nationalarchives/{patterns/featured-collection/featured-collection.stories.js → components/skip-link/skip-link.stories.js} +7 -10
- package/nationalarchives/components/skip-link/template.njk +4 -0
- package/nationalarchives/components/tabs/_index.scss +7 -5
- package/nationalarchives/components/tabs/tabs.stories.js +8 -9
- package/nationalarchives/lib/font-awesome/_animated.scss +276 -0
- package/nationalarchives/lib/font-awesome/_bordered-pulled.scss +20 -0
- package/nationalarchives/lib/font-awesome/_core.scss +42 -0
- package/nationalarchives/lib/font-awesome/_fixed-width.scss +7 -0
- package/nationalarchives/lib/font-awesome/_functions.scss +57 -0
- package/nationalarchives/lib/font-awesome/_icons.scss +11 -0
- package/nationalarchives/lib/font-awesome/_list.scss +20 -0
- package/nationalarchives/lib/font-awesome/_mixins.scss +74 -0
- package/nationalarchives/lib/font-awesome/_rotated-flipped.scss +31 -0
- package/nationalarchives/lib/font-awesome/_screen-reader.scss +14 -0
- package/nationalarchives/lib/font-awesome/_shims.scss +2653 -0
- package/nationalarchives/lib/font-awesome/_sizing.scss +16 -0
- package/nationalarchives/lib/font-awesome/_stacked.scss +32 -0
- package/nationalarchives/lib/font-awesome/_variables.scss +4976 -0
- package/nationalarchives/lib/font-awesome/brands.scss +34 -0
- package/nationalarchives/lib/font-awesome/fontawesome.scss +21 -0
- package/nationalarchives/lib/font-awesome/regular.scss +28 -0
- package/nationalarchives/lib/font-awesome/solid.scss +28 -0
- package/nationalarchives/lib/font-awesome/v4-shims.scss +11 -0
- package/nationalarchives/stories/utilities/colour-schemes/colour-schemes.mdx +22 -0
- package/nationalarchives/stories/utilities/colour-schemes/colour-schemes.stories.js +494 -91
- package/nationalarchives/stories/utilities/overrides/overrides.mdx +37 -57
- package/nationalarchives/stories/utilities/overrides/overrides.stories.js +8 -14
- package/nationalarchives/stories/utilities/typography/heading-groups.stories.js +1 -1
- package/nationalarchives/stories/utilities/typography/typography.mdx +2 -0
- package/nationalarchives/stories/utilities/typography/typography.stories.js +20 -1
- package/nationalarchives/templates/layouts/_generic.njk +10 -8
- package/nationalarchives/tools/_colour.scss +163 -49
- package/nationalarchives/tools/_index.scss +0 -1
- package/nationalarchives/tools/_typography.scss +13 -0
- package/nationalarchives/utilities/_debug.scss +41 -1
- package/nationalarchives/utilities/_font-awesome.scss +5 -0
- package/nationalarchives/utilities/_global.scss +75 -26
- package/nationalarchives/utilities/_index.scss +1 -0
- package/nationalarchives/utilities/_overrides.scss +54 -9
- package/nationalarchives/utilities/_typography.scss +203 -65
- package/nationalarchives/variables/_assets.scss +1 -1
- package/nationalarchives/variables/_colour.scss +93 -93
- package/nationalarchives/variables/_grid.scss +1 -1
- package/nationalarchives/variables/_media.scss +23 -23
- package/nationalarchives/variables/_spacing.scss +12 -2
- package/nationalarchives/variables/_typography.scss +4 -1
- package/package.json +14 -14
- package/nationalarchives/patterns/_index.scss +0 -1
- package/nationalarchives/patterns/featured-collection/_index.scss +0 -13
- package/nationalarchives/patterns/featured-collection/macro.njk +0 -3
- package/nationalarchives/patterns/featured-collection/template.njk +0 -96
- package/nationalarchives/tools/_assets.scss +0 -5
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use "../features";
|
|
2
2
|
@use "../tools/colour";
|
|
3
|
+
@use "../tools/media";
|
|
3
4
|
@use "../variables/typography";
|
|
4
5
|
|
|
5
6
|
:root {
|
|
@@ -19,29 +20,7 @@
|
|
|
19
20
|
|
|
20
21
|
@include colour.colour-background("page-background");
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
// accent-color: colour.$_tna-black;
|
|
24
|
-
// }
|
|
25
|
-
|
|
26
|
-
// &--yellow-accent {
|
|
27
|
-
// accent-color: colour.$_tna-yellow;
|
|
28
|
-
// }
|
|
29
|
-
|
|
30
|
-
// &--pink-accent {
|
|
31
|
-
// accent-color: colour.$_tna-pink;
|
|
32
|
-
// }
|
|
33
|
-
|
|
34
|
-
// &--orange-accent {
|
|
35
|
-
// accent-color: colour.$_tna-orange;
|
|
36
|
-
// }
|
|
37
|
-
|
|
38
|
-
// &--green-accent {
|
|
39
|
-
// accent-color: colour.$_tna-green;
|
|
40
|
-
// }
|
|
41
|
-
|
|
42
|
-
// &--blue-accent {
|
|
43
|
-
// accent-color: colour.$_tna-blue;
|
|
44
|
-
// }
|
|
23
|
+
accent-color: var(--accent);
|
|
45
24
|
|
|
46
25
|
&--system-theme {
|
|
47
26
|
@include colour.colour-css-vars;
|
|
@@ -83,6 +62,32 @@
|
|
|
83
62
|
}
|
|
84
63
|
}
|
|
85
64
|
|
|
65
|
+
@include colour.accent-css-vars("black"); // TODO: Temp
|
|
66
|
+
|
|
67
|
+
// &--black-accent {
|
|
68
|
+
// @include colour.accent-css-vars("black");
|
|
69
|
+
// }
|
|
70
|
+
|
|
71
|
+
&--yellow-accent {
|
|
72
|
+
@include colour.accent-css-vars("yellow");
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&--pink-accent {
|
|
76
|
+
@include colour.accent-css-vars("pink");
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&--orange-accent {
|
|
80
|
+
@include colour.accent-css-vars("orange");
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&--green-accent {
|
|
84
|
+
@include colour.accent-css-vars("green");
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&--blue-accent {
|
|
88
|
+
@include colour.accent-css-vars("blue");
|
|
89
|
+
}
|
|
90
|
+
|
|
86
91
|
@media (prefers-reduced-motion) {
|
|
87
92
|
* {
|
|
88
93
|
animation: none !important;
|
|
@@ -134,17 +139,56 @@ canvas {
|
|
|
134
139
|
}
|
|
135
140
|
|
|
136
141
|
hr {
|
|
137
|
-
margin:
|
|
142
|
+
margin: 2rem 0;
|
|
138
143
|
|
|
139
144
|
border-width: 1px 0 0;
|
|
140
145
|
@include colour.colour-border("keyline");
|
|
141
|
-
border-style:
|
|
146
|
+
border-style: solid;
|
|
147
|
+
|
|
148
|
+
// @include colour.on-high-contrast {
|
|
149
|
+
// border-style: solid;
|
|
150
|
+
// }
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.tna-section {
|
|
154
|
+
padding-top: 3rem;
|
|
155
|
+
padding-bottom: 3rem;
|
|
156
|
+
|
|
157
|
+
@include media.on-mobile {
|
|
158
|
+
padding-top: 2rem;
|
|
159
|
+
padding-bottom: 2rem;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.tna-aside {
|
|
164
|
+
margin-bottom: 2rem;
|
|
165
|
+
padding: 2rem;
|
|
166
|
+
|
|
167
|
+
&:last-child {
|
|
168
|
+
margin-bottom: 0;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
@include media.on-mobile {
|
|
172
|
+
padding: 1rem;
|
|
173
|
+
}
|
|
142
174
|
|
|
143
175
|
@include colour.on-high-contrast {
|
|
144
|
-
border-
|
|
176
|
+
@include colour.colour-border("keyline-dark", 1px);
|
|
145
177
|
}
|
|
146
178
|
}
|
|
147
179
|
|
|
180
|
+
.tna-background--contrast {
|
|
181
|
+
@include colour.invert;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.tna-background--accent {
|
|
185
|
+
@include colour.accent;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.tna-background--accent-light {
|
|
189
|
+
@include colour.light-accent-background;
|
|
190
|
+
}
|
|
191
|
+
|
|
148
192
|
.tna-visually-hidden {
|
|
149
193
|
width: 1px !important;
|
|
150
194
|
height: 1px !important;
|
|
@@ -163,4 +207,9 @@ hr {
|
|
|
163
207
|
border: 0 !important;
|
|
164
208
|
|
|
165
209
|
background-color: transparent !important;
|
|
210
|
+
|
|
211
|
+
&::before,
|
|
212
|
+
&::after {
|
|
213
|
+
content: "\00a0";
|
|
214
|
+
}
|
|
166
215
|
}
|
|
@@ -1,17 +1,62 @@
|
|
|
1
1
|
@use "../variables/spacing";
|
|
2
|
+
@use "../tools/media";
|
|
2
3
|
|
|
3
|
-
@
|
|
4
|
-
@
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
@mixin no-spacing-generator($suffix: "") {
|
|
5
|
+
@if $suffix != "" {
|
|
6
|
+
$suffix: "-" + $suffix;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@each $property in margin, padding {
|
|
10
|
+
@each $direction in top, bottom {
|
|
11
|
+
.tna-\!--no-#{$property}-#{$direction}#{$suffix},
|
|
12
|
+
.tna-\!--no-#{$property}-vertical#{$suffix} {
|
|
13
|
+
#{$property}-#{$direction}: 0 !important;
|
|
14
|
+
}
|
|
8
15
|
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@include no-spacing-generator;
|
|
9
20
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
21
|
+
@include media.on-medium {
|
|
22
|
+
@include no-spacing-generator("medium");
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@include media.on-small {
|
|
26
|
+
@include no-spacing-generator("small");
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@include media.on-tiny {
|
|
30
|
+
@include no-spacing-generator("tiny");
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@mixin overrides($spacing, $suffix: "") {
|
|
34
|
+
@if $suffix != "" {
|
|
35
|
+
$suffix: "-" + $suffix;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@each $property in margin, padding {
|
|
39
|
+
@each $direction in top, bottom {
|
|
40
|
+
@each $size, $amount in $spacing {
|
|
41
|
+
.tna-\!--#{$property}-#{$direction}-#{$size}#{$suffix},
|
|
42
|
+
.tna-\!--#{$property}-vertical-#{$size}#{$suffix} {
|
|
43
|
+
#{$property}-#{$direction}: #{$amount}rem !important;
|
|
44
|
+
}
|
|
14
45
|
}
|
|
15
46
|
}
|
|
16
47
|
}
|
|
17
48
|
}
|
|
49
|
+
|
|
50
|
+
@include overrides(spacing.$spacing);
|
|
51
|
+
|
|
52
|
+
@include media.on-medium {
|
|
53
|
+
@include overrides(spacing.$spacing, "medium");
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@include media.on-small {
|
|
57
|
+
@include overrides(spacing.$spacing-mobile, "small");
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@include media.on-tiny {
|
|
61
|
+
@include overrides(spacing.$spacing-mobile, "tiny");
|
|
62
|
+
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
@use "../tools/colour";
|
|
3
3
|
@use "../tools/media";
|
|
4
4
|
@use "../tools/typography";
|
|
5
|
+
@use "../variables/grid";
|
|
5
6
|
|
|
6
7
|
// TODO: Temporary - will eventually bundle font files into package
|
|
7
8
|
@import "https://fonts.googleapis.com/css2?family=Open+Sans:wght@500;700&family=Roboto+Mono:wght@400&display=swap";
|
|
@@ -63,7 +64,23 @@ a {
|
|
|
63
64
|
|
|
64
65
|
&:hover,
|
|
65
66
|
&:active {
|
|
66
|
-
text-decoration
|
|
67
|
+
@include typography.interacted-text-decoration;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&.tna-chip {
|
|
71
|
+
// display: block;
|
|
72
|
+
|
|
73
|
+
text-decoration: none;
|
|
74
|
+
|
|
75
|
+
&,
|
|
76
|
+
&:link,
|
|
77
|
+
&:visited {
|
|
78
|
+
@include colour.colour-font("font-dark");
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&:hover {
|
|
82
|
+
@include typography.interacted-text-decoration;
|
|
83
|
+
}
|
|
67
84
|
}
|
|
68
85
|
}
|
|
69
86
|
|
|
@@ -77,7 +94,7 @@ a {
|
|
|
77
94
|
}
|
|
78
95
|
|
|
79
96
|
li::marker {
|
|
80
|
-
@include colour.colour-font("accent");
|
|
97
|
+
@include colour.colour-font("accent-background");
|
|
81
98
|
font-weight: 700;
|
|
82
99
|
}
|
|
83
100
|
|
|
@@ -88,7 +105,76 @@ a {
|
|
|
88
105
|
}
|
|
89
106
|
}
|
|
90
107
|
|
|
91
|
-
|
|
108
|
+
%chip {
|
|
109
|
+
max-width: max-content;
|
|
110
|
+
padding: 0.375em 0.5rem;
|
|
111
|
+
|
|
112
|
+
// display: inline-block;
|
|
113
|
+
display: block;
|
|
114
|
+
|
|
115
|
+
@include colour.colour-font("font-dark");
|
|
116
|
+
@include typography.detail-font-small;
|
|
117
|
+
line-height: 1;
|
|
118
|
+
|
|
119
|
+
@include colour.accent;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.tna-chip {
|
|
123
|
+
@extend %chip;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.tna-chip-list {
|
|
127
|
+
padding-left: 0;
|
|
128
|
+
|
|
129
|
+
display: flex;
|
|
130
|
+
flex-wrap: wrap;
|
|
131
|
+
|
|
132
|
+
list-style: none;
|
|
133
|
+
|
|
134
|
+
&__item {
|
|
135
|
+
margin: 0 1rem 1rem 0;
|
|
136
|
+
|
|
137
|
+
display: inline-block;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
%heading-xl {
|
|
142
|
+
@include typography.relative-font-size(64);
|
|
143
|
+
line-height: 1.2;
|
|
144
|
+
|
|
145
|
+
@include media.on-medium {
|
|
146
|
+
@include typography.relative-font-size(42);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
@include media.on-mobile {
|
|
150
|
+
@include typography.relative-font-size(36);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
%heading-l {
|
|
155
|
+
@include typography.relative-font-size(32);
|
|
156
|
+
line-height: 1.4;
|
|
157
|
+
|
|
158
|
+
@include media.on-medium {
|
|
159
|
+
@include typography.relative-font-size(26);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
@include media.on-mobile {
|
|
163
|
+
@include typography.relative-font-size(24);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
%heading-m {
|
|
168
|
+
@include typography.relative-font-size(20);
|
|
169
|
+
line-height: 1.6;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
%heading-s {
|
|
173
|
+
@include typography.relative-font-size(18);
|
|
174
|
+
line-height: 1.6;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
%heading {
|
|
92
178
|
margin-bottom: 1rem;
|
|
93
179
|
|
|
94
180
|
@include colour.colour-font("font-dark");
|
|
@@ -98,99 +184,91 @@ a {
|
|
|
98
184
|
margin-bottom: 0;
|
|
99
185
|
}
|
|
100
186
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
187
|
+
a {
|
|
188
|
+
&::after {
|
|
189
|
+
padding-left: 0.25rem;
|
|
190
|
+
|
|
191
|
+
display: inline-block;
|
|
104
192
|
|
|
105
|
-
|
|
106
|
-
|
|
193
|
+
font-weight: 700;
|
|
194
|
+
|
|
195
|
+
content: "\203A";
|
|
107
196
|
}
|
|
108
197
|
|
|
109
|
-
|
|
110
|
-
|
|
198
|
+
&:hover {
|
|
199
|
+
&::after {
|
|
200
|
+
transform: translateX(0.25rem);
|
|
201
|
+
}
|
|
111
202
|
}
|
|
112
203
|
}
|
|
204
|
+
}
|
|
113
205
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
206
|
+
.tna-heading {
|
|
207
|
+
@extend %heading;
|
|
208
|
+
// @extend %heading-l;
|
|
117
209
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
210
|
+
&--xl {
|
|
211
|
+
@extend %heading-xl;
|
|
212
|
+
}
|
|
121
213
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
}
|
|
214
|
+
&--l {
|
|
215
|
+
@extend %heading-l;
|
|
125
216
|
}
|
|
126
217
|
|
|
127
218
|
&--m {
|
|
128
|
-
@
|
|
129
|
-
line-height: 1.4;
|
|
219
|
+
@extend %heading-m;
|
|
130
220
|
}
|
|
131
221
|
|
|
132
222
|
&--s {
|
|
133
|
-
@
|
|
134
|
-
line-height: 1.6;
|
|
223
|
+
@extend %heading-s;
|
|
135
224
|
}
|
|
136
225
|
}
|
|
137
226
|
|
|
138
227
|
.tna-hgroup {
|
|
139
228
|
margin-bottom: 1rem;
|
|
140
229
|
|
|
141
|
-
&:last-child {
|
|
142
|
-
margin-bottom: 0;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
230
|
&__supertitle {
|
|
146
231
|
margin: 0 0 0.5rem;
|
|
147
232
|
|
|
148
|
-
@
|
|
149
|
-
@include typography.detail-font;
|
|
150
|
-
|
|
151
|
-
.tna-hgroup & {
|
|
152
|
-
// margin: 0;
|
|
153
|
-
}
|
|
233
|
+
@extend %chip;
|
|
154
234
|
}
|
|
155
235
|
|
|
156
236
|
&__title {
|
|
157
237
|
margin: 0;
|
|
158
238
|
|
|
159
|
-
|
|
239
|
+
display: block;
|
|
160
240
|
|
|
161
|
-
|
|
162
|
-
|
|
241
|
+
@extend %heading;
|
|
242
|
+
// @extend %heading-l;
|
|
243
|
+
}
|
|
163
244
|
|
|
164
|
-
|
|
165
|
-
|
|
245
|
+
&--xl &__title {
|
|
246
|
+
@extend %heading-xl;
|
|
166
247
|
}
|
|
167
248
|
|
|
168
|
-
&--
|
|
169
|
-
|
|
170
|
-
@include typography.relative-font-size(64);
|
|
171
|
-
line-height: 1;
|
|
172
|
-
}
|
|
249
|
+
&--l &__title {
|
|
250
|
+
@extend %heading-l;
|
|
173
251
|
}
|
|
174
252
|
|
|
175
|
-
&--
|
|
176
|
-
|
|
177
|
-
@include typography.relative-font-size(32);
|
|
178
|
-
line-height: 1.2;
|
|
179
|
-
}
|
|
253
|
+
&--m &__title {
|
|
254
|
+
@extend %heading-m;
|
|
180
255
|
}
|
|
181
256
|
|
|
182
|
-
&--
|
|
183
|
-
|
|
184
|
-
@include typography.relative-font-size(20);
|
|
185
|
-
line-height: 1.4;
|
|
186
|
-
}
|
|
257
|
+
&--s &__title {
|
|
258
|
+
@extend %heading-s;
|
|
187
259
|
}
|
|
260
|
+
}
|
|
188
261
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
262
|
+
.tna-heading,
|
|
263
|
+
.tna-hgroup {
|
|
264
|
+
margin-top: 3rem;
|
|
265
|
+
|
|
266
|
+
&:first-child {
|
|
267
|
+
margin-top: 0;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
&:last-child {
|
|
271
|
+
margin-bottom: 0;
|
|
194
272
|
}
|
|
195
273
|
}
|
|
196
274
|
|
|
@@ -198,20 +276,19 @@ a {
|
|
|
198
276
|
margin: 0 0 2rem;
|
|
199
277
|
padding: 1rem 1rem 1rem 2rem;
|
|
200
278
|
|
|
201
|
-
border-
|
|
202
|
-
@include colour.colour-border("keyline");
|
|
279
|
+
@include colour.colour-border("accent-background", 0.35rem, solid, left);
|
|
203
280
|
|
|
204
|
-
quotes: "“" "”" "‘" "’";
|
|
281
|
+
// quotes: "“" "”" "‘" "’";
|
|
205
282
|
|
|
206
283
|
&:last-child {
|
|
207
284
|
margin-bottom: 0;
|
|
208
285
|
}
|
|
209
286
|
|
|
210
|
-
&::before {
|
|
211
|
-
|
|
287
|
+
// &::before {
|
|
288
|
+
// float: left;
|
|
212
289
|
|
|
213
|
-
|
|
214
|
-
}
|
|
290
|
+
// content: open-quote;
|
|
291
|
+
// }
|
|
215
292
|
|
|
216
293
|
&__quote {
|
|
217
294
|
font-weight: 700;
|
|
@@ -229,3 +306,64 @@ a {
|
|
|
229
306
|
}
|
|
230
307
|
}
|
|
231
308
|
}
|
|
309
|
+
|
|
310
|
+
.tna-scene-setter {
|
|
311
|
+
@include typography.detail-font;
|
|
312
|
+
@include colour.colour-font("font-dark");
|
|
313
|
+
@include typography.relative-font-size(30);
|
|
314
|
+
line-height: math.div(50, 30);
|
|
315
|
+
|
|
316
|
+
@include media.on-mobile {
|
|
317
|
+
@include typography.relative-font-size(24);
|
|
318
|
+
line-height: 2;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
a {
|
|
322
|
+
color: inherit;
|
|
323
|
+
text-decoration-thickness: 2px;
|
|
324
|
+
|
|
325
|
+
&:hover {
|
|
326
|
+
text-decoration-thickness: 4.5px;
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.tna-columns {
|
|
332
|
+
column-gap: grid.$gutter-width;
|
|
333
|
+
|
|
334
|
+
&--2 {
|
|
335
|
+
column-count: 2;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
&--3 {
|
|
339
|
+
column-count: 3;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
@include media.on-mobile {
|
|
343
|
+
column-gap: grid.$gutter-width-mobile;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
@include media.on-small {
|
|
347
|
+
@for $i from 1 through 4 {
|
|
348
|
+
&--#{$i}-small {
|
|
349
|
+
column-count: $i;
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
@include media.on-tiny {
|
|
355
|
+
@for $i from 1 through 4 {
|
|
356
|
+
&--#{$i}-tiny {
|
|
357
|
+
column-count: $i;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
&__block {
|
|
363
|
+
break-inside: avoid;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
&:has(&__block:only-of-type) {
|
|
367
|
+
column-count: 1;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
$tna-
|
|
1
|
+
$tna-font-path: "assets/fonts" !default;
|