Skip to content

Commit 0c9659f

Browse files
committed
Update header styling a bit including the logo.
1 parent a3f78a6 commit 0c9659f

File tree

5 files changed

+25
-11
lines changed

5 files changed

+25
-11
lines changed

docs/_layouts/api-doc.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,12 @@
1515
<body>
1616
<header>
1717
<div class="container">
18-
<a href="/">
19-
Pledger<span style="color: rgba(106,105,105,0.8)">.io</span> documentation
20-
</a>
18+
<span>
19+
<img src="{{"/images/logo.png" | relative_url }}" style="height: 2rem" />
20+
<a href="/">
21+
Pledger<span style="color: rgba(106,105,105,0.8)">.io</span> documentation
22+
</a>
23+
</span>
2124
<a class="source" href="https://github.com/pledger-io/build-tooling/releases/tag/{{ site.release.version }}"
2225
title="Go to the repository" target="_blank">
2326
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512" width="35">

docs/_layouts/landing.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ <h1>{{ site.title }}</h1>
2727
<div class="container">
2828
<div class="buttons">
2929
<a href="/home">Documentation</a>
30-
<a href="https://github.com/pledger-io">Contact</a>
30+
<a href="/concepts/support.html">Contact</a>
3131
<a href="/how-to/installation/docker.html">Download</a>
3232
</div>
3333
<p>&copy; <a href="mailto:pledger-io@jong-soft.com">Pledger.io</a></p>

docs/_layouts/section.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,12 @@
1313
<body>
1414
<header>
1515
<div class="container">
16-
<a href="/">
17-
Pledger<span style="color: rgba(106,105,105,0.8)">.io</span> documentation
18-
</a>
16+
<span>
17+
<img src="{{"/images/logo.png" | relative_url }}" style="height: 2rem" />
18+
<a href="/">
19+
Pledger<span style="color: rgba(106,105,105,0.8)">.io</span> documentation
20+
</a>
21+
</span>
1922
<a class="source" href="https://github.com/pledger-io/build-tooling/releases/tag/{{ site.release.version }}"
2023
title="Go to the repository" target="_blank">
2124
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512" width="35">

docs/images/css/section-layout/_header.scss

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,15 @@ $base-color: rgb(29 77 116);
1010
align-items: center;
1111
justify-content: space-between;
1212

13-
& > a {
14-
color: rgb(255, 255, 255);
15-
text-decoration: none;
13+
& > span {
14+
display: flex;
15+
align-items: center;
16+
gap: 0.5rem;
17+
18+
& > a {
19+
color: rgb(255, 255, 255);
20+
text-decoration: none;
21+
}
1622
}
1723

1824
.source {
@@ -24,6 +30,8 @@ $base-color: rgb(29 77 116);
2430

2531
text-decoration: none;
2632

33+
font-size: .8rem;
34+
2735
&:hover {
2836
opacity: .8;
2937
}

docs/images/css/section.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ body {
2424

2525
& > nav {
2626
background-color: lighten($base-color, 2%);
27-
padding: .3rem 0 .5rem 0;
27+
padding: .75rem 0;
2828
font-size: .75em;
2929

3030
.container {

0 commit comments

Comments
 (0)