Skip to content

Commit

Permalink
Merge pull request #519 from DFE-Digital/ui-updates
Browse files Browse the repository at this point in the history
UI updates
  • Loading branch information
mattb-hippo authored Oct 16, 2024
2 parents d181ba7 + 24f17a3 commit 42308a6
Show file tree
Hide file tree
Showing 11 changed files with 222 additions and 59 deletions.
2 changes: 1 addition & 1 deletion Childrens-Social-Care-CPD/Views/Shared/_HeroBanner.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<section class="app-section-beta app-section-beta__blue govuk-!-margin-bottom-8">
<div class="dfe-width-container">
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds-from-desktop">
<div class="govuk-grid-column-full">
<h1 class="body-header-font" data-testid="homepage-header">@Model.Title</h1>
<p class="govuk-body govuk-!-font-size-24 body-header-font">@Model.Text</p>
</div>
Expand Down
28 changes: 6 additions & 22 deletions Childrens-Social-Care-CPD/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Childrens-Social-Care-CPD/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dependencies": {
"@ministryofjustice/frontend": "^1.8.0",
"dfe-frontend-alpha": "^1.0.1",
"govuk-frontend": "^5.2.0",
"govuk-frontend": "^5.6.0",
"jquery": "^3.7.0"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/* STANDARD COLOURS */
body, p, h1, h2, h3, h4, h5, h6, a, span, div, table, th, td, blockquote, li, dt, dd, tr {
font-family: BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif !important;
@import url('https://rsms.me/inter/inter.css');

/* STANDARD COLOURS */
* {
font-family: 'Inter', sans-serif !important;
}

.logo {
Expand Down Expand Up @@ -64,6 +66,11 @@ body, p, h1, h2, h3, h4, h5, h6, a, span, div, table, th, td, blockquote, li, dt
background-color: #003a69;
}

h1,
.dfe-heading-xl, .govuk-heading-xl {
margin-bottom: 30px !important
}

.govuk-header__container {
position: relative;
margin-bottom: -10px;
Expand Down Expand Up @@ -334,7 +341,7 @@ CONTENT TITLE BANNER

.gem-c-contents-list__title {
color: #0b0c0c;
font-family: "GDS Transport", arial, sans-serif;
font-family: 'Inter', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: 400;
Expand All @@ -352,7 +359,7 @@ CONTENT TITLE BANNER

@media print {
.gem-c-contents-list__title {
font-family: sans-serif;
font-family: 'Inter', sans-serif;
}
}

Expand All @@ -373,7 +380,7 @@ CONTENT TITLE BANNER

.gem-c-contents-list__list, .gem-c-contents-list__nested-list {
color: #0b0c0c;
font-family: "GDS Transport", arial, sans-serif;
font-family: 'Inter', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: 400;
Expand All @@ -393,7 +400,7 @@ CONTENT TITLE BANNER

@media print {
.gem-c-contents-list__list, .gem-c-contents-list__nested-list {
font-family: sans-serif;
font-family: 'Inter', sans-serif;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Reference: http://blog.rrwd.nl/2015/04/04/the-screen-reader-text-class-why-and-h
.mejs__container {
background: #000;
box-sizing: border-box;
font-family: 'Helvetica', Arial, serif;
font-family: 'Inter', sans-serif;
position: relative;
text-align: left;
text-indent: 0;
Expand Down
1 change: 1 addition & 0 deletions Childrens-Social-Care-CPD/styles/scss/overrides/_site.scss
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@
/* Back to top component - styles taken from Help for Early Years */
.app-back-to-top {
margin-top: 60px;
font-size: 19px;
}

.app-back-to-top__icon {
Expand Down
Loading

0 comments on commit 42308a6

Please sign in to comment.