@nationalarchives/frontend 0.1.20-prerelease → 0.1.21-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/README.md +1 -1
- package/govuk-prototype-kit.config.json +6 -1
- package/nationalarchives/_prototype-kit.scss +16 -0
- package/nationalarchives/all.css +3 -3
- package/nationalarchives/all.css.map +1 -1
- package/nationalarchives/all.js +1 -1
- package/nationalarchives/all.js.map +1 -1
- package/nationalarchives/all.mjs +17 -10
- package/nationalarchives/all.scss +1 -5
- package/nationalarchives/assets/images/favicon.ico +0 -0
- package/nationalarchives/assets/images/mask-icon.svg +17 -5
- package/nationalarchives/assets/images/mstile-150x150.png +0 -0
- package/nationalarchives/components/_index.scss +1 -0
- package/nationalarchives/components/breadcrumbs/breadcrumbs.css +1 -1
- package/nationalarchives/components/breadcrumbs/breadcrumbs.css.map +1 -1
- package/nationalarchives/components/breadcrumbs/breadcrumbs.scss +10 -0
- package/nationalarchives/components/button/button.css +1 -13
- package/nationalarchives/components/button/button.css.map +1 -1
- package/nationalarchives/components/button/button.scss +23 -6
- package/nationalarchives/components/card/card.css +1 -13
- package/nationalarchives/components/card/card.css.map +1 -1
- package/nationalarchives/components/card/card.scss +51 -6
- package/nationalarchives/components/card/card.stories.js +74 -35
- package/nationalarchives/components/card/fixtures.json +39 -15
- package/nationalarchives/components/card/macro-options.json +20 -0
- package/nationalarchives/components/card/template.njk +38 -26
- package/nationalarchives/components/cookie-banner/cookie-banner.css +1 -13
- package/nationalarchives/components/cookie-banner/cookie-banner.css.map +1 -1
- package/nationalarchives/components/cookie-banner/cookie-banner.js +1 -1
- package/nationalarchives/components/cookie-banner/cookie-banner.js.map +1 -1
- package/nationalarchives/components/cookie-banner/cookie-banner.mjs +15 -7
- package/nationalarchives/components/cookie-banner/cookie-banner.scss +9 -1
- package/nationalarchives/components/cookie-banner/cookie-banner.stories.js +23 -10
- package/nationalarchives/components/cookie-banner/macro-options.json +1 -1
- package/nationalarchives/components/cookie-banner/template.njk +4 -4
- package/nationalarchives/components/filters/filters.css +1 -1
- package/nationalarchives/components/filters/filters.css.map +1 -1
- package/nationalarchives/components/filters/filters.scss +1 -1
- package/nationalarchives/components/footer/fixtures.json +1 -1
- package/nationalarchives/components/footer/footer.css +1 -13
- package/nationalarchives/components/footer/footer.css.map +1 -1
- package/nationalarchives/components/footer/footer.scss +2 -8
- package/nationalarchives/components/footer/template.njk +8 -7
- package/nationalarchives/components/gallery/gallery.css +1 -13
- package/nationalarchives/components/gallery/gallery.css.map +1 -1
- package/nationalarchives/components/grid/grid.css +1 -1
- package/nationalarchives/components/grid/grid.css.map +1 -1
- package/nationalarchives/components/grid/grid.scss +15 -11
- package/nationalarchives/components/header/header.css +1 -1
- package/nationalarchives/components/header/header.css.map +1 -1
- package/nationalarchives/components/header/header.scss +10 -24
- package/nationalarchives/components/hero/fixtures.json +85 -6
- package/nationalarchives/components/hero/hero.css +1 -1
- package/nationalarchives/components/hero/hero.css.map +1 -1
- package/nationalarchives/components/hero/hero.scss +177 -63
- package/nationalarchives/components/hero/hero.stories.js +74 -23
- package/nationalarchives/components/hero/macro-options.json +28 -36
- package/nationalarchives/components/hero/template.njk +26 -24
- package/nationalarchives/components/index-grid/index-grid.css +1 -1
- package/nationalarchives/components/index-grid/index-grid.css.map +1 -1
- package/nationalarchives/components/index-grid/template.njk +1 -1
- package/nationalarchives/components/message/message.css +1 -1
- package/nationalarchives/components/message/message.css.map +1 -1
- package/nationalarchives/components/pagination/_index.scss +1 -0
- package/nationalarchives/components/pagination/fixtures.json +4 -0
- package/nationalarchives/components/pagination/macro-options.json +116 -0
- package/nationalarchives/components/pagination/macro.njk +3 -0
- package/nationalarchives/components/pagination/pagination.css +1 -0
- package/nationalarchives/components/pagination/pagination.css.map +1 -0
- package/nationalarchives/components/pagination/pagination.scss +79 -0
- package/nationalarchives/components/pagination/pagination.stories.js +73 -0
- package/nationalarchives/components/pagination/template.njk +38 -0
- package/nationalarchives/components/phase-banner/phase-banner.css +1 -1
- package/nationalarchives/components/phase-banner/phase-banner.css.map +1 -1
- package/nationalarchives/components/picture/picture.css +1 -13
- package/nationalarchives/components/picture/picture.css.map +1 -1
- package/nationalarchives/components/picture/picture.stories.js +2 -2
- package/nationalarchives/components/profile/profile.css +1 -1
- package/nationalarchives/components/profile/profile.css.map +1 -1
- package/nationalarchives/components/sensitive-image/sensitive-image.css +1 -1
- package/nationalarchives/components/sensitive-image/sensitive-image.css.map +1 -1
- package/nationalarchives/components/skip-link/fixtures.json +1 -1
- package/nationalarchives/components/skip-link/skip-link.css +1 -1
- package/nationalarchives/components/skip-link/skip-link.css.map +1 -1
- package/nationalarchives/components/skip-link/skip-link.js +2 -0
- package/nationalarchives/components/skip-link/skip-link.js.map +1 -0
- package/nationalarchives/components/skip-link/skip-link.mjs +40 -0
- package/nationalarchives/components/skip-link/skip-link.scss +18 -16
- package/nationalarchives/components/skip-link/skip-link.stories.js +48 -6
- package/nationalarchives/components/skip-link/template.njk +1 -1
- package/nationalarchives/components/tabs/tabs.css +1 -1
- package/nationalarchives/components/tabs/tabs.css.map +1 -1
- package/nationalarchives/components/tabs/tabs.js +1 -1
- package/nationalarchives/components/tabs/tabs.js.map +1 -1
- package/nationalarchives/components/tabs/tabs.mjs +6 -2
- package/nationalarchives/components/tabs/tabs.scss +16 -1
- package/nationalarchives/lib/_font-awesome.scss +3 -2
- package/nationalarchives/lib/cookies.mjs +122 -50
- package/nationalarchives/stories/development/contributing.mdx +0 -10
- package/nationalarchives/stories/development/cookies.mdx +82 -0
- package/nationalarchives/stories/development/structure.mdx +88 -0
- package/nationalarchives/stories/development/using/compiled.mdx +9 -0
- package/nationalarchives/stories/development/using/hosted.mdx +53 -0
- package/nationalarchives/stories/development/using/npm.mdx +59 -0
- package/nationalarchives/stories/utilities/colour-schemes/colour-schemes.stories.js +284 -29
- package/nationalarchives/stories/utilities/typography/headings.stories.js +4 -1
- package/nationalarchives/stories/utilities/typography/lists.stories.js +93 -0
- package/nationalarchives/stories/utilities/typography/typography.mdx +11 -1
- package/nationalarchives/stories/utilities/typography/typography.stories.js +1 -1
- package/nationalarchives/templates/homepage.njk +11 -58
- package/nationalarchives/templates/layouts/_generic.njk +33 -14
- package/nationalarchives/templates/layouts/_prototype-kit.njk +11 -1
- package/nationalarchives/templates/search-results.njk +10 -14
- package/nationalarchives/templates/topics.njk +18 -22
- package/nationalarchives/tools/_colour.scss +42 -18
- package/nationalarchives/tools/_media.scss +6 -0
- package/nationalarchives/tools/_typography.scss +4 -2
- package/nationalarchives/utilities/_a11y.scss +15 -0
- package/nationalarchives/utilities/_debug.scss +1 -1
- package/nationalarchives/utilities/_global.scss +23 -25
- package/nationalarchives/utilities/_typography.scss +204 -27
- package/nationalarchives/variables/_assets.scss +2 -1
- package/nationalarchives/variables/_colour.scss +94 -73
- package/nationalarchives/variables/_features.scss +1 -0
- package/nationalarchives/variables/_grid.scss +5 -5
- package/nationalarchives/variables/_index.scss +1 -0
- package/nationalarchives/variables/_media.scss +29 -29
- package/nationalarchives/variables/_typography.scss +15 -12
- package/package.json +1 -1
- package/nationalarchives/_features.scss +0 -1
- package/nationalarchives/assets/images/tna-horizontal-logo-inverted.svg +0 -51
- package/nationalarchives/assets/images/tna-horizontal-logo.svg +0 -51
- package/nationalarchives/stories/development/relationships.mdx +0 -57
- package/nationalarchives/stories/development/using.mdx +0 -75
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../src/nationalarchives/utilities/_typography.scss","../../../../src/nationalarchives/tools/_colour.scss","../../../../src/nationalarchives/utilities/_a11y.scss","../../../../src/nationalarchives/tools/_spacing.scss","../../../../src/nationalarchives/utilities/_global.scss","../../../../src/nationalarchives/tools/_media.scss","../../../../src/nationalarchives/utilities/_overrides.scss","../../../../src/nationalarchives/tools/_typography.scss","../../../../src/nationalarchives/variables/_typography.scss","../../../../src/nationalarchives/variables/_grid.scss","../../../../src/nationalarchives/components/grid/grid.scss","../../../../src/nationalarchives/tools/_grid.scss","../../../../src/nationalarchives/components/header/header.scss","../../../../src/nationalarchives/variables/_colour.scss"],"names":[],"mappings":"CAQQ,6CC+JR,sCACE,uCACA,uCACA,yCACA,6BACA,6CACA,mCACA,6CACA,2CACA,uDACA,uDACA,mEAhFA,yBAEA,4CAPA,4BACA,uBAuHF,0DACE,qCACA,qCACA,uCACA,2BACA,2CACA,iCACA,2CA1HA,sBAEA,0CAPA,4BACA,uBAiJF,8BA7IE,yBAEA,gDA8IA,qBACA,kBACA,oCACA,aACA,wBACA,gBACA,wBACA,oBACA,0BAIA,0BAIA,gCClQF,qBACE,qBACA,sBACA,oBACA,qBAEA,6BACA,uBACA,wBACA,sBAEA,2BAEA,iCAEA,oBAEA,0CAEA,yDAEE,YClBJ,4EACE,mBAEA,8IACE,gBCDJ,MHKI,olCGDJ,cACE,gBACA,WACA,YAEA,kBACA,gBACA,iCAEA,eH+EA,yBAEA,wCG7EA,2BHwBE,oCACA,oCACA,yDACA,+BACA,uCACA,sDACA,2DG5BF,4BHdE,olCGiBA,mCAHF,4BHRE,snCGeA,+BAPF,4BHFE,8/BGYE,8BACE,kCAIJ,+DAfF,4BHIE,kjCGgBF,2BHlCE,olCGsCF,0BHhCE,qnCGoCF,mCH9BE,8/BGiCA,qCACE,iCAGF,4DH/BA,ijCG0CF,6BHpCE,0BACA,qCACA,8CACA,oCACA,oCACA,mDACA,+BACA,uCACA,gDACA,qDACA,4CG8BF,2BH5BE,oCACA,oCACA,yDACA,+BACA,uCACA,sDACA,2DASE,sCAEE,6BACA,wCACA,8CACA,+CGYN,6BHhCE,oCACA,oCACA,yDACA,+BACA,uCACA,sDACA,2DASE,sCAOE,6BACA,wCACA,8CACA,+CGWN,4BHpCE,oCACA,oCACA,yDACA,+BACA,uCACA,sDACA,2DASE,sCAYE,6BACA,wCACA,8CACA,+CGUN,2BHxCE,oCACA,oCACA,yDACA,+BACA,uCACA,sDACA,2DASE,sCAiBE,6BACA,wCACA,8CACA,+CGSN,+BACE,gBACE,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A,UAFF,uBACE,UACA,UAFF,uBACE,qBACA,UAFF,wBACE,qBACA,UAFF,uBACE,UACA,UAFF,wBACE,qBACA,UAFF,uBACE,qBACA,UAFF,uBACE,UACA,UAFF,uBACE,qBACA,UAFF,yBACE,qBACA,UAgCN,oBACE,WAEA,SAHF,oBACE,WAEA,SAHF,oBACE,WAEA,SAKF,qBACE,MAFS,EACX,qBACE,MAFS,EACX,qBACE,MAFS,EACX,qBACE,MAFS,ENvCf,kDMdE,yBACE,WACA,UAUI,8BACE,qBACA,UAFF,8BACE,qBACA,UAFF,8BACE,UACA,UAFF,8BACE,qBACA,UAFF,8BACE,qBACA,UAgCN,2BACE,WAEA,SAHF,2BACE,WAEA,SAHF,2BACE,WAEA,SAKF,4BACE,MAFS,EACX,4BACE,MAFS,EACX,4BACE,MAFS,EACX,4BACE,MAFS,GNHf,wBKNA,eACE,qBACA,oBAGF,YACE,qBACA,qBL/BF,kDMpBE,wBACE,WACA,UAUI,6BACE,UACA,UAFF,6BACE,UACA,UAFF,6BACE,UACA,UAgCN,0BACE,WAEA,SAHF,0BACE,WAEA,SAHF,0BACE,WAEA,SAKF,2BACE,MAFS,EACX,2BACE,MAFS,EACX,2BACE,MAFS,EACX,2BACE,MAFS,GN3Bf,wBM1BE,uBACE,WACA,UAUI,4BACE,UACA,UAgCN,yBACE,WAEA,SAHF,yBACE,WAEA,SAHF,yBACE,WAEA,SAKF,0BACE,MAFS,EACX,0BACE,MAFS,EACX,0BACE,MAFS,EACX,0BACE,MAFS,GDUjB,uNAME,gBACA,eEjCF,YAGE,WAEA,sBAEA,kBACE,kBACA,qBAEA,iBAEA,iBChCQ,QDmCV,uBACE,qBL3DF,eK8DE,kFAGE,WAGF,6BACE,0BAiBJ,4BACE,cACA,eACA,qBACA,kBAEA,qBAEA,kBAEA,sBAEA,0BAEA,oCACE,kBACA,aACA,eACA,UAEA,kCACA,sBACA,wBAEA,WAGF,mCACE,aACA,eAEA,kBACA,cACA,gBACA,UAEA,sBAEA,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A,cAGF,4BACE,iBAIA,0CACE,cH/dc,OGged,eAIJ,wBX5dA,olCAkFF,cACA,uBM1FA,kBKweI,oBACA,sBAheJ,oDXFE,qlCWKA,wDAHF,oDXIE,snCWGA,oDAPF,oDXUE,+/BWCA,oFAXF,oDXgBE,kjCI8BF,wBO9BA,mDXlBE,olCWsBF,kDXhBE,qnCWoBF,2DXdE,8/BWkBF,oFXZE,ijCWkdE,mCACE,gBACA,eAGF,kDACE,aAEA,wDACE,aAKN,kCACE,mBX5ZJ,yBAEA,wCAaI,6BAIA,uCWkZF,iCACE,SACA,cAMF,8BACE,WX9aJ,yBAEA,wCWibE,6BACE,SAEA,cXvaA,6BAIA,uCWwaF,kCACE,cH3hBgB,OG4hBhB,oBAEA,cAEA,kBAEA,yBAEA,yCACE,QAEA,kBACA,MACA,SACA,OX3cN,sBAEA,kCW+cM,WAIA,+CACE,aAOF,4GAEE,aP9hBR,wBOqiBE,sBACE,aACA,cAGF,4BACE","file":"header.css","sourcesContent":["@use \"sass:math\";\n@use \"../tools/colour\";\n@use \"../tools/media\";\n@use \"../tools/spacing\";\n@use \"../tools/typography\";\n@use \"../variables/assets\";\n@use \"../variables/grid\";\n\n@import \"https://use.typekit.net/hkj3kuz.css\";\n\n@font-face {\n font-family: \"Open Sans\";\n src: url(\"#{assets.$tna-font-path}/OpenSans-Medium.ttf\");\n font-weight: normal;\n font-style: normal;\n}\n\n@font-face {\n font-family: \"Open Sans\";\n src: url(\"#{assets.$tna-font-path}/OpenSans-Bold.ttf\");\n font-weight: bold;\n font-style: normal;\n}\n\n@font-face {\n font-family: \"Roboto Mono\";\n src: url(\"#{assets.$tna-font-path}/RobotoMono-Regular.ttf\");\n font-weight: normal;\n font-style: normal;\n}\n\n.tna-template {\n @include colour.colour-font(\"font-base\");\n @include typography.main-font;\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility;\n -webkit-text-size-adjust: none;\n direction: ltr;\n}\n\n.tna-template__body {\n color: inherit;\n @include typography.relative-font-size(18);\n // line-height: 1.6;\n line-height: #{math.div(16, 18) * 2};\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nul,\nol {\n margin-top: 0;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nstrong {\n @include typography.main-font-weight-bold;\n}\n\np {\n margin: 0 0 1.5rem;\n\n @include media.on-tiny {\n margin-bottom: 1rem;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n}\n\na {\n @include colour.colour-font(\"link\");\n text-decoration-thickness: 1.5px;\n\n &:visited {\n @include colour.colour-font(\"link-visited\");\n }\n\n &:hover,\n &:active {\n @include typography.interacted-text-decoration;\n }\n\n &.tna-chip {\n text-decoration: none;\n\n &,\n &:link,\n &:visited {\n @include colour.colour-font(\"font-dark\");\n }\n\n &:hover {\n @include typography.interacted-text-decoration;\n }\n }\n}\n\n.tna-ul,\n.tna-ol {\n margin-top: 0;\n margin-right: 0;\n margin-left: 0;\n padding: 0 0 0 2rem;\n\n @include spacing.space-below;\n\n li::marker {\n @include colour.colour-font(\"accent-background\");\n font-weight: 700;\n }\n\n &--plain {\n padding-left: 0;\n\n list-style: none;\n }\n}\n\n%chip {\n max-width: max-content;\n padding: 0.375em 0.5rem;\n\n display: block;\n\n @include colour.colour-font(\"font-dark\");\n @include typography.detail-font-small;\n line-height: 1;\n\n @include colour.accent;\n}\n\n.tna-chip {\n @extend %chip;\n}\n\n.tna-chip-list {\n padding-left: 0;\n\n display: flex;\n flex-wrap: wrap;\n gap: 1rem;\n\n list-style: none;\n\n @include spacing.space-below;\n\n &__item {\n }\n}\n\n%heading {\n @include colour.colour-font(\"font-dark\");\n @include typography.heading-font;\n\n a {\n display: inline-block;\n\n &::after {\n padding-left: 0.25rem;\n\n display: inline-block;\n\n font-weight: 700;\n\n content: \"\\203A\";\n }\n\n &:hover {\n &::after {\n padding-left: 0.5rem;\n }\n }\n }\n}\n\n%heading-xl {\n @include typography.relative-font-size(64);\n line-height: 1.2;\n\n @include media.on-medium {\n // @include typography.relative-font-size(42);\n @include typography.relative-font-size(50);\n }\n\n @include media.on-mobile {\n @include typography.relative-font-size(36);\n }\n}\n\n%heading-l {\n @include typography.relative-font-size(32);\n line-height: 1.4;\n\n @include media.on-medium {\n // @include typography.relative-font-size(26);\n @include typography.relative-font-size(28);\n }\n\n @include media.on-mobile {\n @include typography.relative-font-size(24);\n }\n}\n\n%heading-m {\n @include typography.relative-font-size(20);\n line-height: 1.6;\n}\n\n%heading-s {\n @include typography.relative-font-size(18);\n line-height: 1.6;\n}\n\n.tna-heading {\n @extend %heading;\n\n &--xl {\n @extend %heading-xl;\n }\n\n &--l {\n @extend %heading-l;\n }\n\n &--m {\n @extend %heading-m;\n }\n\n &--s {\n @extend %heading-s;\n }\n}\n\n.tna-hgroup {\n &__supertitle {\n margin: 0 0 0.5rem;\n\n @extend %chip;\n }\n\n &__title {\n margin: 0;\n\n display: block;\n\n @extend %heading;\n }\n\n &--xl &__title {\n @extend %heading-xl;\n }\n\n &--l &__title {\n @extend %heading-l;\n }\n\n &--m &__title {\n @extend %heading-m;\n }\n\n &--s &__title {\n @extend %heading-s;\n }\n}\n\n.tna-heading,\n.tna-hgroup {\n margin-top: 3rem;\n margin-bottom: 1rem;\n\n &:first-child {\n margin-top: 0;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n}\n\n.tna-blockquote {\n margin-top: 0;\n margin-right: 0;\n margin-left: 0;\n padding: 1rem 1rem 1rem 2rem;\n\n @include colour.colour-border(\"accent-background\", 0.35rem, solid, left);\n\n @include spacing.space-below;\n\n &__quote {\n font-weight: 700;\n }\n\n &__author {\n font-style: italic;\n\n .tna-blockquote & {\n margin: 1rem 0 0;\n }\n\n &::before {\n content: \"\\2014\" \" \";\n }\n }\n}\n\n.tna-scene-setter {\n @include typography.detail-font;\n @include colour.colour-font(\"font-dark\");\n @include typography.relative-font-size(30);\n line-height: math.div(50, 30);\n\n @include spacing.space-below;\n\n @include media.on-mobile {\n @include typography.relative-font-size(24);\n line-height: 2;\n }\n\n a {\n color: inherit;\n text-decoration-thickness: 2px;\n\n &:hover {\n text-decoration-thickness: 4.5px;\n }\n }\n}\n\n.tna-columns {\n column-gap: grid.$gutter-width;\n\n &--2 {\n column-count: 2;\n }\n\n &--3 {\n column-count: 3;\n }\n\n @include media.on-mobile {\n column-gap: grid.$gutter-width-mobile;\n }\n\n @include media.on-small {\n @for $i from 1 through 4 {\n &--#{$i}-small {\n column-count: $i;\n }\n }\n }\n\n @include media.on-tiny {\n @for $i from 1 through 4 {\n &--#{$i}-tiny {\n column-count: $i;\n }\n }\n }\n\n &__block {\n break-inside: avoid;\n }\n\n &:has(&__block:only-of-type) {\n column-count: 1;\n }\n}\n","@use \"sass:map\";\n@use \"../features\";\n@use \"../variables/colour\";\n@use \"../tools/media\";\n\n@function brand-colour($colour) {\n @return map.get(colour.$colour-palette-brand, $colour);\n}\n\n@mixin colour-css-vars() {\n @each $name, $value in colour.$colour-palette-default {\n --#{$name}: #{$value};\n }\n}\n\n@mixin colour-css-vars-dark() {\n @each $name, $value in colour.$colour-palette-dark {\n --#{$name}: #{$value};\n }\n}\n\n@mixin colour-css-vars-high-contrast() {\n @each $name, $value in colour.$colour-palette-high-contrast {\n --#{$name}: #{$value};\n }\n}\n\n@mixin colour-css-vars-high-contrast-dark() {\n @each $name, $value in colour.$colour-palette-high-contrast-dark {\n --#{$name}: #{$value};\n }\n}\n\n@mixin accent-css-vars($colour) {\n @if $colour == \"yellow\" {\n --accent: #{brand-colour(\"yellow\")} !important;\n --accent-background: #{brand-colour(\"yellow\")} !important;\n --accent-background-light: #{brand-colour(\"cream\")} !important;\n --accent-font-base: #{brand-colour(\"black\")} !important;\n --accent-font-dark: #{brand-colour(\"black\")} !important;\n --accent-font-light: #{rgba(brand-colour(\"black\"), 0.7)} !important;\n --accent-link: #{brand-colour(\"black\")} !important;\n --accent-link-visited: #{brand-colour(\"black\")} !important;\n --accent-keyline: #{rgba(brand-colour(\"black\"), 0.5)} !important;\n --accent-keyline-dark: #{rgba(brand-colour(\"black\"), 0.8)} !important;\n --button-accent-background: #{brand-colour(\"yellow\")} !important;\n } @else {\n --accent-font-base: #{brand-colour(\"white\")} !important;\n --accent-font-dark: #{brand-colour(\"white\")} !important;\n --accent-font-light: #{rgba(brand-colour(\"white\"), 0.7)} !important;\n --accent-link: #{brand-colour(\"white\")} !important;\n --accent-link-visited: #{brand-colour(\"white\")} !important;\n --accent-keyline: #{rgba(brand-colour(\"white\"), 0.5)} !important;\n --accent-keyline-dark: #{rgba(brand-colour(\"white\"), 0.8)} !important;\n\n @if $colour == \"black\" {\n // --accent: #{brand-colour(\"light-grey\")} !important;\n // --accent-background: #{brand-colour(\"black\")} !important;\n // --accent-background-light: #{brand-colour(\"light-grey\")} !important;\n // --button-accent-text: #{brand-colour(\"black\")} !important;\n // --button-accent-background: #{brand-colour(\"grey\")} !important;\n } @else {\n --button-accent-text: #{brand-colour(\"white\")} !important;\n @if $colour == \"pink\" {\n --accent: #{brand-colour(\"pink\")} !important;\n --accent-background: #{brand-colour(\"maroon\")} !important;\n --accent-background-light: #{brand-colour(\"pastel-pink\")} !important;\n --button-accent-background: #{brand-colour(\"maroon\")} !important;\n } @else if $colour == \"orange\" {\n --accent: #{brand-colour(\"orange\")} !important;\n --accent-background: #{brand-colour(\"chestnut\")} !important;\n --accent-background-light: #{brand-colour(\"pastel-orange\")} !important;\n --button-accent-background: #{brand-colour(\"chestnut\")} !important;\n } @else if $colour == \"green\" {\n --accent: #{brand-colour(\"green\")} !important;\n --accent-background: #{brand-colour(\"forest\")} !important;\n --accent-background-light: #{brand-colour(\"pastel-green\")} !important;\n --button-accent-background: #{brand-colour(\"forest\")} !important;\n } @else if $colour == \"blue\" {\n --accent: #{brand-colour(\"blue\")} !important;\n --accent-background: #{brand-colour(\"navy\")} !important;\n --accent-background-light: #{brand-colour(\"pastel-blue\")} !important;\n --button-accent-background: #{brand-colour(\"navy\")} !important;\n }\n }\n }\n}\n\n@mixin colour-font(\n $colour,\n $important: false,\n $default-palette: colour.$colour-palette-default\n) {\n color: map.get($default-palette, $colour) if($important, !important, null);\n color: var(--#{$colour}) if($important, !important, null);\n}\n\n@mixin colour-background($colour, $important: false) {\n background-color: map.get(colour.$colour-palette-default, $colour)\n if($important, !important, null);\n background-color: var(--#{$colour}) if($important, !important, null);\n}\n\n@mixin colour-border(\n $colour,\n $width: \"\",\n $style: solid,\n $direction: \"\",\n $important: false\n) {\n @if $direction != \"\" {\n @if $width != \"\" {\n $property: border-#{$direction};\n border-#{$direction}: $width\n map.get(colour.$colour-palette-default, $colour)\n $style\n if($important, !important, null);\n border-#{$direction}: $width\n var(--#{$colour})\n $style\n if($important, !important, null);\n } @else {\n border-#{$direction}-color: map.get(\n colour.$colour-palette-default,\n $colour\n )\n if($important, !important, null);\n border-#{$direction}-color: var(--#{$colour})\n if($important, !important, null);\n }\n } @else {\n @if $width != \"\" {\n border: $width\n map.get(colour.$colour-palette-default, $colour)\n $style\n if($important, !important, null);\n border: $width var(--#{$colour}) $style if($important, !important, null);\n } @else {\n border-color: map.get(colour.$colour-palette-default, $colour)\n if($important, !important, null);\n border-color: var(--#{$colour}) if($important, !important, null);\n }\n }\n}\n\n@mixin colour-outline($colour, $important: false) {\n outline-color: map.get(colour.$colour-palette-default, $colour)\n if($important, !important, null);\n outline-color: var(--#{$colour}) if($important, !important, null);\n}\n\n@mixin colour-fill($colour, $important: false) {\n fill: map.get(colour.$colour-palette-default, $colour)\n if($important, !important, null);\n fill: var(--#{$colour}) if($important, !important, null);\n}\n\n%fixed {\n @include colour-css-vars;\n\n @include colour-font(\"font-base\");\n}\n\n@mixin fixed {\n @extend %fixed;\n}\n\n%invert {\n --font-base: var(--contrast-font-base);\n --font-dark: var(--contrast-font-dark);\n --font-light: var(--contrast-font-light);\n --link: var(--contrast-link);\n --link-visited: var(--contrast-link-visited);\n --keyline: var(--contrast-keyline);\n --keyline-dark: var(--contrast-keyline-dark);\n --button-text: var(--contrast-button-text);\n --button-background: var(--contrast-button-background);\n --button-hover-text: var(--contrast-button-hover-text);\n --button-hover-background: var(--contrast-button-hover-background);\n\n @include colour-background(\"contrast-background\");\n\n @include colour-font(\"font-base\", false, colour.$colour-palette-dark);\n}\n\n@mixin invert {\n @extend %invert;\n}\n\n%invert-on-mobile {\n @include media.on-mobile {\n --font-base: var(--contrast-font-base);\n --font-dark: var(--contrast-font-dark);\n --font-light: var(--contrast-font-light);\n --link: var(--contrast-link);\n --link-visited: var(--contrast-link-visited);\n --keyline: var(--contrast-keyline);\n --keyline-dark: var(--contrast-keyline-dark);\n --button-text: var(--contrast-button-text);\n --button-background: var(--contrast-button-background);\n --button-hover-text: var(--contrast-button-hover-text);\n --button-hover-background: var(--contrast-button-hover-background);\n\n @include colour-background(\"contrast-background\");\n\n @include colour-font(\"font-base\", false, colour.$colour-palette-dark);\n }\n}\n\n@mixin invert-on-mobile {\n @extend %invert-on-mobile;\n}\n\n%accent {\n --font-base: var(--accent-font-base);\n --font-dark: var(--accent-font-dark);\n --font-light: var(--accent-font-light);\n --link: var(--accent-link);\n --link-visited: var(--accent-link-visited);\n --keyline: var(--accent-keyline);\n --keyline-dark: var(--accent-keyline-dark);\n\n @include colour-background(\"accent-background\");\n\n @include colour-font(\"font-base\", false, colour.$colour-palette-dark);\n}\n\n@mixin accent {\n @extend %accent;\n}\n\n%accent-background {\n @include colour-background(\"accent-background\");\n}\n\n@mixin accent-background {\n @extend %accent-background;\n}\n\n%light-accent-background {\n @include colour-background(\"accent-background-light\");\n\n --font-base: #{map.get(colour.$colour-palette-default, \"font-base\")};\n --font-dark: #{map.get(colour.$colour-palette-default, \"font-dark\")};\n --font-light: #{map.get(colour.$colour-palette-default, \"font-light\")};\n --link: #{map.get(colour.$colour-palette-default, \"font-dark\")};\n --link-visited: #{map.get(colour.$colour-palette-default, \"link-visited\")};\n --keyline: #{map.get(colour.$colour-palette-default, \"keyline\")};\n --keyline-dark: #{map.get(colour.$colour-palette-default, \"keyline-dark\")};\n --button-text: #{map.get(colour.$colour-palette-default, \"button-text\")};\n --button-background: #{map.get(\n colour.$colour-palette-default,\n \"button-background\"\n )};\n --button-hover-text: #{map.get(\n colour.$colour-palette-default,\n \"button-hover-text\"\n )};\n --button-hover-background: #{map.get(\n colour.$colour-palette-default,\n \"button-hover-background\"\n )};\n}\n\n@mixin light-accent-background {\n @extend %light-accent-background;\n}\n\n@mixin on-high-contrast {\n .tna-template--high-contrast-theme & {\n @content;\n }\n\n .tna-template--system-theme & {\n @media (prefers-contrast: more) {\n @content;\n }\n }\n}\n",".tna-visually-hidden {\n width: 1px !important;\n height: 1px !important;\n margin: 0 !important;\n padding: 0 !important;\n\n position: absolute !important;\n top: -9999px !important;\n left: -9999px !important;\n z-index: -1 !important;\n\n overflow: hidden !important;\n\n clip: rect(0, 0, 0, 0) !important;\n\n border: 0 !important;\n\n background-color: transparent !important;\n\n &::before,\n &::after {\n content: \"\\00a0\";\n }\n}\n","@use \"sass:map\";\n@use \"../variables/spacing\";\n\n%space-below {\n margin-bottom: 2rem;\n\n &:last-child {\n margin-bottom: 0;\n }\n}\n\n@mixin space-below {\n @extend %space-below;\n}\n\n@function spacing($size) {\n @return map.get(spacing.$spacing, $size);\n}\n\n@function spacing-mobile($size) {\n @return map.get(spacing.$spacing-mobile, $size);\n}\n","@use \"../features\";\n@use \"../tools/colour\";\n@use \"../tools/media\";\n@use \"../tools/spacing\";\n@use \"../variables/typography\";\n\n:root {\n @include colour.colour-css-vars;\n}\n\n.tna-template {\n min-width: 320px;\n width: 100%;\n height: 100%;\n\n overflow-x: hidden;\n overflow-y: auto;\n -webkit-overflow-scrolling: touch;\n\n font-size: #{typography.$base-font-size-px}px;\n\n @include colour.colour-background(\"page-background\");\n\n accent-color: var(--accent);\n\n &--system-theme {\n @include colour.colour-css-vars;\n\n @media (prefers-color-scheme: dark) {\n @include colour.colour-css-vars-dark;\n }\n\n @media (prefers-contrast: more) {\n @include colour.colour-css-vars-high-contrast;\n\n * {\n background-image: none !important;\n }\n }\n\n @media (prefers-contrast: more) and (prefers-color-scheme: dark) {\n @include colour.colour-css-vars-high-contrast-dark;\n }\n }\n\n &--light-theme {\n @include colour.colour-css-vars;\n }\n\n &--dark-theme {\n @include colour.colour-css-vars-dark;\n }\n\n &--high-contrast-theme {\n @include colour.colour-css-vars-high-contrast;\n\n * {\n background-image: none !important;\n }\n\n &.tna-template--dark-theme {\n @include colour.colour-css-vars-high-contrast-dark;\n }\n }\n\n @include colour.accent-css-vars(\"black\"); // TODO: Temp\n\n // &--black-accent {\n // @include colour.accent-css-vars(\"black\");\n // }\n\n &--yellow-accent {\n @include colour.accent-css-vars(\"yellow\");\n }\n\n &--pink-accent {\n @include colour.accent-css-vars(\"pink\");\n }\n\n &--orange-accent {\n @include colour.accent-css-vars(\"orange\");\n }\n\n &--green-accent {\n @include colour.accent-css-vars(\"green\");\n }\n\n &--blue-accent {\n @include colour.accent-css-vars(\"blue\");\n }\n\n @media (prefers-reduced-motion) {\n * {\n animation: none !important;\n transition: none !important;\n }\n }\n}\n\n.tna-template__body {\n min-height: 100%;\n margin: 0;\n padding: 0;\n\n overflow: auto;\n\n &:has(.tna-header):has(#main-content[role=\"main\"]):has(.tna-footer) {\n display: flex;\n flex-direction: column;\n\n #main-content[role=\"main\"] {\n flex: 1;\n }\n }\n}\n\nimg,\nsvg,\npicture,\nvideo,\ncanvas {\n max-width: 100%;\n\n display: block;\n}\n\nvideo,\ncanvas {\n width: 100%;\n}\n\n[hidden] {\n display: none;\n}\n\n*:focus {\n // outline: 0.3125rem colour.$focus-colour solid;\n outline: 0.3125rem solid;\n @include colour.colour-outline(\"focus-outline\");\n outline-offset: 0.125rem;\n}\n\nhr {\n margin: 2rem 0;\n\n border-width: 1px 0 0;\n @include colour.colour-border(\"keyline\");\n border-style: solid;\n\n // @include colour.on-high-contrast {\n // border-style: solid;\n // }\n}\n\n.tna-section {\n padding-top: 3rem;\n padding-bottom: 3rem;\n\n @include media.on-mobile {\n padding-top: 2rem;\n padding-bottom: 2rem;\n }\n}\n\n.tna-aside {\n padding: 2rem;\n\n @include spacing.space-below;\n\n @include media.on-mobile {\n padding: 1rem;\n }\n\n @include colour.on-high-contrast {\n @include colour.colour-border(\"keyline-dark\", 1px);\n }\n}\n\n.tna-background--contrast {\n @include colour.invert;\n}\n\n.tna-background--accent {\n @include colour.accent;\n}\n\n.tna-background--accent-light {\n @include colour.light-accent-background;\n}\n","@use \"../variables/media\";\n\n// 0 ======= 320 = 480 ===== 768 == 1024 ========================== min-width/max-width (px)\n// | . | | |\n// |-TINY----------|-SMALL---|-MED--|-LARGE------------------------\n// | . | | |\n// |<------------->| | | on-tiny\n// |<----------------------->| | on-mobile\n// |<------------------------------>| on-smaller-than-large\n// | . |<------->| | on-small\n// | . |<------------------------- on-larger-than-tiny\n// | . | |<---->| on-medium\n// | . | |<--------------- on-larger-than-mobile\n// | . | | |<-------- on-large\n// |<------->. | | | Smallest device\n\n@mixin on-large() {\n @media #{media.$media-large} {\n @content;\n }\n}\n\n@mixin on-medium() {\n @media #{media.$media-medium} {\n @content;\n }\n}\n\n@mixin on-small() {\n @media #{media.$media-small} {\n @content;\n }\n}\n\n@mixin on-tiny() {\n @media #{media.$media-tiny} {\n @content;\n }\n}\n\n@mixin on-larger-than-mobile() {\n @media #{media.$media-gt-mobile} {\n @content;\n }\n}\n\n@mixin on-larger-than-tiny() {\n @media #{media.$media-gt-tiny} {\n @content;\n }\n}\n\n@mixin on-smaller-than-large() {\n @media #{media.$media-lt-large} {\n @content;\n }\n}\n\n@mixin on-mobile() {\n @media #{media.$media-mobile} {\n @content;\n }\n}\n","@use \"../variables/spacing\";\n@use \"../tools/media\";\n\n@mixin no-spacing-generator($suffix: \"\") {\n @if $suffix != \"\" {\n $suffix: \"-\" + $suffix;\n }\n\n @each $property in margin, padding {\n @each $direction in top, bottom {\n .tna-\\!--no-#{$property}-#{$direction}#{$suffix},\n .tna-\\!--no-#{$property}-vertical#{$suffix} {\n #{$property}-#{$direction}: 0 !important;\n }\n }\n }\n}\n\n@mixin overrides($spacing, $suffix: \"\") {\n @if $suffix != \"\" {\n $suffix: \"-\" + $suffix;\n }\n\n @each $property in margin, padding {\n @each $direction in top, bottom {\n @each $size, $amount in $spacing {\n .tna-\\!--#{$property}-#{$direction}-#{$size}#{$suffix},\n .tna-\\!--#{$property}-vertical-#{$size}#{$suffix} {\n #{$property}-#{$direction}: #{$amount} !important;\n }\n }\n }\n }\n}\n\n@include no-spacing-generator;\n@include overrides(spacing.$spacing);\n\n@include media.on-medium {\n @include no-spacing-generator(\"medium\");\n @include overrides(spacing.$spacing, \"medium\");\n}\n\n@include media.on-small {\n @include no-spacing-generator(\"small\");\n @include overrides(spacing.$spacing-mobile, \"small\");\n}\n\n@include media.on-tiny {\n @include no-spacing-generator(\"tiny\");\n @include overrides(spacing.$spacing-mobile, \"tiny\");\n}\n","@use \"sass:math\";\n@use \"../variables/typography\";\n\n@mixin relative-font-size($fontSizePx) {\n font-size: #{math.div($fontSizePx, typography.$base-font-size-px)}rem;\n}\n\n@mixin interacted-text-decoration {\n text-decoration: underline;\n text-decoration-thickness: typography.$interactive-text-decoration-thickness;\n}\n\n@mixin main-font-weight {\n font-weight: typography.$font-weight-main;\n}\n\n@mixin main-font-weight-bold {\n font-weight: typography.$font-weight-main-bold;\n}\n\n@mixin main-font {\n font-family: typography.$font-family-main;\n @include main-font-weight;\n}\n\n@mixin heading-font {\n font-family: typography.$font-family-heading;\n font-weight: typography.$font-weight-heading;\n}\n\n@mixin detail-font {\n font-family: typography.$font-family-detail;\n font-weight: typography.$font-weight-detail;\n}\n\n@mixin detail-font-small {\n @include detail-font;\n @include relative-font-size(14);\n text-transform: uppercase;\n line-height: #{math.div(typography.$base-font-size-px, 14)};\n // line-height: 1;\n}\n","$base-font-size-px: 16;\n\n$interactive-text-decoration-thickness: 3.5px;\n\n$font-family-main: \"Open Sans\", serif;\n// $font-weight-main: 500;\n$font-weight-main: normal;\n// $font-weight-main-bold: 700;\n$font-weight-main-bold: bold;\n\n$font-family-heading: supria-sans-condensed, \"Arial Narrow\", sans-serif;\n$font-weight-heading: 400;\n\n$font-family-detail: \"Roboto Mono\", monospace;\n// $font-weight-detail: 400;\n$font-weight-detail: normal;\n","$largest-container-width: 75.25rem !default;\n\n$gutter-width: 2rem !default;\n$gutter-width-mobile: 1.5rem !default;\n\n$column-count: 12 !default;\n$column-count-medium: 6 !default;\n$column-count-small: 4 !default;\n$column-count-tiny: 2 !default;\n","@use \"sass:math\";\n@use \"../../variables/grid\";\n@use \"../../tools/media\";\n@use \"../../tools/grid\" as tools;\n@use \"../../utilities\";\n\n.tna-container {\n max-width: grid.$largest-container-width;\n width: 100%;\n margin-right: auto;\n margin-left: auto;\n padding-right: math.div(grid.$gutter-width, 2);\n padding-left: math.div(grid.$gutter-width, 2);\n\n box-sizing: border-box;\n\n display: flex;\n flex-wrap: wrap;\n justify-content: stretch;\n align-items: stretch;\n\n &--no-padding,\n &--no-padding-all {\n max-width: grid.$largest-container-width - (grid.$gutter-width * 2);\n }\n\n &--max {\n max-width: none;\n }\n}\n\n.tna-column {\n margin: 0;\n padding-right: math.div(grid.$gutter-width, 2);\n padding-left: math.div(grid.$gutter-width, 2);\n\n box-sizing: border-box;\n\n &--container {\n display: flex;\n flex-wrap: wrap;\n justify-content: stretch;\n align-items: stretch;\n }\n}\n\n@include tools.columns-generator(grid.$column-count);\n\n@include media.on-medium {\n @include tools.columns-generator(grid.$column-count-medium, \"medium\");\n}\n\n@include media.on-mobile {\n .tna-container {\n padding-right: math.div(grid.$gutter-width-mobile, 2);\n padding-left: math.div(grid.$gutter-width-mobile, 2);\n }\n\n .tna-column {\n padding-right: math.div(grid.$gutter-width-mobile, 2);\n padding-left: math.div(grid.$gutter-width-mobile, 2);\n }\n}\n\n@include media.on-small {\n @include tools.columns-generator(grid.$column-count-small, \"small\");\n}\n\n@include media.on-tiny {\n @include tools.columns-generator(grid.$column-count-tiny, \"tiny\");\n}\n\n.tna-container--no-padding,\n.tna-container--no-padding-all,\n.tna-container--no-padding-all > .tna-column,\n.tna-column--no-padding,\n.tna-column--container--no-padding-all,\n.tna-column--container--no-padding-all > .tna-column {\n padding-right: 0;\n padding-left: 0;\n}\n","@use \"sass:math\";\n@use \"../variables/grid\";\n\n@mixin columns-generator($count, $suffix: \"\") {\n @if $suffix != \"\" {\n $suffix: \"-\" + $suffix;\n }\n\n .tna-column {\n &--full#{$suffix} {\n width: 100%;\n flex: none;\n }\n\n @for $i from 1 through $count - 1 {\n $simplest-fraction-found: false;\n\n @for $j from math.div($count, 2) through 1 {\n @if (\n $count % $j == 0 and $i % $j == 0 and $simplest-fraction-found != true\n ) {\n &--width-#{math.div($i, $j)}-#{math.div($count, $j)}#{$suffix} {\n width: math.div(100%, $count) * $i;\n flex: none;\n }\n\n // .column--margin-right-#{math.div($i, $j)}-#{math.div($count, $j)}#{$suffix} {\n // margin-right: math.div(100%, $count) * $i;\n // }\n\n // .column--margin-left-#{math.div($i, $j)}-#{math.div($count, $j)}#{$suffix} {\n // margin-left: math.div(100%, $count) * $i;\n // }\n\n $simplest-fraction-found: true;\n }\n }\n\n @if $simplest-fraction-found != true {\n &--width-#{$i}-#{$count}#{$suffix} {\n width: math.div(100%, $count) * $i;\n flex: none;\n }\n\n // .column--margin-right-#{$i}-#{$count}#{$suffix} {\n // margin-right: math.div(100%, $count) * $i;\n // }\n\n // .column--margin-left-#{$i}-#{$count}#{$suffix} {\n // margin-left: math.div(100%, $count) * $i;\n // }\n }\n }\n\n @for $i from 1 through 3 {\n &--flex-#{$i}#{$suffix} {\n width: auto;\n\n flex: $i 0;\n }\n }\n\n @for $i from 1 through 4 {\n &--order-#{$i}#{$suffix} {\n order: $i;\n }\n }\n }\n}\n","@use \"sass:math\";\n@use \"../../variables/colour\" as colourVars; // TODO\n@use \"../../variables/grid\" as gridVars;\n@use \"../../tools/colour\";\n@use \"../../tools/typography\";\n@use \"../../tools/media\";\n@use \"../../utilities\";\n@use \"../grid\";\n\n// TODO: Only for the header component at the moment - remove on redesign\n@mixin uninvert {\n @include colour.colour-css-vars;\n\n .tna-template--system-theme & {\n @include colour.colour-css-vars;\n\n @media (prefers-color-scheme: dark) {\n @include colour.colour-css-vars-dark;\n }\n\n @media (prefers-contrast: more) {\n @include colour.colour-css-vars-high-contrast;\n }\n\n @media (prefers-contrast: more) and (prefers-color-scheme: dark) {\n @include colour.colour-css-vars-high-contrast-dark;\n }\n }\n\n .tna-template--light-theme & {\n @include colour.colour-css-vars;\n }\n\n .tna-template--dark-theme & {\n @include colour.colour-css-vars-dark;\n }\n\n .tna-template--high-contrast-theme & {\n @include colour.colour-css-vars-high-contrast;\n }\n\n .tna-template--high-contrast-theme.tna-template--dark-theme & {\n @include colour.colour-css-vars-high-contrast-dark;\n }\n}\n\n.tna-header {\n @include colour.invert;\n\n color: colour.brand-colour(\"white\");\n\n background-color: colour.brand-colour(\"black\");\n\n &__exit {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n\n text-align: right;\n\n background-color: colourVars.$dark-grey;\n }\n\n &__exit-link {\n text-decoration: none;\n @include typography.relative-font-size(16);\n\n &,\n &:link,\n &:visited {\n color: #fff;\n }\n\n &:hover {\n text-decoration: underline;\n\n // .tna-header__exit-link-icon {\n // border-color: colour.$tna-yellow;\n\n // &::before {\n // border-top-color: colour.$tna-yellow;\n // border-right-color: colour.$tna-yellow;\n // }\n\n // &::after {\n // background-color: colour.$tna-yellow;\n // }\n // }\n }\n }\n\n &__exit-link-icon {\n width: 0.825rem;\n height: 0.825rem;\n margin-right: 0.125rem;\n margin-left: 0.5rem;\n\n display: inline-block;\n\n position: relative;\n\n vertical-align: middle;\n\n border: 0.125rem #fff solid;\n\n &::before {\n position: absolute;\n top: -0.25rem;\n right: -0.25rem;\n z-index: 2;\n\n border: 0.25rem transparent solid;\n border-top-color: #fff;\n border-right-color: #fff;\n\n content: \"\";\n }\n\n &::after {\n width: 0.25rem;\n height: 0.825rem;\n\n position: absolute;\n top: -0.125rem;\n right: -0.125rem;\n z-index: 1;\n\n background-color: #fff;\n\n outline: 0.2rem colourVars.$dark-grey solid;\n\n transform: rotate(45deg) translateX(50%);\n transform-origin: 100% 0;\n\n content: \"\";\n }\n }\n\n &__contents {\n &.tna-container {\n justify-content: space-between;\n }\n }\n\n &__logo {\n padding-top: 1.5rem;\n padding-bottom: 1.5rem;\n }\n\n &__logo-link {\n display: flex;\n align-items: flex-end;\n\n color: inherit;\n text-decoration: none;\n\n &,\n &:link,\n &:visited {\n color: inherit;\n }\n\n &:hover {\n text-decoration: none;\n }\n\n // &--href {\n // &:hover {\n // outline: 0.375rem #fff solid;\n // outline-offset: 1px;\n\n // // .tna-logo__background {\n // // fill: #fff;\n // // }\n\n // // .tna-logo__foreground {\n // // fill: #000;\n // // }\n // }\n // }\n }\n\n .tna-logo {\n width: 6rem;\n height: 6rem;\n\n display: inline-block;\n }\n\n &__logo-link--href:hover .tna-logo {\n outline: 0.375rem #fff solid;\n outline-offset: 1px;\n }\n\n &__logo-link--href:active .tna-logo,\n &__logo-link--href:focus .tna-logo {\n outline: none;\n }\n\n .tna-logo__foreground {\n fill: #fff;\n }\n\n .tna-logo__background {\n fill: none;\n }\n\n &__logo-strapline {\n margin: 0 0.75rem;\n\n display: inline-block;\n\n line-height: 2.125;\n text-transform: uppercase;\n }\n\n &__navigation-toggle {\n align-self: center;\n }\n\n &__hamburger {\n width: 2rem;\n height: 0.25rem;\n\n display: block;\n\n background-color: #fff;\n\n transition: height 1ms 200ms;\n\n &::before,\n &::after {\n height: 0.25rem;\n\n display: block;\n\n position: absolute;\n right: 0;\n left: 0;\n\n background-color: inherit;\n\n transition:\n top 200ms 200ms,\n bottom 200ms 200ms,\n transform 200ms;\n\n content: \"\";\n }\n\n &::before {\n top: 0;\n }\n\n &::after {\n bottom: 0;\n }\n }\n\n &__navigation-toggle-button {\n height: 2rem;\n padding: 0;\n\n display: block;\n\n position: relative;\n\n appearance: none;\n\n font-size: 0;\n\n background: none;\n\n border: 0 transparent solid;\n border-width: 0.25rem 0;\n\n cursor: pointer;\n\n &--opened {\n .tna-header__hamburger {\n height: 0;\n\n &::before,\n &::after {\n transition:\n top 200ms,\n bottom 200ms,\n transform 200ms 200ms;\n }\n\n &::before {\n top: 0.625rem;\n\n transform: rotate(-135deg);\n }\n\n &::after {\n bottom: 0.625rem;\n\n transform: rotate(135deg);\n }\n }\n }\n }\n\n &--yellow,\n &--pink,\n &--orange,\n &--green,\n &--blue {\n color: colour.brand-colour(\"black\");\n\n .tna-header__logo-link {\n &:hover {\n .tna-logo {\n outline-color: #000;\n }\n }\n }\n\n .tna-logo__foreground {\n fill: #000;\n }\n\n .tna-header__hamburger {\n background-color: colour.brand-colour(\"black\");\n }\n }\n\n &--yellow {\n background-color: colour.brand-colour(\"yellow\");\n }\n\n &--pink {\n background-color: colour.brand-colour(\"pink\");\n }\n\n &--orange {\n background-color: colour.brand-colour(\"orange\");\n }\n\n &--green {\n background-color: colour.brand-colour(\"green\");\n }\n\n &--blue {\n background-color: colour.brand-colour(\"blue\");\n }\n\n &__navigation {\n display: flex;\n flex-direction: column-reverse;\n justify-content: space-between;\n align-items: flex-end;\n }\n\n &__top-navigation-items {\n margin: 0;\n padding: 1.25rem 0;\n\n // order: 1;\n\n list-style: none;\n\n line-height: 1;\n }\n\n &__top-navigation-item {\n margin-left: 1.5rem;\n\n display: inline-block;\n }\n\n &__top-navigation-item-link {\n display: inline-block;\n\n text-decoration: none;\n @include typography.relative-font-size(16);\n\n &,\n &:link,\n &:visited {\n color: inherit;\n }\n\n &:hover,\n &--selected {\n &,\n &:link,\n &:visited {\n @include typography.interacted-text-decoration;\n }\n }\n }\n\n &__navigation-items {\n margin: 0;\n padding: 0;\n\n // order: 2;\n\n list-style: none;\n\n white-space: nowrap;\n }\n\n &__navigation-item {\n margin-left: 0.75rem;\n\n display: inline-block;\n }\n\n &__navigation-item-link {\n padding: 0.5rem 1rem;\n\n display: inline-block;\n\n @include typography.heading-font;\n text-decoration: none;\n line-height: 2;\n\n // transition:\n // color 200ms,\n // background-color 200ms;\n\n &,\n &:link,\n &:visited {\n color: inherit;\n }\n\n &:hover,\n &--selected {\n text-decoration: none;\n\n &,\n &:link,\n &:visited {\n @include uninvert;\n @include colour.colour-font(\"font-dark\");\n @include colour.colour-background(\"page-background\");\n }\n // transition:\n // color 50ms,\n // background-color 50ms;\n }\n }\n\n @include media.on-larger-than-mobile {\n .tna-header__navigation-toggle {\n display: none;\n }\n }\n\n @include media.on-mobile {\n &__contents {\n &.tna-container {\n padding-right: 0;\n padding-left: 0;\n }\n }\n\n &__logo {\n padding-top: 1rem;\n padding-bottom: 1rem;\n\n &.tna-column {\n padding-right: gridVars.$gutter-width-mobile;\n padding-left: gridVars.$gutter-width-mobile;\n }\n }\n\n .tna-logo {\n width: 4.5rem;\n height: 4.5rem;\n }\n\n &__logo-strapline {\n line-height: 1.55;\n }\n\n &__navigation-toggle {\n &.tna-column {\n padding-right: gridVars.$gutter-width-mobile;\n padding-left: 0;\n }\n }\n\n &__navigation {\n @include uninvert;\n @include colour.colour-font(\"font-base\");\n @include typography.relative-font-size(20);\n\n align-items: stretch;\n flex-direction: column;\n\n &.tna-column {\n padding-right: 0;\n padding-left: 0;\n }\n\n .tna-template--js-enabled & {\n display: none;\n\n &--open {\n display: flex;\n }\n }\n }\n\n &__top-navigation-items {\n padding: 0.5rem 1rem;\n\n // text-align: center;\n\n @include colour.colour-background(\"page-background\");\n\n @include colour.colour-border(\"keyline\", 1px, solid, bottom);\n }\n\n &__top-navigation-item {\n margin: 0;\n padding: 0.5rem;\n }\n\n &__top-navigation-item-link {\n }\n\n &__navigation-items {\n width: 100%;\n\n @include colour.colour-background(\"page-background\");\n }\n\n &__navigation-item {\n margin: 0;\n\n display: block;\n\n @include colour.colour-border(\"keyline\", 1px, solid, bottom);\n }\n\n &__navigation-item-link {\n padding-right: gridVars.$gutter-width-mobile;\n padding-left: gridVars.$gutter-width-mobile + 1rem;\n\n display: block;\n\n position: relative;\n\n line-height: #{math.div(1, 1.125) * 2};\n\n &::after {\n width: 0;\n\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n\n @include colour.colour-background(\"font-dark\");\n\n // transition: width 200ms;\n\n content: \"\";\n }\n\n &:hover {\n &::after {\n width: 0.25rem;\n\n // transition: width 50ms;\n }\n }\n\n &--selected {\n &::after,\n &:hover::after {\n width: 0.5rem;\n }\n }\n }\n }\n\n @include media.on-tiny {\n .tna-logo {\n width: 3.5rem;\n height: 3.5rem;\n }\n\n &__logo-strapline {\n line-height: 1.25;\n }\n }\n}\n","@use \"sass:map\";\n\n$colour-palette-brand: (\n \"black\": #000,\n \"grey\": #8c9694,\n \"light-grey\": #d9d9d6,\n \"white\": #fff,\n\n \"yellow\": #fc0,\n \"pink\": #fe1d57,\n \"orange\": #fd3f03,\n \"green\": #86bc25,\n \"blue\": #00b0ff,\n\n \"brown\": #654e37,\n \"maroon\": #9c193a,\n \"chestnut\": #8f3415,\n \"forest\": #00623b,\n \"navy\": #004c7e,\n\n \"cream\": #f9f7e2,\n \"pastel-pink\": #fad3d4,\n \"pastel-orange\": #f9e1bc,\n \"pastel-green\": #dde5d5,\n \"pastel-blue\": #d4e5ef,\n);\n\n$dark-grey: #26262a;\n$base-font: #343338;\n\n/*\n=========================================\nLIGHT THEME (DEFAULT)\n=========================================\n*/\n$colour-palette-default: (\n \"page-background\": #f4f4f4,\n \"font-base\": $base-font,\n \"font-dark\": map.get($colour-palette-brand, \"black\"),\n \"font-light\": rgba($base-font, 0.7),\n \"link\": #1d70ab,\n \"link-visited\": #4c2c92,\n \"focus-outline\": map.get($colour-palette-brand, \"blue\"),\n \"keyline\": #ccc,\n \"keyline-dark\": $dark-grey,\n \"button-text\": map.get($colour-palette-brand, \"white\"),\n \"button-background\": map.get($colour-palette-brand, \"black\"),\n \"button-hover-text\": map.get($colour-palette-brand, \"black\"),\n \"button-hover-background\": map.get($colour-palette-brand, \"white\"),\n \"contrast-background\": #1e1e1e,\n // TODO: #343338 ?\n \"contrast-font-base\": map.get($colour-palette-brand, \"white\"),\n \"contrast-font-dark\": map.get($colour-palette-brand, \"white\"),\n \"contrast-font-light\": rgba(map.get($colour-palette-brand, \"white\"), 0.7),\n \"contrast-link\": map.get($colour-palette-brand, \"white\"),\n // \"contrast-link-visited\": #b9f, // Don't show visited state on contrasting backgrounds\n \"contrast-link-visited\": map.get($colour-palette-brand, \"white\"),\n \"contrast-keyline\": rgba(map.get($colour-palette-brand, \"white\"), 0.5),\n \"contrast-keyline-dark\": rgba(map.get($colour-palette-brand, \"white\"), 0.8),\n \"contrast-button-text\": map.get($colour-palette-brand, \"black\"),\n \"contrast-button-background\": map.get($colour-palette-brand, \"white\"),\n \"contrast-button-hover-text\": map.get($colour-palette-brand, \"white\"),\n \"contrast-button-hover-background\": map.get($colour-palette-brand, \"black\"),\n \"accent\": map.get($colour-palette-brand, \"light-grey\"),\n \"accent-background\": #111,\n \"accent-background-light\": map.get($colour-palette-brand, \"light-grey\"),\n \"accent-font-base\": map.get($colour-palette-brand, \"white\"),\n \"accent-font-dark\": map.get($colour-palette-brand, \"white\"),\n \"accent-font-light\": rgba(map.get($colour-palette-brand, \"white\"), 0.7),\n \"accent-link\": map.get($colour-palette-brand, \"white\"),\n \"accent-link-visited\": #b9f,\n \"accent-keyline\": rgba(map.get($colour-palette-brand, \"white\"), 0.5),\n \"accent-keyline-dark\": rgba(map.get($colour-palette-brand, \"white\"), 0.8),\n \"button-accent-text\": map.get($colour-palette-brand, \"black\"),\n \"button-accent-background\": map.get($colour-palette-brand, \"grey\"),\n);\n\n/*\n=========================================\nDARK THEME\n=========================================\n*/\n$colour-palette-dark: map.merge(\n $colour-palette-default,\n (\n \"page-background\": #111,\n \"font-base\": rgba(map.get($colour-palette-brand, \"white\"), 0.95),\n \"font-dark\": map.get($colour-palette-brand, \"white\"),\n \"font-light\": rgba(map.get($colour-palette-brand, \"white\"), 0.5),\n \"link\": map.get($colour-palette-brand, \"blue\"),\n \"link-visited\": map.get($colour-palette-default, \"contrast-link-visited\"),\n \"keyline\": rgba(map.get($colour-palette-brand, \"white\"), 0.25),\n \"keyline-dark\": map.get($colour-palette-brand, \"white\"),\n \"button-text\": map.get($colour-palette-brand, \"black\"),\n \"button-background\": map.get($colour-palette-brand, \"white\"),\n \"button-hover-text\": map.get($colour-palette-brand, \"white\"),\n \"button-hover-background\": map.get($colour-palette-brand, \"black\"),\n \"contrast-background\": #1e1e1e,\n \"contrast-link-visited\":\n map.get($colour-palette-default, \"contrast-link-visited\"),\n // --accent-background-light is the same as --contrast-background on dark themes\n \"accent-background-light\": map.get($colour-palette-brand, \"grey\"),\n )\n);\n\n/*\n=========================================\nLIGHT, HIGH_CONTRAST THEME\n=========================================\n*/\n$colour-palette-high-contrast: map.merge(\n $colour-palette-default,\n (\n \"page-background\": map.get($colour-palette-brand, \"white\"),\n \"font-base\": map.get($colour-palette-brand, \"black\"),\n \"font-light\": map.get($colour-palette-brand, \"black\"),\n \"link\": map.get($colour-palette-brand, \"navy\"),\n \"link-visited\": map.get($colour-palette-brand, \"black\"),\n \"focus-outline\": map.get($colour-palette-brand, \"orange\"),\n \"keyline\": map.get($colour-palette-brand, \"black\"),\n \"keyline-dark\": map.get($colour-palette-brand, \"black\"),\n \"contrast-background\": #f4f4f4,\n \"contrast-font-base\": map.get($colour-palette-brand, \"black\"),\n \"contrast-font-dark\": map.get($colour-palette-brand, \"black\"),\n \"contrast-font-light\": map.get($colour-palette-brand, \"black\"),\n \"contrast-link\": map.get($colour-palette-brand, \"navy\"),\n \"contrast-link-visited\": map.get($colour-palette-brand, \"black\"),\n \"contrast-keyline\": map.get($colour-palette-brand, \"black\"),\n \"contrast-keyline-dark\": map.get($colour-palette-brand, \"black\"),\n \"contrast-button-text\": map.get($colour-palette-brand, \"white\"),\n \"contrast-button-background\": map.get($colour-palette-brand, \"black\"),\n \"contrast-button-hover-text\": map.get($colour-palette-brand, \"black\"),\n \"contrast-button-hover-background\": map.get($colour-palette-brand, \"white\"),\n )\n);\n\n/*\n=========================================\nDARK, HIGH_CONTRAST THEME\n=========================================\n*/\n$colour-palette-high-contrast-dark: map.merge(\n $colour-palette-dark,\n (\n \"page-background\": map.get($colour-palette-brand, \"black\"),\n \"font-base\": map.get($colour-palette-brand, \"white\"),\n \"font-light\": map.get($colour-palette-brand, \"white\"),\n \"link\": map.get($colour-palette-brand, \"white\"),\n \"link-visited\": map.get($colour-palette-brand, \"white\"),\n \"keyline\": map.get($colour-palette-brand, \"white\"),\n \"contrast-background\": #111,\n )\n);\n"]}
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../src/nationalarchives/utilities/_typography.scss","../../../../src/nationalarchives/tools/_colour.scss","../../../../src/nationalarchives/utilities/_a11y.scss","../../../../src/nationalarchives/tools/_spacing.scss","../../../../src/nationalarchives/utilities/_global.scss","../../../../src/nationalarchives/tools/_media.scss","../../../../src/nationalarchives/utilities/_overrides.scss","../../../../src/nationalarchives/tools/_typography.scss","../../../../src/nationalarchives/variables/_typography.scss","../../../../src/nationalarchives/variables/_grid.scss","../../../../src/nationalarchives/components/grid/grid.scss","../../../../src/nationalarchives/tools/_grid.scss","../../../../src/nationalarchives/components/header/header.scss","../../../../src/nationalarchives/variables/_colour.scss"],"names":[],"mappings":"CASQ,6CCuKR,sCACE,yCACA,uCACA,uCACA,yCACA,yCACA,6BACA,6CACA,mCACA,6CACA,2CACA,uDACA,uDACA,mEAxFA,mCAPA,4BACA,uBAmIF,0DACE,uCACA,qCACA,qCACA,uCACA,uCACA,2BACA,2CACA,iCACA,2CAtIA,mCAPA,4BACA,uBAuJF,sBAnJE,yBAEA,wCAiKF,8BACE,6CACA,qBACA,0BACA,gCACA,qBACA,wBACA,8BACA,wBACA,kCACA,kCAIA,kCAIA,8CAnLA,mCCnGF,qBACE,qBACA,sBACA,oBACA,qBAEA,6BACA,uBACA,wBACA,sBAEA,2BAEA,iCAEA,oBAEA,0CAEA,yDAEE,YAIJ,QACE,UDwHE,+BAIA,4CCzHF,uBAIA,8BACE,aCjCJ,oFACE,mBAEA,iKACE,gBCFJ,MHKI,w7CGD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0DAEE,mBAGF,oBACE,eAGF,wBACE,uBAIJ,YACE,SACA,mBACA,kBAEA,sBAEA,uBACE,aACA,eACA,wBACA,oBCrCA,kBACE,WACA,UAUI,wBACE,oBACA,UAFF,uBACE,qBACA,UAFF,uBACE,UACA,UAFF,uBACE,qBACA,UAFF,wBACE,qBACA,UAFF,uBACE,UACA,UAFF,wBACE,qBACA,UAFF,uBACE,qBACA,UAFF,uBACE,UACA,UAFF,uBACE,qBACA,UAFF,yBACE,qBACA,UAgCN,oBACE,WAEA,SAHF,oBACE,WAEA,SAHF,oBACE,WAEA,SAKF,qBACE,MAFS,EACX,qBACE,MAFS,EACX,qBACE,MAFS,EACX,qBACE,MAFS,ENvCf,kDMdE,yBACE,WACA,UAUI,8BACE,qBACA,UAFF,8BACE,qBACA,UAFF,8BACE,UACA,UAFF,8BACE,qBACA,UAFF,8BACE,qBACA,UAgCN,2BACE,WAEA,SAHF,2BACE,WAEA,SAHF,2BACE,WAEA,SAKF,4BACE,MAFS,EACX,4BACE,MAFS,EACX,4BACE,MAFS,EACX,4BACE,MAFS,GN3Bf,wBKsBA,eACE,oBACA,mBAGF,YACE,oBACA,oBLnCF,kDMpBE,wBACE,WACA,UAUI,6BACE,UACA,UAFF,6BACE,UACA,UAFF,6BACE,UACA,UAgCN,0BACE,WAEA,SAHF,0BACE,WAEA,SAHF,0BACE,WAEA,SAKF,2BACE,MAFS,EACX,2BACE,MAFS,EACX,2BACE,MAFS,EACX,2BACE,MAFS,GN3Bf,wBM1BE,uBACE,WACA,UAUI,4BACE,UACA,UAgCN,yBACE,WAEA,SAHF,yBACE,WAEA,SAHF,yBACE,WAEA,SAKF,0BACE,MAFS,EACX,0BACE,MAFS,EACX,0BACE,MAFS,EACX,0BACE,MAFS,GDcjB,uNAME,gBACA,eErCF,YAGE,WAEA,sBAEA,kBACE,kBACA,qBAEA,iBAEA,iBCpBQ,QDuBV,uBACE,qBL1DF,eK6DE,kFAGE,WAGF,6BACE,0BAIJ,4BACE,cACA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,2+CWqBF,weXfE,85CWmBF,8nBXbE,w/CIaF,6BOuYE,2CACE,cPtXJ,wBO4XI,oCACE,gBACA,eAIJ,kBACE,iBACA,oBAGF,sBACE,aACA,cAGF,4BACE,iBAIA,0CACE,cH1cY,KG2cZ,eAIJ,wBXxcA,w7CAoFF,cACA,uBM1FA,kBKkdI,oBACA,sBA3cJ,oDXHE,y7CWMA,wDAHF,oDXGE,4+CWIA,oDAPF,oDXSE,+5CWEA,oFAXF,oDXeE,y/CI+BF,wBO9BA,mDXnBE,w7CWuBF,kDXjBE,2+CWqBF,2DXfE,85CWmBF,oFXbE,w/CW8bE,mCACE,gBACA,eAGF,kDACE,aAEA,wDACE,aAKN,kCACE,mBXtYJ,yBAEA,wCAaI,2CAIA,uCW4XF,iCACE,SACA,cAMF,8BACE,WXxZJ,yBAEA,wCW2ZE,6BACE,SAEA,cXjZA,2CAIA,uCWkZF,kCACE,cHtgBc,KGugBd,kBAEA,cAEA,kBAEA,yBAEA,yCACE,QAEA,kBACA,MACA,SACA,OXrbN,sBAEA,kCWybM,WAIA,+CACE,aAOF,4GAEE,aPzgBR,wBOihBI,6BACE,cHljBY,KGmjBZ,aHnjBY,KGujBhB,sBACE,aACA,cAGF,4BACE","file":"header.css","sourcesContent":["@use \"sass:math\";\n@use \"../tools/colour\";\n@use \"../tools/media\";\n@use \"../tools/spacing\";\n@use \"../tools/typography\";\n@use \"../variables/assets\";\n@use \"../variables/grid\";\n@use \"../variables/typography\" as typographyVars;\n\n@import \"https://use.typekit.net/hkj3kuz.css\";\n\n@font-face {\n font-family: \"Open Sans\";\n src: url(\"#{assets.$tna-font-path}/OpenSans-Medium.ttf\");\n font-weight: normal;\n font-style: normal;\n}\n\n@font-face {\n font-family: \"Open Sans\";\n src: url(\"#{assets.$tna-font-path}/OpenSans-Bold.ttf\");\n font-weight: bold;\n font-style: normal;\n}\n\n@font-face {\n font-family: \"Roboto Mono\";\n src: url(\"#{assets.$tna-font-path}/RobotoMono-Regular.ttf\");\n font-weight: normal;\n font-style: normal;\n}\n\n.tna-template {\n @include colour.colour-font(\"font-base\");\n @include typography.main-font;\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility;\n -webkit-text-size-adjust: none;\n direction: ltr;\n}\n\n.tna-template__body {\n color: inherit;\n @include typography.relative-font-size(typographyVars.$body-font-size-px);\n line-height: typographyVars.$body-line-height;\n\n @include media.on-mobile {\n @include typography.relative-font-size(\n typographyVars.$body-font-size-px-mobile\n );\n }\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nul,\nol {\n margin-top: 0;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nstrong {\n @include typography.main-font-weight-bold;\n}\n\np {\n margin: 0 0 1rem;\n\n @include media.on-tiny {\n margin-bottom: 1rem;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n}\n\na {\n @include colour.colour-font(\"link\");\n text-decoration-thickness: 1.5px;\n\n &:visited {\n @include colour.colour-font(\"link-visited\");\n }\n\n &:hover,\n &:active {\n @include typography.interacted-text-decoration;\n }\n\n &.tna-chip {\n text-decoration: none;\n\n &,\n &:link,\n &:visited {\n @include colour.colour-font(\"font-dark\");\n }\n\n &:hover {\n @include typography.interacted-text-decoration;\n }\n }\n}\n\nsmall {\n @include typography.relative-font-size(\n typographyVars.$body-font-size-px * 0.85\n );\n}\n\n.tna-ul,\n.tna-ol {\n margin-top: 0;\n margin-right: 0;\n margin-left: 0;\n padding: 0 0 0 2rem;\n\n @include spacing.space-below;\n\n li::marker {\n @include colour.colour-font(\"accent-background\");\n font-weight: 700;\n }\n\n &--plain {\n padding-left: 0;\n\n list-style: none;\n }\n}\n\n.tna-dl {\n display: flex;\n flex-wrap: wrap;\n\n @include spacing.space-below;\n\n dt,\n dd {\n margin: 0;\n padding: 0.5rem 1rem;\n\n position: relative;\n\n box-sizing: border-box;\n\n word-wrap: break-word;\n // word-break: break-all;\n }\n\n &--plain {\n dt {\n padding-left: 0;\n }\n\n dd {\n padding-right: 0;\n }\n }\n\n dt {\n width: 25%;\n\n @include typography.main-font-weight-bold;\n }\n\n dd {\n width: 75%;\n\n + dd {\n margin-left: 25%;\n }\n }\n\n &--icon-padding {\n dt {\n padding-left: 3rem !important;\n\n position: relative;\n\n .fa-solid {\n overflow: visible;\n\n position: absolute;\n top: 50%;\n left: 1rem;\n\n @include colour.colour-font(\"icon-light\");\n text-align: left;\n\n transform: translateY(-50%);\n }\n }\n }\n\n &--icon-padding#{&}--plain {\n dt {\n padding-left: 2rem !important;\n\n .fa-solid {\n left: 0;\n }\n }\n }\n\n &:not(&--plain) {\n dt,\n dd {\n // padding-left: 1rem;\n // padding-right: 1rem;\n }\n\n dt:first-child,\n dd:nth-of-type(2n) + dt,\n dd:nth-of-type(2n + 1) {\n @include colour.colour-background(\"background-tint\");\n }\n }\n\n @include media.on-small {\n dt {\n width: 35%;\n }\n\n dd {\n width: 65%;\n\n + dd {\n margin-left: 35%;\n }\n }\n }\n\n @include media.on-tiny {\n dt,\n dd {\n width: 100%;\n margin-left: 0;\n }\n\n dd {\n padding-left: 1rem;\n }\n\n &--plain {\n dt {\n padding-bottom: 0;\n }\n\n dd {\n padding-top: 0;\n // padding-left: 2rem;\n\n + dt {\n // @include colour.colour-border(\"keyline\", 1px, solid, top);\n }\n }\n }\n\n &:not(&--plain) {\n dt {\n @include colour.colour-background(\"background-tint\");\n }\n\n dd {\n background: transparent !important;\n }\n }\n }\n\n @include colour.on-high-contrast {\n @include colour.colour-border(\"keyline-dark\", 1px, solid, bottom);\n\n dt,\n dd {\n // padding-left: 0;\n // padding-right: 0;\n\n background: transparent !important;\n\n @include colour.colour-border(\"keyline-dark\", 1px, solid, top);\n }\n }\n}\n\n%chip {\n max-width: max-content;\n padding: 0.125em 0.25rem;\n\n display: block;\n\n @include typography.detail-font-small;\n line-height: 1;\n\n @include colour.accent;\n\n @include colour.colour-border(\"accent-background\", 0.125rem);\n}\n\n.tna-chip {\n @extend %chip;\n}\n\n.tna-chip-list {\n padding-left: 0;\n\n display: flex;\n flex-wrap: wrap;\n gap: 1rem;\n\n list-style: none;\n\n @include spacing.space-below;\n\n &__item {\n }\n}\n\n%heading {\n @include colour.colour-font(\"font-dark\");\n\n text-wrap: balance;\n\n &:not(.tna-heading--no-link-arrow) {\n a {\n display: inline-block;\n\n &::after {\n padding-left: 0.25rem;\n\n display: inline-block;\n\n font-weight: 700;\n\n content: \"\\203A\";\n }\n\n &:hover {\n &::after {\n padding-left: 0.5rem;\n }\n }\n }\n }\n}\n\n%heading-xl {\n @include typography.heading-font;\n @include typography.relative-font-size(64);\n line-height: 1.2;\n\n @include media.on-medium {\n @include typography.relative-font-size(42);\n }\n\n @include media.on-mobile {\n @include typography.relative-font-size(36);\n }\n}\n\n%heading-l {\n @include typography.heading-font;\n @include typography.relative-font-size(32);\n line-height: 1.3;\n\n @include media.on-medium {\n @include typography.relative-font-size(26);\n }\n\n @include media.on-mobile {\n @include typography.relative-font-size(24);\n }\n}\n\n%heading-m {\n @include typography.main-font-weight-bold;\n @include typography.relative-font-size(22);\n line-height: 1.6;\n}\n\n%heading-s {\n @include typography.main-font-weight-bold;\n @include typography.relative-font-size(18);\n line-height: 1.6;\n}\n\n.tna-heading {\n @extend %heading;\n\n &--xl {\n @extend %heading-xl;\n }\n\n &--l {\n @extend %heading-l;\n }\n\n &--m {\n @extend %heading-m;\n }\n\n &--s {\n @extend %heading-s;\n }\n}\n\n.tna-hgroup {\n &__supertitle {\n margin: 0 0 0.25rem;\n\n @extend %chip;\n }\n\n &__title {\n margin: 0;\n\n display: block;\n\n @extend %heading;\n }\n\n &--xl &__title {\n @extend %heading-xl;\n }\n\n &--l &__title {\n @extend %heading-l;\n }\n\n &--m &__title {\n @extend %heading-m;\n }\n\n &--s &__title {\n @extend %heading-s;\n }\n}\n\n.tna-heading,\n.tna-hgroup {\n margin-top: 3rem;\n margin-bottom: 1rem;\n\n // &--m,\n // &--s {\n // margin-bottom: 0.5rem;\n // }\n\n &:first-child {\n margin-top: 0;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n}\n\n.tna-blockquote {\n margin-top: 0;\n margin-right: 0;\n margin-left: 0;\n padding: 1rem 1rem 1rem 2rem;\n\n @include colour.colour-border(\"accent-background\", 0.35rem, solid, left);\n\n @include spacing.space-below;\n\n &__quote {\n font-weight: 700;\n }\n\n &__author {\n font-style: italic;\n\n .tna-blockquote & {\n margin: 1rem 0 0;\n }\n\n &::before {\n content: \"\\2014\" \" \";\n }\n }\n}\n\n.tna-scene-setter {\n @include typography.detail-font;\n @include colour.colour-font(\"font-dark\");\n @include typography.relative-font-size(30);\n line-height: math.div(50, 30);\n\n @include spacing.space-below;\n\n @include media.on-mobile {\n @include typography.relative-font-size(24);\n line-height: 2;\n }\n\n a {\n color: inherit;\n text-decoration-thickness: 2px;\n\n &:hover {\n text-decoration-thickness: 4.5px;\n }\n }\n}\n\n.tna-columns {\n column-gap: grid.$gutter-width;\n\n &--2 {\n column-count: 2;\n }\n\n &--3 {\n column-count: 3;\n }\n\n @include media.on-tiny {\n column-gap: grid.$gutter-width-tiny;\n }\n\n @include media.on-small {\n @for $i from 1 through 4 {\n &--#{$i}-small {\n column-count: $i;\n }\n }\n }\n\n @include media.on-tiny {\n @for $i from 1 through 4 {\n &--#{$i}-tiny {\n column-count: $i;\n }\n }\n }\n\n &__block {\n break-inside: avoid;\n }\n\n &:has(&__block:only-of-type) {\n column-count: 1;\n }\n}\n","@use \"sass:map\";\n@use \"../variables/colour\";\n@use \"../tools/media\";\n\n@function brand-colour($colour, $opacity: 1) {\n @return colour.brand-colour($colour, $opacity);\n}\n\n@mixin colour-css-vars() {\n @each $name, $value in colour.$colour-palette-default {\n --#{$name}: #{$value};\n }\n}\n\n@mixin colour-css-vars-dark() {\n @each $name, $value in colour.$colour-palette-dark {\n --#{$name}: #{$value};\n }\n}\n\n@mixin colour-css-vars-high-contrast() {\n @each $name, $value in colour.$colour-palette-high-contrast {\n --#{$name}: #{$value};\n }\n}\n\n@mixin colour-css-vars-high-contrast-dark() {\n @each $name, $value in colour.$colour-palette-high-contrast-dark {\n --#{$name}: #{$value};\n }\n}\n\n@mixin accent-css-vars($colour) {\n @if $colour == \"yellow\" {\n --accent: #{brand-colour(\"yellow\")} !important;\n --accent-background: #{brand-colour(\"yellow\")} !important;\n --accent-background-light: #{brand-colour(\"cream\")} !important;\n --accent-font-base: #{brand-colour(\"black\")} !important;\n --accent-font-dark: #{brand-colour(\"black\")} !important;\n --accent-font-light: #{brand-colour(\"black\", 0.7)} !important;\n --accent-icon-light: #{brand-colour(\"black\", 0.45)} !important;\n --accent-link: #{brand-colour(\"black\")} !important;\n --accent-link-visited: #{brand-colour(\"black\")} !important;\n --accent-keyline: #{brand-colour(\"black\", 0.5)} !important;\n --accent-keyline-dark: #{brand-colour(\"black\", 0.8)} !important;\n --button-accent-background: #{brand-colour(\"yellow\")} !important;\n } @else {\n --accent-font-base: #{brand-colour(\"white\")} !important;\n --accent-font-dark: #{brand-colour(\"white\")} !important;\n --accent-font-light: #{brand-colour(\"white\", 0.7)} !important;\n --accent-icon-light: #{brand-colour(\"white\", 0.45)} !important;\n --accent-link: #{brand-colour(\"white\")} !important;\n --accent-link-visited: #{brand-colour(\"white\")} !important;\n --accent-keyline: #{brand-colour(\"white\", 0.5)} !important;\n --accent-keyline-dark: #{brand-colour(\"white\", 0.8)} !important;\n\n @if $colour == \"black\" {\n // --accent: #{brand-colour(\"light-grey\")} !important;\n // --accent-background: #{brand-colour(\"black\")} !important;\n // --accent-background-light: #{brand-colour(\"light-grey\")} !important;\n // --button-accent-text: #{brand-colour(\"black\")} !important;\n // --button-accent-background: #{brand-colour(\"grey\")} !important;\n } @else {\n --button-accent-text: #{brand-colour(\"white\")} !important;\n @if $colour == \"pink\" {\n --accent: #{brand-colour(\"pink\")} !important;\n --accent-background: #{brand-colour(\"maroon\")} !important;\n --accent-background-light: #{brand-colour(\"pastel-pink\")} !important;\n --button-accent-background: #{brand-colour(\"maroon\")} !important;\n } @else if $colour == \"orange\" {\n --accent: #{brand-colour(\"orange\")} !important;\n --accent-background: #{brand-colour(\"chestnut\")} !important;\n --accent-background-light: #{brand-colour(\"pastel-orange\")} !important;\n --button-accent-background: #{brand-colour(\"chestnut\")} !important;\n } @else if $colour == \"green\" {\n --accent: #{brand-colour(\"green\")} !important;\n --accent-background: #{brand-colour(\"forest\")} !important;\n --accent-background-light: #{brand-colour(\"pastel-green\")} !important;\n --button-accent-background: #{brand-colour(\"forest\")} !important;\n } @else if $colour == \"blue\" {\n --accent: #{brand-colour(\"blue\")} !important;\n --accent-background: #{brand-colour(\"navy\")} !important;\n --accent-background-light: #{brand-colour(\"pastel-blue\")} !important;\n --button-accent-background: #{brand-colour(\"navy\")} !important;\n }\n }\n }\n}\n\n@mixin colour-font(\n $colour,\n $important: false,\n $default-palette: colour.$colour-palette-default\n) {\n color: map.get($default-palette, $colour) if($important, !important, null);\n color: var(--#{$colour}) if($important, !important, null);\n}\n\n@mixin colour-background($colour, $important: false) {\n background-color: map.get(colour.$colour-palette-default, $colour)\n if($important, !important, null);\n background-color: var(--#{$colour}) if($important, !important, null);\n}\n\n@mixin colour-border(\n $colour,\n $width: \"\",\n $style: solid,\n $direction: \"\",\n $important: false\n) {\n @if $direction != \"\" {\n @if $width != \"\" {\n $property: border-#{$direction};\n border-#{$direction}: $width\n map.get(colour.$colour-palette-default, $colour)\n $style\n if($important, !important, null);\n border-#{$direction}: $width\n var(--#{$colour})\n $style\n if($important, !important, null);\n } @else {\n border-#{$direction}-color: map.get(\n colour.$colour-palette-default,\n $colour\n )\n if($important, !important, null);\n border-#{$direction}-color: var(--#{$colour})\n if($important, !important, null);\n }\n } @else {\n @if $width != \"\" {\n border: $width\n map.get(colour.$colour-palette-default, $colour)\n $style\n if($important, !important, null);\n border: $width var(--#{$colour}) $style if($important, !important, null);\n } @else {\n border-color: map.get(colour.$colour-palette-default, $colour)\n if($important, !important, null);\n border-color: var(--#{$colour}) if($important, !important, null);\n }\n }\n}\n\n@mixin colour-outline($colour, $width: \"\", $style: solid, $important: false) {\n @if $width != \"\" {\n outline: $width\n map.get(colour.$colour-palette-default, $colour)\n $style\n if($important, !important, null);\n outline: $width var(--#{$colour}) $style if($important, !important, null);\n } @else {\n outline-color: map.get(colour.$colour-palette-default, $colour)\n if($important, !important, null);\n outline-color: var(--#{$colour}) if($important, !important, null);\n }\n}\n\n@mixin colour-fill($colour, $important: false) {\n fill: map.get(colour.$colour-palette-default, $colour)\n if($important, !important, null);\n fill: var(--#{$colour}) if($important, !important, null);\n}\n\n%fixed {\n @include colour-css-vars;\n\n @include colour-font(\"font-base\");\n}\n\n@mixin fixed {\n @extend %fixed;\n}\n\n%invert {\n --background: var(--contrast-background);\n --font-base: var(--contrast-font-base);\n --font-dark: var(--contrast-font-dark);\n --font-light: var(--contrast-font-light);\n --icon-light: var(--contrast-icon-light);\n --link: var(--contrast-link);\n --link-visited: var(--contrast-link-visited);\n --keyline: var(--contrast-keyline);\n --keyline-dark: var(--contrast-keyline-dark);\n --button-text: var(--contrast-button-text);\n --button-background: var(--contrast-button-background);\n --button-hover-text: var(--contrast-button-hover-text);\n --button-hover-background: var(--contrast-button-hover-background);\n\n @include colour-background(\"background\");\n\n @include colour-font(\"font-base\", false, colour.$colour-palette-dark);\n}\n\n@mixin invert {\n @extend %invert;\n}\n\n%invert-on-mobile {\n @include media.on-mobile {\n --background: var(--contrast-background);\n --font-base: var(--contrast-font-base);\n --font-dark: var(--contrast-font-dark);\n --font-light: var(--contrast-font-light);\n --icon-light: var(--contrast-icon-light);\n --link: var(--contrast-link);\n --link-visited: var(--contrast-link-visited);\n --keyline: var(--contrast-keyline);\n --keyline-dark: var(--contrast-keyline-dark);\n --button-text: var(--contrast-button-text);\n --button-background: var(--contrast-button-background);\n --button-hover-text: var(--contrast-button-hover-text);\n --button-hover-background: var(--contrast-button-hover-background);\n\n @include colour-background(\"background\");\n\n @include colour-font(\"font-base\", false, colour.$colour-palette-dark);\n }\n}\n\n@mixin invert-on-mobile {\n @extend %invert-on-mobile;\n}\n\n%accent {\n --background: var(--accent-background);\n --font-base: var(--accent-font-base);\n --font-dark: var(--accent-font-dark);\n --font-light: var(--accent-font-light);\n --icon-light: var(--accent-icon-light);\n --link: var(--accent-link);\n --link-visited: var(--accent-link-visited);\n --keyline: var(--accent-keyline);\n --keyline-dark: var(--accent-keyline-dark);\n\n @include colour-background(\"background\");\n\n @include colour-font(\"font-base\", false, colour.$colour-palette-dark);\n}\n\n@mixin accent {\n @extend %accent;\n}\n\n%tint-background {\n @include colour-background(\"background-tint\");\n}\n\n@mixin tint-background {\n @extend %tint-background;\n}\n\n%accent-background {\n @include colour-background(\"accent-background\");\n}\n\n@mixin accent-background {\n @extend %accent-background;\n}\n\n%light-accent-background {\n --background: var(--accent-background-light);\n --font-base: #{map.get(colour.$colour-palette-default, \"font-base\")};\n --font-dark: #{map.get(colour.$colour-palette-default, \"font-dark\")};\n --font-light: #{map.get(colour.$colour-palette-default, \"font-light\")};\n --link: #{map.get(colour.$colour-palette-default, \"font-dark\")};\n --link-visited: #{map.get(colour.$colour-palette-default, \"link-visited\")};\n --keyline: #{map.get(colour.$colour-palette-default, \"keyline\")};\n --keyline-dark: #{map.get(colour.$colour-palette-default, \"keyline-dark\")};\n --button-text: #{map.get(colour.$colour-palette-default, \"button-text\")};\n --button-background: #{map.get(\n colour.$colour-palette-default,\n \"button-background\"\n )};\n --button-hover-text: #{map.get(\n colour.$colour-palette-default,\n \"button-hover-text\"\n )};\n --button-hover-background: #{map.get(\n colour.$colour-palette-default,\n \"button-hover-background\"\n )};\n\n @include colour-background(\"background\");\n}\n\n@mixin light-accent-background {\n @extend %light-accent-background;\n}\n\n@mixin on-high-contrast {\n .tna-template--high-contrast-theme & {\n @content;\n }\n\n .tna-template--system-theme & {\n @media (prefers-contrast: more) {\n @content;\n }\n }\n}\n","@use \"../tools/colour\";\n\n.tna-visually-hidden {\n width: 1px !important;\n height: 1px !important;\n margin: 0 !important;\n padding: 0 !important;\n\n position: absolute !important;\n top: -9999px !important;\n left: -9999px !important;\n z-index: -1 !important;\n\n overflow: hidden !important;\n\n clip: rect(0, 0, 0, 0) !important;\n\n border: 0 !important;\n\n background-color: transparent !important;\n\n &::before,\n &::after {\n content: \"\\00a0\";\n }\n}\n\n*:focus {\n z-index: 9;\n\n @include colour.colour-outline(\"focus-outline\", 0.3125rem, solid);\n outline-offset: 0.125rem;\n}\n\n.tna-\\!--no-focus-style {\n &:focus {\n outline: none;\n }\n}\n","@use \"sass:map\";\n@use \"../variables/spacing\";\n\n%space-below {\n margin-bottom: 2rem;\n\n &:last-child {\n margin-bottom: 0;\n }\n}\n\n@mixin space-below {\n @extend %space-below;\n}\n\n@function spacing($size) {\n @return map.get(spacing.$spacing, $size);\n}\n\n@function spacing-mobile($size) {\n @return map.get(spacing.$spacing-mobile, $size);\n}\n","@use \"../tools/colour\";\n@use \"../tools/media\";\n@use \"../tools/spacing\";\n@use \"../variables/typography\";\n\n:root {\n @include colour.colour-css-vars;\n}\n\n.tna-template {\n min-width: 320px;\n width: 100%;\n height: 100%;\n\n /*\n * ------------------------------------------\n * Support ended with iOS 13 released on 19th\n * September 2019. Deprecate in the future if\n * iOS <13 share drops low enough.\n * https://caniuse.com/mdn-css_properties_-webkit-overflow-scrolling\n * ------------------------------------------\n */\n -webkit-overflow-scrolling: touch;\n\n font-size: #{typography.$relative-1rem-px}px;\n\n @include colour.colour-background(\"page-background\");\n\n accent-color: var(--accent);\n\n &--system-theme {\n @include colour.colour-css-vars;\n\n @media (prefers-color-scheme: dark) {\n @include colour.colour-css-vars-dark;\n }\n\n @media (prefers-contrast: more) {\n @include colour.colour-css-vars-high-contrast;\n\n * {\n background-image: none !important;\n }\n }\n\n @media (prefers-contrast: more) and (prefers-color-scheme: dark) {\n @include colour.colour-css-vars-high-contrast-dark;\n }\n }\n\n &--light-theme {\n @include colour.colour-css-vars;\n }\n\n &--dark-theme {\n @include colour.colour-css-vars-dark;\n }\n\n &--high-contrast-theme {\n @include colour.colour-css-vars-high-contrast;\n\n * {\n background-image: none !important;\n }\n\n &.tna-template--dark-theme {\n @include colour.colour-css-vars-high-contrast-dark;\n }\n }\n\n @include colour.accent-css-vars(\"black\"); // TODO: Temp\n\n // &--black-accent {\n // @include colour.accent-css-vars(\"black\");\n // }\n\n &--yellow-accent {\n @include colour.accent-css-vars(\"yellow\");\n }\n\n &--pink-accent {\n @include colour.accent-css-vars(\"pink\");\n }\n\n &--orange-accent {\n @include colour.accent-css-vars(\"orange\");\n }\n\n &--green-accent {\n @include colour.accent-css-vars(\"green\");\n }\n\n &--blue-accent {\n @include colour.accent-css-vars(\"blue\");\n }\n\n @media (prefers-reduced-motion) {\n * {\n animation: none !important;\n transition: none !important;\n }\n }\n}\n\n.tna-template__body {\n min-height: 100%;\n margin: 0;\n padding: 0;\n\n &:has(.tna-header):has(#main-content[role=\"main\"]):has(.tna-footer) {\n display: flex;\n flex-direction: column;\n\n #main-content[role=\"main\"] {\n flex: 1;\n }\n }\n}\n\nimg,\nsvg,\npicture,\nvideo,\ncanvas {\n max-width: 100%;\n\n display: block;\n}\n\nvideo,\ncanvas {\n width: 100%;\n}\n\n[hidden] {\n display: none;\n}\n\nhr {\n margin: 2rem 0;\n\n border-width: 1px 0 0;\n @include colour.colour-border(\"keyline\");\n border-style: solid;\n}\n\n.tna-section {\n padding-top: 3rem;\n padding-bottom: 3rem;\n\n @include media.on-mobile {\n padding-top: 2rem;\n padding-bottom: 2rem;\n }\n}\n\n.tna-aside {\n padding: 2rem;\n\n @include spacing.space-below;\n\n @include media.on-mobile {\n padding: 1rem;\n }\n\n @include colour.on-high-contrast {\n @include colour.colour-border(\"keyline-dark\", 1px);\n }\n}\n\n.tna-background {\n &--contrast {\n @include colour.invert;\n }\n\n &--accent {\n @include colour.accent;\n }\n\n &--accent-light {\n @include colour.light-accent-background;\n }\n\n &--tint {\n @include colour.tint-background;\n }\n}\n","@use \"../variables/media\";\n\n// 0 ======= 320 = 480 ===== 768 == 1024 ========================== min-width/max-width (px)\n// | . | | |\n// |-TINY----------|-SMALL---|-MED--|-LARGE------------------------\n// | . | | |\n// |<------------->| | | on-tiny\n// |<----------------------->| | on-mobile\n// |<------------------------------>| on-smaller-than-large\n// | . |<------->| | on-small\n// | . |<------------------------- on-larger-than-tiny\n// | . | |<---->| on-medium\n// | . | |<--------------- on-larger-than-mobile\n// | . | | |<-------- on-large\n// |<------->. | | | Smallest device\n\n@mixin on-large() {\n @media #{media.$media-large} {\n @content;\n }\n}\n\n@mixin on-medium() {\n @media #{media.$media-medium} {\n @content;\n }\n}\n\n@mixin on-small() {\n @media #{media.$media-small} {\n @content;\n }\n}\n\n@mixin on-tiny() {\n @media #{media.$media-tiny} {\n @content;\n }\n}\n\n@mixin on-larger-than-mobile() {\n @media #{media.$media-gt-mobile} {\n @content;\n }\n}\n\n@mixin on-larger-than-tiny() {\n @media #{media.$media-gt-tiny} {\n @content;\n }\n}\n\n@mixin on-smaller-than-large() {\n @media #{media.$media-lt-large} {\n @content;\n }\n}\n\n@mixin on-mobile() {\n @media #{media.$media-mobile} {\n @content;\n }\n}\n\n@mixin on-print() {\n @media print {\n @content;\n }\n}\n","@use \"../variables/spacing\";\n@use \"../tools/media\";\n\n@mixin no-spacing-generator($suffix: \"\") {\n @if $suffix != \"\" {\n $suffix: \"-\" + $suffix;\n }\n\n @each $property in margin, padding {\n @each $direction in top, bottom {\n .tna-\\!--no-#{$property}-#{$direction}#{$suffix},\n .tna-\\!--no-#{$property}-vertical#{$suffix} {\n #{$property}-#{$direction}: 0 !important;\n }\n }\n }\n}\n\n@mixin overrides($spacing, $suffix: \"\") {\n @if $suffix != \"\" {\n $suffix: \"-\" + $suffix;\n }\n\n @each $property in margin, padding {\n @each $direction in top, bottom {\n @each $size, $amount in $spacing {\n .tna-\\!--#{$property}-#{$direction}-#{$size}#{$suffix},\n .tna-\\!--#{$property}-vertical-#{$size}#{$suffix} {\n #{$property}-#{$direction}: #{$amount} !important;\n }\n }\n }\n }\n}\n\n@include no-spacing-generator;\n@include overrides(spacing.$spacing);\n\n@include media.on-medium {\n @include no-spacing-generator(\"medium\");\n @include overrides(spacing.$spacing, \"medium\");\n}\n\n@include media.on-small {\n @include no-spacing-generator(\"small\");\n @include overrides(spacing.$spacing-mobile, \"small\");\n}\n\n@include media.on-tiny {\n @include no-spacing-generator(\"tiny\");\n @include overrides(spacing.$spacing-mobile, \"tiny\");\n}\n","@use \"sass:math\";\n@use \"colour\";\n@use \"../variables/typography\";\n\n@mixin relative-font-size($fontSizePx) {\n font-size: #{math.div($fontSizePx, typography.$relative-1rem-px)}rem;\n}\n\n@mixin interacted-text-decoration {\n text-decoration: underline;\n text-decoration-thickness: typography.$interactive-text-decoration-thickness;\n}\n\n@mixin main-font-weight {\n font-weight: typography.$font-weight-main;\n}\n\n@mixin main-font-weight-bold {\n font-weight: typography.$font-weight-main-bold;\n}\n\n@mixin main-font {\n font-family: typography.$font-family-main;\n @include main-font-weight;\n}\n\n@mixin heading-font {\n font-family: typography.$font-family-heading;\n font-weight: typography.$font-weight-heading;\n}\n\n@mixin detail-font {\n font-family: typography.$font-family-detail;\n font-weight: typography.$font-weight-detail;\n}\n\n@mixin detail-font-small {\n @include colour.colour-font(\"font-dark\");\n @include detail-font;\n @include relative-font-size(14);\n text-transform: uppercase;\n line-height: #{math.div(typography.$relative-1rem-px, 14)};\n // line-height: 1;\n}\n","@use \"sass:math\";\n\n$relative-1rem-px: 16;\n\n$body-font-size-px: 18 !default;\n$body-font-size-px-mobile: 17 !default;\n$body-line-height: #{math.div(16, 18) * 2} !default; // 1.77777\n\n$interactive-text-decoration-thickness: 3.5px !default;\n\n$font-family-main: \"Open Sans\", sans-serif !default;\n$font-weight-main: normal !default;\n$font-weight-main-bold: bold !default;\n\n$font-family-heading: supria-sans-condensed, \"Arial Narrow\", sans-serif !default;\n$font-weight-heading: 400 !default;\n\n$font-family-detail: \"Roboto Mono\", monospace !default;\n$font-weight-detail: normal !default;\n","$largest-container-width: 75.25rem !default;\n\n$gutter-width: 2rem !default;\n$gutter-width-tiny: 1rem !default;\n\n$column-count: 12;\n$column-count-medium: 6;\n$column-count-small: 4;\n$column-count-tiny: 2;\n","@use \"sass:math\";\n@use \"../../variables/grid\";\n@use \"../../tools/media\";\n@use \"../../tools/grid\" as gridTools;\n@use \"../../utilities\";\n\n.tna-container {\n max-width: grid.$largest-container-width;\n width: 100%;\n margin-right: auto;\n margin-left: auto;\n padding-right: math.div(grid.$gutter-width, 2);\n padding-left: math.div(grid.$gutter-width, 2);\n\n box-sizing: border-box;\n\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-start;\n align-items: stretch;\n\n &--no-padding,\n &--no-padding-all {\n max-width: grid.$largest-container-width - (grid.$gutter-width * 2);\n }\n\n &--max {\n max-width: none;\n }\n\n &--centred {\n justify-content: center;\n }\n}\n\n.tna-column {\n margin: 0;\n padding-right: math.div(grid.$gutter-width, 2);\n padding-left: math.div(grid.$gutter-width, 2);\n\n box-sizing: border-box;\n\n &--container {\n display: flex;\n flex-wrap: wrap;\n justify-content: stretch;\n align-items: stretch;\n }\n}\n\n@include gridTools.columns-generator(grid.$column-count);\n\n@include media.on-medium {\n @include gridTools.columns-generator(grid.$column-count-medium, \"medium\");\n}\n\n@include media.on-tiny {\n .tna-container {\n padding-right: math.div(grid.$gutter-width-tiny, 2);\n padding-left: math.div(grid.$gutter-width-tiny, 2);\n }\n\n .tna-column {\n padding-right: math.div(grid.$gutter-width-tiny, 2);\n padding-left: math.div(grid.$gutter-width-tiny, 2);\n }\n}\n\n@include media.on-small {\n @include gridTools.columns-generator(grid.$column-count-small, \"small\");\n}\n\n@include media.on-tiny {\n @include gridTools.columns-generator(grid.$column-count-tiny, \"tiny\");\n}\n\n.tna-container--no-padding,\n.tna-container--no-padding-all,\n.tna-container--no-padding-all > .tna-column,\n.tna-column--no-padding,\n.tna-column--container--no-padding-all,\n.tna-column--container--no-padding-all > .tna-column {\n padding-right: 0;\n padding-left: 0;\n}\n","@use \"sass:math\";\n@use \"../variables/grid\";\n\n@mixin columns-generator($count, $suffix: \"\") {\n @if $suffix != \"\" {\n $suffix: \"-\" + $suffix;\n }\n\n .tna-column {\n &--full#{$suffix} {\n width: 100%;\n flex: none;\n }\n\n @for $i from 1 through $count - 1 {\n $simplest-fraction-found: false;\n\n @for $j from math.div($count, 2) through 1 {\n @if (\n $count % $j == 0 and $i % $j == 0 and $simplest-fraction-found != true\n ) {\n &--width-#{math.div($i, $j)}-#{math.div($count, $j)}#{$suffix} {\n width: math.div(100%, $count) * $i;\n flex: none;\n }\n\n // .column--margin-right-#{math.div($i, $j)}-#{math.div($count, $j)}#{$suffix} {\n // margin-right: math.div(100%, $count) * $i;\n // }\n\n // .column--margin-left-#{math.div($i, $j)}-#{math.div($count, $j)}#{$suffix} {\n // margin-left: math.div(100%, $count) * $i;\n // }\n\n $simplest-fraction-found: true;\n }\n }\n\n @if $simplest-fraction-found != true {\n &--width-#{$i}-#{$count}#{$suffix} {\n width: math.div(100%, $count) * $i;\n flex: none;\n }\n\n // .column--margin-right-#{$i}-#{$count}#{$suffix} {\n // margin-right: math.div(100%, $count) * $i;\n // }\n\n // .column--margin-left-#{$i}-#{$count}#{$suffix} {\n // margin-left: math.div(100%, $count) * $i;\n // }\n }\n }\n\n @for $i from 1 through 3 {\n &--flex-#{$i}#{$suffix} {\n width: auto;\n\n flex: $i 0;\n }\n }\n\n @for $i from 1 through 4 {\n &--order-#{$i}#{$suffix} {\n order: $i;\n }\n }\n }\n}\n","@use \"sass:math\";\n@use \"../../variables/colour\" as colourVars; // TODO\n@use \"../../variables/grid\" as gridVars;\n@use \"../../tools/colour\";\n@use \"../../tools/typography\";\n@use \"../../tools/media\";\n@use \"../../utilities\";\n@use \"../grid\";\n\n// TODO: Only for the header component at the moment - remove on redesign\n@mixin uninvert {\n @include colour.colour-css-vars;\n\n .tna-template--system-theme & {\n @include colour.colour-css-vars;\n\n @media (prefers-color-scheme: dark) {\n @include colour.colour-css-vars-dark;\n }\n\n @media (prefers-contrast: more) {\n @include colour.colour-css-vars-high-contrast;\n }\n\n @media (prefers-contrast: more) and (prefers-color-scheme: dark) {\n @include colour.colour-css-vars-high-contrast-dark;\n }\n }\n\n .tna-template--light-theme & {\n @include colour.colour-css-vars;\n }\n\n .tna-template--dark-theme & {\n @include colour.colour-css-vars-dark;\n }\n\n .tna-template--high-contrast-theme & {\n @include colour.colour-css-vars-high-contrast;\n }\n\n .tna-template--high-contrast-theme.tna-template--dark-theme & {\n @include colour.colour-css-vars-high-contrast-dark;\n }\n}\n\n.tna-header {\n @include colour.invert;\n\n color: colour.brand-colour(\"white\");\n\n background-color: colour.brand-colour(\"black\");\n\n &__exit {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n\n text-align: right;\n\n background-color: colourVars.$dark-grey;\n }\n\n &__exit-link {\n text-decoration: none;\n @include typography.relative-font-size(16);\n\n &,\n &:link,\n &:visited {\n color: #fff;\n }\n\n &:hover {\n text-decoration: underline;\n }\n }\n\n &__exit-link-icon {\n width: 0.825rem;\n height: 0.825rem;\n margin-right: 0.125rem;\n margin-left: 0.5rem;\n\n display: inline-block;\n\n position: relative;\n\n vertical-align: middle;\n\n border: 0.125rem #fff solid;\n\n &::before {\n position: absolute;\n top: -0.25rem;\n right: -0.25rem;\n z-index: 2;\n\n border: 0.25rem transparent solid;\n border-top-color: #fff;\n border-right-color: #fff;\n\n content: \"\";\n }\n\n &::after {\n width: 0.25rem;\n height: 0.825rem;\n\n position: absolute;\n top: -0.125rem;\n right: -0.125rem;\n z-index: 1;\n\n background-color: #fff;\n\n outline: 0.2rem colourVars.$dark-grey solid;\n\n transform: rotate(45deg) translateX(50%);\n transform-origin: 100% 0;\n\n content: \"\";\n }\n }\n\n &__contents {\n &.tna-container {\n justify-content: space-between;\n }\n }\n\n &__logo {\n padding-top: 1.5rem;\n padding-bottom: 1.5rem;\n }\n\n &__logo-link {\n display: flex;\n align-items: flex-end;\n\n color: inherit;\n text-decoration: none;\n\n &,\n &:link,\n &:visited {\n color: inherit;\n }\n\n &:hover {\n text-decoration: none;\n }\n\n // &--href {\n // &:hover {\n // outline: 0.375rem #fff solid;\n // outline-offset: 1px;\n\n // // .tna-logo__background {\n // // fill: #fff;\n // // }\n\n // // .tna-logo__foreground {\n // // fill: #000;\n // // }\n // }\n // }\n }\n\n .tna-logo {\n width: 6rem;\n height: 6rem;\n\n display: inline-block;\n }\n\n &__logo-link--href:hover .tna-logo {\n outline: 0.375rem #fff solid;\n outline-offset: 1px;\n }\n\n &__logo-link--href:active .tna-logo,\n &__logo-link--href:focus .tna-logo {\n outline: none;\n }\n\n .tna-logo__foreground {\n fill: #fff;\n }\n\n .tna-logo__background {\n fill: none;\n }\n\n &__logo-strapline {\n margin: 0 0.75rem;\n\n display: inline-block;\n\n line-height: 2.125;\n text-transform: uppercase;\n }\n\n &__navigation-toggle {\n align-self: center;\n }\n\n &__hamburger {\n width: 2rem;\n height: 0.25rem;\n\n display: block;\n\n background-color: #fff;\n\n transition: height 1ms 200ms;\n\n &::before,\n &::after {\n height: 0.25rem;\n\n display: block;\n\n position: absolute;\n right: 0;\n left: 0;\n\n background-color: inherit;\n\n transition:\n top 200ms 200ms,\n bottom 200ms 200ms,\n transform 200ms;\n\n content: \"\";\n }\n\n &::before {\n top: 0;\n }\n\n &::after {\n bottom: 0;\n }\n }\n\n &__navigation-toggle-button {\n height: 2rem;\n padding: 0;\n\n display: block;\n\n position: relative;\n\n appearance: none;\n\n font-size: 0;\n\n background: none;\n\n border: 0 transparent solid;\n border-width: 0.25rem 0;\n\n cursor: pointer;\n\n &--opened {\n .tna-header__hamburger {\n height: 0;\n\n &::before,\n &::after {\n transition:\n top 200ms,\n bottom 200ms,\n transform 200ms 200ms;\n }\n\n &::before {\n top: 0.625rem;\n\n transform: rotate(-135deg);\n }\n\n &::after {\n bottom: 0.625rem;\n\n transform: rotate(135deg);\n }\n }\n }\n }\n\n &--yellow,\n &--pink,\n &--orange,\n &--green,\n &--blue {\n color: colour.brand-colour(\"black\");\n\n .tna-header__logo-link {\n &:hover {\n .tna-logo {\n outline-color: #000;\n }\n }\n }\n\n .tna-logo__foreground {\n fill: #000;\n }\n\n .tna-header__hamburger {\n background-color: colour.brand-colour(\"black\");\n }\n }\n\n &--yellow {\n background-color: colour.brand-colour(\"yellow\");\n }\n\n &--pink {\n background-color: colour.brand-colour(\"pink\");\n }\n\n &--orange {\n background-color: colour.brand-colour(\"orange\");\n }\n\n &--green {\n background-color: colour.brand-colour(\"green\");\n }\n\n &--blue {\n background-color: colour.brand-colour(\"blue\");\n }\n\n &__navigation {\n display: flex;\n flex-direction: column-reverse;\n justify-content: space-between;\n align-items: flex-end;\n }\n\n &__top-navigation-items {\n margin: 0;\n padding: 1.25rem 0;\n\n // order: 1;\n\n list-style: none;\n\n line-height: 1;\n }\n\n &__top-navigation-item {\n margin-left: 1.5rem;\n\n display: inline-block;\n }\n\n &__top-navigation-item-link {\n display: inline-block;\n\n text-decoration: none;\n @include typography.relative-font-size(16);\n\n &,\n &:link,\n &:visited {\n color: inherit;\n }\n\n &:hover,\n &--selected {\n &,\n &:link,\n &:visited {\n @include typography.interacted-text-decoration;\n }\n }\n }\n\n &__navigation-items {\n margin: 0;\n padding: 0;\n\n // order: 2;\n\n list-style: none;\n\n white-space: nowrap;\n }\n\n &__navigation-item {\n margin-left: 0.75rem;\n\n display: inline-block;\n }\n\n &__navigation-item-link {\n padding: 0.5rem 1rem;\n\n display: inline-block;\n\n @include typography.heading-font;\n text-decoration: none;\n line-height: 2;\n\n // transition:\n // color 200ms,\n // background-color 200ms;\n\n &,\n &:link,\n &:visited {\n color: inherit;\n }\n\n &:hover,\n &--selected {\n text-decoration: none;\n\n &,\n &:link,\n &:visited {\n @include uninvert;\n @include colour.colour-font(\"font-dark\");\n @include colour.colour-background(\"page-background\");\n }\n }\n }\n\n @include media.on-larger-than-mobile {\n .tna-header__navigation-toggle {\n display: none;\n }\n }\n\n @include media.on-mobile {\n &__contents {\n &.tna-container {\n padding-right: 0;\n padding-left: 0;\n }\n }\n\n &__logo {\n padding-top: 1rem;\n padding-bottom: 1rem;\n }\n\n .tna-logo {\n width: 4.5rem;\n height: 4.5rem;\n }\n\n &__logo-strapline {\n line-height: 1.55;\n }\n\n &__navigation-toggle {\n &.tna-column {\n padding-right: gridVars.$gutter-width-tiny;\n padding-left: 0;\n }\n }\n\n &__navigation {\n @include uninvert;\n @include colour.colour-font(\"font-base\");\n @include typography.relative-font-size(20);\n\n align-items: stretch;\n flex-direction: column;\n\n &.tna-column {\n padding-right: 0;\n padding-left: 0;\n }\n\n .tna-template--js-enabled & {\n display: none;\n\n &--open {\n display: flex;\n }\n }\n }\n\n &__top-navigation-items {\n padding: 0.5rem 1rem;\n\n // text-align: center;\n\n @include colour.colour-background(\"page-background\");\n\n @include colour.colour-border(\"keyline\", 1px, solid, bottom);\n }\n\n &__top-navigation-item {\n margin: 0;\n padding: 0.5rem;\n }\n\n &__top-navigation-item-link {\n }\n\n &__navigation-items {\n width: 100%;\n\n @include colour.colour-background(\"page-background\");\n }\n\n &__navigation-item {\n margin: 0;\n\n display: block;\n\n @include colour.colour-border(\"keyline\", 1px, solid, bottom);\n }\n\n &__navigation-item-link {\n padding-right: gridVars.$gutter-width-tiny;\n padding-left: gridVars.$gutter-width-tiny + 1rem;\n\n display: block;\n\n position: relative;\n\n line-height: #{math.div(1, 1.125) * 2};\n\n &::after {\n width: 0;\n\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n\n @include colour.colour-background(\"font-dark\");\n\n // transition: width 200ms;\n\n content: \"\";\n }\n\n &:hover {\n &::after {\n width: 0.25rem;\n\n // transition: width 50ms;\n }\n }\n\n &--selected {\n &::after,\n &:hover::after {\n width: 0.5rem;\n }\n }\n }\n }\n\n @include media.on-tiny {\n &__logo {\n &.tna-column {\n padding-right: gridVars.$gutter-width-tiny;\n padding-left: gridVars.$gutter-width-tiny;\n }\n }\n\n .tna-logo {\n width: 3.5rem;\n height: 3.5rem;\n }\n\n &__logo-strapline {\n line-height: 1.25;\n }\n }\n}\n","@use \"sass:map\";\n\n$colour-palette-brand: (\n \"black\": #000,\n \"grey\": #8c9694,\n \"light-grey\": #d9d9d6,\n \"white\": #fff,\n\n \"yellow\": #fc0,\n \"pink\": #fe1d57,\n \"orange\": #fd3f03,\n \"green\": #86bc25,\n \"blue\": #00b0ff,\n\n \"brown\": #654e37,\n \"maroon\": #9c193a,\n \"chestnut\": #8f3415,\n \"forest\": #00623b,\n \"navy\": #004c7e,\n\n \"cream\": #f9f7e2,\n \"pastel-pink\": #fad3d4,\n \"pastel-orange\": #f9e1bc,\n \"pastel-green\": #dde5d5,\n \"pastel-blue\": #d4e5ef,\n);\n\n@function hex-to-rgb($hex, $opacity: 1) {\n @if $opacity == 1 {\n @return rgb(red($hex) green($hex) blue($hex));\n } @else {\n @return rgb(red($hex) green($hex) blue($hex) / #{$opacity});\n }\n}\n\n@function brand-colour($colour, $opacity: 1) {\n @return hex-to-rgb(map.get($colour-palette-brand, $colour), $opacity);\n}\n\n$dark-grey: #26262a;\n$base-font: #343338 !default;\n$link-colour: #1d70ab !default;\n$link-colour-visited: #4c2c92 !default;\n\n/*\n=========================================\nLIGHT THEME (DEFAULT)\n=========================================\n*/\n$colour-palette-default: (\n \"page-background\": #f4f4f4,\n \"background-tint\": #d8d8d8,\n \"font-base\": $base-font,\n \"font-dark\": brand-colour(\"black\"),\n \"font-light\": hex-to-rgb($base-font, 0.7),\n \"icon-light\": hex-to-rgb($base-font, 0.45),\n \"link\": $link-colour,\n \"link-visited\": $link-colour-visited,\n \"focus-outline\": brand-colour(\"blue\"),\n \"keyline\": hex-to-rgb($dark-grey, 0.25),\n \"keyline-dark\": $dark-grey,\n \"button-text\": brand-colour(\"white\"),\n \"button-background\": brand-colour(\"black\"),\n \"button-hover-text\": brand-colour(\"black\"),\n \"button-hover-background\": brand-colour(\"white\"),\n \"contrast-background\": #1e1e1e,\n \"contrast-font-base\": brand-colour(\"white\"),\n \"contrast-font-dark\": brand-colour(\"white\"),\n // \"contrast-font-light\": brand-colour(\"white\", 0.7),\n \"contrast-font-light\": brand-colour(\"white\", 0.7),\n \"contrast-icon-light\": brand-colour(\"white\", 0.45),\n \"contrast-link\": brand-colour(\"white\"),\n \"contrast-link-visited\": brand-colour(\"white\"),\n \"contrast-keyline\": brand-colour(\"white\", 0.5),\n \"contrast-keyline-dark\": brand-colour(\"white\", 0.8),\n \"contrast-button-text\": brand-colour(\"black\"),\n \"contrast-button-background\": brand-colour(\"white\"),\n \"contrast-button-hover-text\": brand-colour(\"white\"),\n \"contrast-button-hover-background\": brand-colour(\"black\"),\n \"accent\": map.get($colour-palette-brand, \"light-grey\"),\n \"accent-background\": #111,\n \"accent-background-light\": map.get($colour-palette-brand, \"light-grey\"),\n \"accent-font-base\": brand-colour(\"white\"),\n \"accent-font-dark\": brand-colour(\"white\"),\n \"accent-font-light\": brand-colour(\"white\", 0.7),\n \"accent-icon-light\": brand-colour(\"white\", 0.45),\n \"accent-link\": brand-colour(\"white\"),\n \"accent-link-visited\": #b9f,\n \"accent-keyline\": brand-colour(\"white\", 0.5),\n \"accent-keyline-dark\": brand-colour(\"white\", 0.8),\n \"button-accent-text\": brand-colour(\"black\"),\n \"button-accent-background\": brand-colour(\"grey\"),\n) !default;\n\n/*\n=========================================\nDARK THEME\n=========================================\n*/\n$colour-palette-dark: map.merge(\n $colour-palette-default,\n (\n \"page-background\": #111,\n \"background-tint\": #333,\n \"font-base\": brand-colour(\"white\", 0.95),\n \"font-dark\": brand-colour(\"white\"),\n \"font-light\": brand-colour(\"white\", 0.5),\n \"icon-light\": brand-colour(\"white\", 0.35),\n \"link\": brand-colour(\"blue\"),\n \"link-visited\": #a8f,\n \"keyline\": brand-colour(\"white\", 0.25),\n \"keyline-dark\": brand-colour(\"white\"),\n \"button-text\": brand-colour(\"black\"),\n \"button-background\": brand-colour(\"white\"),\n \"button-hover-text\": brand-colour(\"white\"),\n \"button-hover-background\": brand-colour(\"black\"),\n \"contrast-background\": #1e1e1e,\n \"contrast-link-visited\":\n map.get($colour-palette-default, \"contrast-link-visited\"),\n // --accent-background-light is the same as --contrast-background on dark themes\n \"accent-background-light\": brand-colour(\"grey\"),\n )\n) !default;\n\n/*\n=========================================\nLIGHT, HIGH_CONTRAST THEME\n=========================================\n*/\n$colour-palette-high-contrast: map.merge(\n $colour-palette-default,\n (\n \"page-background\": brand-colour(\"white\"),\n \"font-base\": brand-colour(\"black\"),\n \"font-light\": brand-colour(\"black\"),\n \"icon-light\": brand-colour(\"black\", 0.75),\n \"link\": brand-colour(\"navy\"),\n \"link-visited\": brand-colour(\"black\"),\n \"focus-outline\": brand-colour(\"orange\"),\n \"keyline\": brand-colour(\"black\"),\n \"keyline-dark\": brand-colour(\"black\"),\n \"contrast-background\": #f4f4f4,\n \"contrast-font-base\": brand-colour(\"black\"),\n \"contrast-font-dark\": brand-colour(\"black\"),\n \"contrast-font-light\": brand-colour(\"black\"),\n \"contrast-link\": brand-colour(\"navy\"),\n \"contrast-link-visited\": brand-colour(\"black\"),\n \"contrast-keyline\": brand-colour(\"black\"),\n \"contrast-keyline-dark\": brand-colour(\"black\"),\n \"contrast-button-text\": brand-colour(\"white\"),\n \"contrast-button-background\": brand-colour(\"black\"),\n \"contrast-button-hover-text\": brand-colour(\"black\"),\n \"contrast-button-hover-background\": brand-colour(\"white\"),\n )\n) !default;\n\n/*\n=========================================\nDARK, HIGH_CONTRAST THEME\n=========================================\n*/\n$colour-palette-high-contrast-dark: map.merge(\n $colour-palette-dark,\n (\n \"page-background\": brand-colour(\"black\"),\n \"font-base\": brand-colour(\"white\"),\n \"font-light\": brand-colour(\"white\"),\n \"icon-light\": brand-colour(\"white\", 0.75),\n \"link\": brand-colour(\"white\"),\n \"link-visited\": brand-colour(\"white\"),\n \"keyline\": brand-colour(\"white\"),\n \"contrast-background\": #111,\n )\n) !default;\n"]}
|
@@ -72,19 +72,6 @@
|
|
72
72
|
|
73
73
|
&:hover {
|
74
74
|
text-decoration: underline;
|
75
|
-
|
76
|
-
// .tna-header__exit-link-icon {
|
77
|
-
// border-color: colour.$tna-yellow;
|
78
|
-
|
79
|
-
// &::before {
|
80
|
-
// border-top-color: colour.$tna-yellow;
|
81
|
-
// border-right-color: colour.$tna-yellow;
|
82
|
-
// }
|
83
|
-
|
84
|
-
// &::after {
|
85
|
-
// background-color: colour.$tna-yellow;
|
86
|
-
// }
|
87
|
-
// }
|
88
75
|
}
|
89
76
|
}
|
90
77
|
|
@@ -439,9 +426,6 @@
|
|
439
426
|
@include colour.colour-font("font-dark");
|
440
427
|
@include colour.colour-background("page-background");
|
441
428
|
}
|
442
|
-
// transition:
|
443
|
-
// color 50ms,
|
444
|
-
// background-color 50ms;
|
445
429
|
}
|
446
430
|
}
|
447
431
|
|
@@ -462,11 +446,6 @@
|
|
462
446
|
&__logo {
|
463
447
|
padding-top: 1rem;
|
464
448
|
padding-bottom: 1rem;
|
465
|
-
|
466
|
-
&.tna-column {
|
467
|
-
padding-right: gridVars.$gutter-width-mobile;
|
468
|
-
padding-left: gridVars.$gutter-width-mobile;
|
469
|
-
}
|
470
449
|
}
|
471
450
|
|
472
451
|
.tna-logo {
|
@@ -480,7 +459,7 @@
|
|
480
459
|
|
481
460
|
&__navigation-toggle {
|
482
461
|
&.tna-column {
|
483
|
-
padding-right: gridVars.$gutter-width-
|
462
|
+
padding-right: gridVars.$gutter-width-tiny;
|
484
463
|
padding-left: 0;
|
485
464
|
}
|
486
465
|
}
|
@@ -540,8 +519,8 @@
|
|
540
519
|
}
|
541
520
|
|
542
521
|
&__navigation-item-link {
|
543
|
-
padding-right: gridVars.$gutter-width-
|
544
|
-
padding-left: gridVars.$gutter-width-
|
522
|
+
padding-right: gridVars.$gutter-width-tiny;
|
523
|
+
padding-left: gridVars.$gutter-width-tiny + 1rem;
|
545
524
|
|
546
525
|
display: block;
|
547
526
|
|
@@ -582,6 +561,13 @@
|
|
582
561
|
}
|
583
562
|
|
584
563
|
@include media.on-tiny {
|
564
|
+
&__logo {
|
565
|
+
&.tna-column {
|
566
|
+
padding-right: gridVars.$gutter-width-tiny;
|
567
|
+
padding-left: gridVars.$gutter-width-tiny;
|
568
|
+
}
|
569
|
+
}
|
570
|
+
|
585
571
|
.tna-logo {
|
586
572
|
width: 3.5rem;
|
587
573
|
height: 3.5rem;
|
@@ -5,14 +5,93 @@
|
|
5
5
|
"name": "minimal",
|
6
6
|
"options": {
|
7
7
|
"heading": "Title",
|
8
|
-
"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
8
|
+
"imageSrc": "https://www.nationalarchives.gov.uk/wp-content/uploads/sites/24/2023/07/tna-building-compress.jpg",
|
9
|
+
"imageAlt": "The National Archives office",
|
10
|
+
"imageWidth": 499,
|
11
|
+
"imageHeight": 333
|
12
|
+
},
|
13
|
+
"html": "<header class=\"tna-hero \"><figure class=\"tna-hero__figure\"><img src=\"https://www.nationalarchives.gov.uk/wp-content/uploads/sites/24/2023/07/tna-building-compress.jpg\" alt=\"The National Archives office\" class=\"tna-hero__image\" width=\"499\" height=\"333\"><div class=\"tna-container tna-hero__inner\"><div class=\"tna-column tna-column--width-2-3 tna-column--full-small tna-column--full-tiny tna-hero__content\"><div class=\"tna-hero__content-inner\"><h1 class=\"tna-heading tna-heading--xl tna-hero__heading\">Title</h1></div></div></div></figure></header>",
|
14
|
+
"hidden": false
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"name": "with body",
|
18
|
+
"options": {
|
19
|
+
"heading": "Title",
|
20
|
+
"body": "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>",
|
21
|
+
"imageSrc": "https://www.nationalarchives.gov.uk/wp-content/uploads/sites/24/2023/07/tna-building-compress.jpg",
|
22
|
+
"imageAlt": "The National Archives office",
|
23
|
+
"imageWidth": 499,
|
24
|
+
"imageHeight": 333
|
25
|
+
},
|
26
|
+
"html": "<header class=\"tna-hero \"><figure class=\"tna-hero__figure\"><img src=\"https://www.nationalarchives.gov.uk/wp-content/uploads/sites/24/2023/07/tna-building-compress.jpg\" alt=\"The National Archives office\" class=\"tna-hero__image\" width=\"499\" height=\"333\"><div class=\"tna-container tna-hero__inner\"><div class=\"tna-column tna-column--width-2-3 tna-column--full-small tna-column--full-tiny tna-hero__content\"><div class=\"tna-hero__content-inner\"><h1 class=\"tna-heading tna-heading--xl tna-hero__heading\">Title</h1><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p></div></div></div></figure></header>",
|
27
|
+
"hidden": false
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"name": "with text",
|
31
|
+
"options": {
|
32
|
+
"heading": "Title",
|
33
|
+
"text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
|
34
|
+
"imageSrc": "https://www.nationalarchives.gov.uk/wp-content/uploads/sites/24/2023/07/tna-building-compress.jpg",
|
35
|
+
"imageAlt": "The National Archives office",
|
36
|
+
"imageWidth": 499,
|
37
|
+
"imageHeight": 333
|
38
|
+
},
|
39
|
+
"html": "<header class=\"tna-hero \"><figure class=\"tna-hero__figure\"><img src=\"https://www.nationalarchives.gov.uk/wp-content/uploads/sites/24/2023/07/tna-building-compress.jpg\" alt=\"The National Archives office\" class=\"tna-hero__image\" width=\"499\" height=\"333\"><div class=\"tna-container tna-hero__inner\"><div class=\"tna-column tna-column--width-2-3 tna-column--full-small tna-column--full-tiny tna-hero__content\"><div class=\"tna-hero__content-inner\"><h1 class=\"tna-heading tna-heading--xl tna-hero__heading\">Title</h1><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p></div></div></div></figure></header>",
|
40
|
+
"hidden": false
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"name": "with caption",
|
44
|
+
"options": {
|
45
|
+
"heading": "Title",
|
46
|
+
"imageSrc": "https://www.nationalarchives.gov.uk/wp-content/uploads/sites/24/2023/07/tna-building-compress.jpg",
|
47
|
+
"imageAlt": "The National Archives office",
|
48
|
+
"imageWidth": 499,
|
49
|
+
"imageHeight": 333,
|
50
|
+
"imageCaption": "An interesting photo by a famous photographer ©2023"
|
51
|
+
},
|
52
|
+
"html": "<header class=\"tna-hero \"><figure class=\"tna-hero__figure\"><figcaption class=\"tna-hero__caption\"><details class=\"tna-hero__details\"><summary class=\"tna-hero__details-summary\"><span class=\"tna-hero__details-summary-icon\">I</span>mage caption</summary><div class=\"tna-hero__information\"><p>An interesting photo by a famous photographer ©2023</p></div></details></figcaption><img src=\"https://www.nationalarchives.gov.uk/wp-content/uploads/sites/24/2023/07/tna-building-compress.jpg\" alt=\"The National Archives office\" class=\"tna-hero__image\" width=\"499\" height=\"333\"><div class=\"tna-container tna-hero__inner\"><div class=\"tna-column tna-column--width-2-3 tna-column--full-small tna-column--full-tiny tna-hero__content\"><div class=\"tna-hero__content-inner\"><h1 class=\"tna-heading tna-heading--xl tna-hero__heading\">Title</h1></div></div></div></figure></header>",
|
53
|
+
"hidden": false
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"name": "image only",
|
57
|
+
"options": {
|
58
|
+
"imageSrc": "https://www.nationalarchives.gov.uk/wp-content/uploads/sites/24/2023/07/tna-building-compress.jpg",
|
59
|
+
"imageAlt": "The National Archives office",
|
60
|
+
"imageWidth": 499,
|
61
|
+
"imageHeight": 333,
|
62
|
+
"imageCaption": "An interesting photo by a famous photographer ©2023"
|
63
|
+
},
|
64
|
+
"html": "<div class=\"tna-hero \"><figure class=\"tna-hero__figure\"><figcaption class=\"tna-hero__caption\"><details class=\"tna-hero__details\"><summary class=\"tna-hero__details-summary\"><span class=\"tna-hero__details-summary-icon\">I</span>mage caption</summary><div class=\"tna-hero__information\"><p>An interesting photo by a famous photographer ©2023</p></div></details></figcaption><img src=\"https://www.nationalarchives.gov.uk/wp-content/uploads/sites/24/2023/07/tna-building-compress.jpg\" alt=\"The National Archives office\" class=\"tna-hero__image\" width=\"499\" height=\"333\"></figure></div>",
|
65
|
+
"hidden": false
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"name": "with classes",
|
69
|
+
"options": {
|
70
|
+
"heading": "Title",
|
71
|
+
"imageSrc": "https://www.nationalarchives.gov.uk/wp-content/uploads/sites/24/2023/07/tna-building-compress.jpg",
|
72
|
+
"imageAlt": "The National Archives office",
|
73
|
+
"imageWidth": 499,
|
74
|
+
"imageHeight": 333,
|
75
|
+
"imageCaption": "An interesting photo by a famous photographer ©2023",
|
76
|
+
"classes": "hero__test-class"
|
77
|
+
},
|
78
|
+
"html": "<header class=\"tna-hero hero__test-class\"><figure class=\"tna-hero__figure\"><figcaption class=\"tna-hero__caption\"><details class=\"tna-hero__details\"><summary class=\"tna-hero__details-summary\"><span class=\"tna-hero__details-summary-icon\">I</span>mage caption</summary><div class=\"tna-hero__information\"><p>An interesting photo by a famous photographer ©2023</p></div></details></figcaption><img src=\"https://www.nationalarchives.gov.uk/wp-content/uploads/sites/24/2023/07/tna-building-compress.jpg\" alt=\"The National Archives office\" class=\"tna-hero__image\" width=\"499\" height=\"333\"><div class=\"tna-container tna-hero__inner\"><div class=\"tna-column tna-column--width-2-3 tna-column--full-small tna-column--full-tiny tna-hero__content\"><div class=\"tna-hero__content-inner\"><h1 class=\"tna-heading tna-heading--xl tna-hero__heading\">Title</h1></div></div></div></figure></header>",
|
79
|
+
"hidden": false
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"name": "with attributes",
|
83
|
+
"options": {
|
84
|
+
"heading": "Title",
|
85
|
+
"imageSrc": "https://www.nationalarchives.gov.uk/wp-content/uploads/sites/24/2023/07/tna-building-compress.jpg",
|
86
|
+
"imageAlt": "The National Archives office",
|
87
|
+
"imageWidth": 499,
|
88
|
+
"imageHeight": 333,
|
89
|
+
"imageCaption": "An interesting photo by a famous photographer ©2023",
|
90
|
+
"attributes": {
|
91
|
+
"data-testattribute": "foobar"
|
13
92
|
}
|
14
93
|
},
|
15
|
-
"html": "<header class=\"tna-hero \"><img src=\"https://www.nationalarchives.gov.uk/wp-content/uploads/sites/24/2023/07/tna-building-compress.jpg\" alt=\"The National Archives office\" class=\"tna-hero__image\" width=\"
|
94
|
+
"html": "<header class=\"tna-hero \" data-testattribute=\"foobar\"><figure class=\"tna-hero__figure\"><figcaption class=\"tna-hero__caption\"><details class=\"tna-hero__details\"><summary class=\"tna-hero__details-summary\"><span class=\"tna-hero__details-summary-icon\">I</span>mage caption</summary><div class=\"tna-hero__information\"><p>An interesting photo by a famous photographer ©2023</p></div></details></figcaption><img src=\"https://www.nationalarchives.gov.uk/wp-content/uploads/sites/24/2023/07/tna-building-compress.jpg\" alt=\"The National Archives office\" class=\"tna-hero__image\" width=\"499\" height=\"333\"><div class=\"tna-container tna-hero__inner\"><div class=\"tna-column tna-column--width-2-3 tna-column--full-small tna-column--full-tiny tna-hero__content\"><div class=\"tna-hero__content-inner\"><h1 class=\"tna-heading tna-heading--xl tna-hero__heading\">Title</h1></div></div></div></figure></header>",
|
16
95
|
"hidden": false
|
17
96
|
}
|
18
97
|
]
|