Skip to content

Commit

Permalink
Bold the title and have thicker nav underline
Browse files Browse the repository at this point in the history
  • Loading branch information
dabreegster committed Aug 8, 2024
1 parent c6456a9 commit 0242f43
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib/ServiceHeader.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</script>

<div class="service-header">
<div class="govuk-width-container govuk-caption-xl">{service}</div>
<div class="govuk-width-container govuk-caption-xl"><b>{service}</b></div>
</div>

<style>
Expand Down
4 changes: 3 additions & 1 deletion src/lib/files/FileManager.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,9 @@

<div class="govuk-grid-column-one-third">
<h2 class="green-bar">Create or import a file</h2>
<SecondaryButton on:click={newFile}>New blank scheme file</SecondaryButton>
<SecondaryButton on:click={newFile}>
New blank scheme file
</SecondaryButton>
<hr />
<FileInput label="Import from a .json file" onLoad={importJsonFile} />

Expand Down
10 changes: 9 additions & 1 deletion src/lib/nav/NavHeader.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
<ol>
{#each navList as [path, title, currentlyHere]}
<li>
<a href="{base}{path}" class:govuk-link--no-underline={!currentlyHere}>
<a
href="{base}{path}"
class="govuk-link--no-underline"
class:underline={currentlyHere}
>
{title}
</a>
</li>
Expand All @@ -34,4 +38,8 @@
li:first-child {
margin-left: 0;
}
.underline {
border-bottom: 5px solid #007161;
}
</style>

0 comments on commit 0242f43

Please sign in to comment.