Skip to content

Commit

Permalink
Update design of documentation site
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Dec 23, 2023
1 parent b8a73cf commit bc1480c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions docs/_components/example/_example.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@
background: $govuk-body-background-colour;
border-top: 1px solid $govuk-border-colour;
padding: govuk-spacing(2);
max-width: initial !important;
}
2 changes: 0 additions & 2 deletions docs/assets/sass/settings.scss

This file was deleted.

4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ startButton:

<div class="govuk-grid-row">
{% for item in collections.homepage %}
<section class="govuk-grid-column-one-third-from-desktop govuk-!-margin-bottom-8">
<section class="govuk-grid-column-one-quarter-from-desktop govuk-!-margin-bottom-8">
<h2 class="govuk-heading-m govuk-!-margin-bottom-2">
<a class="govuk-link--no-visited-state" href="{{ item.url }}">{{ item.data.title | smart }}</a>
</h2>
<p class="govuk-body">{{ item.data.description | markdown("inline") }}</p>
</section>
{% if loop.index == 3 or loop.index == 6 %}
{% if loop.index == 4 or loop.index == 8 %}
</div>
<div class="govuk-grid-row">
{% endif %}
Expand Down
6 changes: 6 additions & 0 deletions docs/sass/_settings.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
$govuk-font-family: system-ui, sans-serif;
$govuk-brand-colour: #2288aa;
$govuk-link-colour: #006688;
$govuk-hover-colour: #004466;
$govuk-visited-colour: #333366;
$govuk-page-width: 1100px;

0 comments on commit bc1480c

Please sign in to comment.