Skip to content

Commit 158dd5a

Browse files
authored
Fix logo symmetricality (#20)
1 parent be54b3e commit 158dd5a

File tree

6 files changed

+54
-1
lines changed

6 files changed

+54
-1
lines changed

docs/assets/README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Assets
2+
3+
## Icon
4+
5+
### 48px
6+
7+
<div class="icon size-48x48">
8+
---8<--- "overrides/partials/logo.html"
9+
</div>
10+
11+
Take a screeshot of this icon with Firefox consoles `:screenshot` command:
12+
13+
```txt
14+
:screenshot --selector ".icon.size-48x48" --dpr 1 --filename "favicon.png"
15+
```
16+
17+
### 512px
18+
19+
<div class="icon size-512x512">
20+
---8<--- "overrides/partials/logo.html"
21+
</div>
22+
23+
Take a screeshot of this icon with Firefox consoles `:screenshot` command:
24+
25+
```txt
26+
:screenshot --selector ".icon.size-512x512" --dpr 1 --filename "logo-512.png"
27+
```

docs/assets/extra.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.icon {
2+
background: var(--md-primary-fg-color);
3+
color: var(--md-primary-bg-color);
4+
display: inline-block;
5+
}
6+
7+
.icon svg {
8+
display: block;
9+
height: 1em;
10+
width: auto;
11+
}
12+
13+
.icon.size-48x48 {
14+
font-size: 36px;
15+
padding: 6px;
16+
}
17+
18+
.icon.size-512x512 {
19+
font-size: 384px;
20+
padding: 64px;
21+
}

docs/assets/favicon.png

95 Bytes
Loading

docs/assets/logo-512.png

19.4 KB
Loading

mkdocs.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ repo_name: kangasta/cicd-examples
55
repo_url: https://github.com/kangasta/cicd-examples
66
copyright: CI/CD Examples is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">CC BY-SA 4.0<img style="height:18px!important;margin-left:9px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/cc.svg" alt=""><img style="height:18px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/by.svg" alt=""><img style="height:18px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/sa.svg" alt=""></a>
77

8+
extra_css:
9+
- assets/extra.css
10+
811
docs_dir: docs/
912
edit_uri: edit/main/docs/
1013

@@ -18,6 +21,8 @@ nav:
1821
- ./examples/jenkins/build-status-pipelines/README.md
1922
- ./examples/jenkins/parallel-robot-pipeline/README.md
2023
- ./examples/jenkins/sonarqube-jenkins/README.md
24+
not_in_nav: |
25+
assets/README.md
2126
2227
theme:
2328
name: material

overrides/partials/logo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
xmlns="http://www.w3.org/2000/svg"
66
>
77
<path
8-
d="M 3 1 A 1 1 0 0 0 3 4 A 1 1 0 0 0 3 1 M 3 4 L 3 11.5 A 2 2 0 0 0 5 13.5 L 10.5 13.5 M 9 12 L 10.5 13.5 L 9 15 M 13.5 12 A 1 1 0 0 0 13.5 15 A 1 1 0 0 0 13.5 12 M 13.5 12 L 13.5 4.5 A 2 2 0 0 0 11.5 2.5 L 6 2.5 M 7.5 1 L 6 2.5 L 7.5 4"
8+
d="M 2.5 1 A 1 1 0 0 0 2.5 4 A 1 1 0 0 0 2.5 1 M 2.5 4 L 2.5 11.5 A 2 2 0 0 0 4.5 13.5 L 10.5 13.5 M 9 12 L 10.5 13.5 L 9 15 M 13.5 12 A 1 1 0 0 0 13.5 15 A 1 1 0 0 0 13.5 12 M 13.5 12 L 13.5 4.5 A 2 2 0 0 0 11.5 2.5 L 5.5 2.5 M 7 1 L 5.5 2.5 L 7 4"
99
fill="none"
1010
stroke="currentColor"
1111
stroke-linecap="round"

0 commit comments

Comments
 (0)