Skip to content

Commit b38f8cd

Browse files
authored
Style EditionBanner with light blue theme and larger font (#104)
1 parent 10cf83e commit b38f8cd

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/components/EditionBanner.astro

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,24 @@ const latestUrl = latestEdition ? getVersionedPath(editionsConfig, Astro.url.pat
1212
{
1313
isOlderVersion && (
1414
<div>
15-
This content is for the {currentEdition.name} edition
15+
You are viewing {currentEdition.name}
1616
</div>
1717
)
1818
}
1919

2020
<style>
2121
div {
22-
background-color: var(--sl-color-orange-low);
22+
background-color: var(--sl-color-blue-low);
2323
box-shadow: var(--sl-shadow-sm);
24-
color: var(--sl-color-orange-high);
24+
color: var(--sl-color-blue-high);
25+
font-size: 1.1rem;
2526
line-height: var(--sl-line-height-headings);
2627
padding: var(--sl-nav-pad-y) var(--sl-nav-pad-x);
2728
text-align: center;
2829
text-wrap: balance;
2930
}
3031

3132
div a {
32-
color: var(--sl-color-orange-high);
33+
color: var(--sl-color-blue-high);
3334
}
3435
</style>

0 commit comments

Comments
 (0)