generated from NHSDigital/nhs-notify-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from RossBugginsNHS/main
nhs formatting
- Loading branch information
Showing
20 changed files
with
186 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
layout: table_wrappers | ||
--- | ||
|
||
<!DOCTYPE html> | ||
|
||
<html lang="{{ site.lang | default: 'en-US' }}"> | ||
{% include head.html %} | ||
<body> | ||
<a class="skip-to-main" href="#main-content">Skip to main content</a> | ||
{% include icons/icons.html %} | ||
{% if page.nav_enabled == true %} | ||
{% include components/sidebar.html %} | ||
{% elsif layout.nav_enabled == true and page.nav_enabled == nil %} | ||
{% include components/sidebar.html %} | ||
{% elsif site.nav_enabled != false and layout.nav_enabled == nil and page.nav_enabled == nil %} | ||
{% include components/sidebar.html %} | ||
{% endif %} | ||
<div class="main" id="top"> | ||
{% include components/header.html %} | ||
<div class="main-content-wrap"> | ||
{% include components/breadcrumbs.html %} | ||
<div id="main-content" class="main-content"> | ||
<main> | ||
{% if site.heading_anchors != false %} | ||
{% include vendor/anchor_headings.html html=content beforeHeading="true" anchorBody="<svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><use xlink:href=\"#svg-link\"></use></svg>" anchorClass="anchor-heading" anchorAttrs="aria-labelledby=\"%html_id%\"" %} | ||
{% else %} | ||
{{ content }} | ||
{% endif %} | ||
|
||
{% if page.has_children == true and page.has_toc != false %} | ||
{% include components/children_nav.html %} | ||
{% endif %} | ||
</main> | ||
{% include components/footer.html %} | ||
</div> | ||
</div> | ||
{% if site.search_enabled != false %} | ||
{% include components/search_footer.html %} | ||
{% endif %} | ||
</div> | ||
|
||
{% if site.mermaid %} | ||
{% include components/mermaid.html %} | ||
{% endif %} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
{{ content }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,37 @@ | ||
@import "./color_schemes/light"; | ||
|
||
|
||
@font-face { | ||
font-family: "Frutiger W01"; | ||
font-style: normal; | ||
src: url("https://assets.nhs.uk/fonts/FrutigerLTW01-55Roman.woff2") format('woff2'); | ||
} | ||
|
||
@font-face { | ||
font-family: "Frutiger W01"; | ||
font-weight: 800; | ||
font-style: normal; | ||
src: url("https://assets.nhs.uk/fonts/FrutigerLTW01-65Bold.woff2") format('woff2'); | ||
} | ||
|
||
|
||
// Typography | ||
|
||
// prettier-ignore | ||
$body-font-family: "Frutiger W01", Arial, Sans-serif; | ||
$mono-font-family: "Frutiger W01", Arial, Sans-serif; | ||
$body-font-family: Frutiger W01,Arial,Sans-serif; | ||
$mono-font-family: Frutiger W01,Arial,Sans-serif; | ||
|
||
|
||
|
||
$blue-000: #005eb8; | ||
$grey-dk-000: #d8dde0; | ||
$grey-dk-100: #f0f4f5; | ||
$sidebar-color: $grey-dk-000; | ||
$grey-dk-300: #212B32; | ||
$sidebar-color: $grey-dk-100; | ||
$body-background-color: $grey-dk-100; | ||
$link-color: $blue-000; | ||
|
||
$font-size-7: 1.25rem; | ||
$font-size-6: 2rem; | ||
$font-size-8: 3rem; | ||
//$font-size-5: 1.188rem; // h3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
// Totally custom here. | ||
|
||
.nav-category { | ||
text-transform:none; | ||
color: $grey-dk-300; | ||
@include fs-4; | ||
font-weight: 600; | ||
} | ||
|
||
.site-title{ | ||
font-weight: 600; | ||
font-size: 1.2rem !important; | ||
} | ||
|
||
.nav-list { | ||
.nav-list-item { | ||
@include fs-4; | ||
font-weight: 400; | ||
-webkit-font-smoothing:antialiased; | ||
} | ||
} | ||
|
||
body { | ||
color: $grey-dk-300; | ||
font-size: 1.2rem !important; | ||
//line-height: 28px; | ||
//@include fs-5; | ||
} | ||
|
||
@media (min-width: 31.25rem) { | ||
h1, .text-alpha { | ||
font-size: 3rem !important; | ||
font-weight: 600; | ||
} | ||
} | ||
|
||
@media (min-width: 31.25rem) { | ||
h2, .text-alpha { | ||
font-size: 2rem !important; | ||
font-weight: 600; | ||
} | ||
} | ||
|
||
@media (min-width: 31.25rem) { | ||
h3, .text-alpha { | ||
font-size: 1.5rem !important; | ||
font-weight: 600; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.