Skip to content

Commit efbc110

Browse files
authored
feat: changed the logo (#179)
## Description - added the final logo - some semantic changes bc the logo is no h1 anymore (and shoudn't be either :D) ## Checklist <!-- Check fields with: [x] / Abhaken von Punkten: [x] --> - [ ] Check the License of new pictures (non-commercial use without attribution) <!-- Die Lizenz neuer Bilder geprüft (nicht-kommerzielle Nutzung ohne Namensnennung) --> The content was modified in the following languages: <!-- Der Inhalt wurde für die folgenden Sprachen angepasst --> - [ ] English - [ ] German
1 parent 7820d45 commit efbc110

File tree

16 files changed

+49
-50
lines changed

16 files changed

+49
-50
lines changed

assets/images/logo.svg

Lines changed: 16 additions & 11 deletions
Loading

assets/sass/headings.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
h1 {
2-
font-size: 3.6rem;
2+
font-size: 3rem;
33
line-height: 1.25;
4-
font-weight: 700;
54
margin-bottom: 2rem;
5+
font-weight: 700;
66
text-wrap: balance;
77
scroll-margin-top: 7rem;
88
}
99

1010
h2 {
11-
font-size: 2.4rem;
11+
font-size: 2.2rem;
1212
line-height: 1.25;
13-
margin-bottom: 1.2rem;
13+
margin-bottom: 1rem;
1414
font-weight: 700;
1515
text-wrap: balance;
1616
scroll-margin-top: 7rem;

assets/sass/navigation.scss

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -54,28 +54,19 @@
5454

5555
.o-header__logo {
5656
display: flex;
57-
margin: .3rem;
57+
margin: .6rem;
5858
position: relative;
5959
text-decoration: none;
60+
border-radius: var(--border-radius-m);
6061

61-
h1 {
62-
margin: 0;
63-
font-size: 2.4rem;
64-
color: var(--link-special);
65-
font-weight: 700;
66-
align-self: center;
67-
text-wrap-mode: nowrap;
68-
69-
&:hover,
70-
&:focus {
71-
color: var(--link-hovered);
72-
text-decoration: underline;
73-
}
62+
&:hover,
63+
&:focus {
64+
background-color: var(--bg-neutral);
7465
}
7566

7667
img {
77-
width: 5rem;
7868
height: 4.7rem;
69+
padding: 0 .4rem
7970
}
8071
}
8172

@@ -91,7 +82,7 @@
9182
left: 50%;
9283
transform: translateX(-50%);
9384
padding: 1rem;
94-
margin: .3rem;
85+
margin: .6rem;
9586
pointer-events: none;
9687
background-color: var(--bg-neutral);
9788
border-radius: var(--border-radius-s);
@@ -119,7 +110,7 @@
119110
.o-nav__close-button {
120111
display: inline-flex;
121112
padding: 1rem;
122-
margin: .3rem;
113+
margin: .6rem;
123114
border: none;
124115
background: none;
125116
width: fit-content;

assets/sass/styles.scss

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ img {
175175
margin-bottom: 1.6rem;
176176
align-items: center;
177177

178-
h2 {
178+
h1 {
179179
margin-bottom: 0;
180180
}
181181
}
@@ -186,10 +186,6 @@ img {
186186
gap: 1.5rem;
187187
}
188188

189-
.o-single__content-header-title h1 {
190-
margin-bottom: 0;
191-
}
192-
193189
.o-single__content-header-title img {
194190
max-height: 3.6rem;
195191
width: auto;
@@ -205,6 +201,11 @@ img {
205201
padding: 0px;
206202
}
207203

204+
.sr-only {
205+
opacity: 0;
206+
position: absolute;
207+
}
208+
208209
.a-flag {
209210
height: 2rem;
210211
width: auto;

content/_index.de.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ In diesem Projekt sind Informationen und Nutzungshinweise zu FIP sowie Besonderh
1111
* [Grundlegende Informationen zu FIP]({{< ref "generalinformation" >}})
1212
* [Übersicht der Länder]({{< ref "country" >}})
1313

14-
### Unterstütze uns
14+
## Unterstütze uns
1515
Du möchtest dein Wissen rund um FIP-Regelungen teilen? Schau auf unserem [GitHub Repository](https://github.com/fipguide/fipguide.github.io) vorbei, um Inhalte beizutragen.
1616
Alternativ kannst du uns auch über das [Kontaktformular]({{< ref "contact" >}}) schreiben.

content/_index.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ This project includes information and usage instructions for FIP as well as spec
1111
* [Basic information about FIP]({{< ref "generalinformation" >}})
1212
* [Overview of countries]({{< ref "country" >}})
1313

14-
### Support Us
14+
## Support Us
1515
Would you like to share your knowledge about FIP regulations? Visit our [GitHub Repository](https://github.com/fipguide/fipguide.github.io) to contribute content.
1616
Alternatively, you can also write to us via the [contact form]({{< ref "contact" >}}).

i18n/de.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,5 @@ anchorLink:
3636
copied: Link wurde in die Zwischenablage kopiert
3737
skipToContent: Zum Inhalt springen
3838
wip: An dieser Seite wird noch gearbeitet und Inhalte können unvollständig sein. Wir freuen uns, wenn du zur Verbesserung dieser Seite beträgst. [Mehr Information auf GitHub](https://github.com/fipguide/fipguide.github.io/wiki/Deutsch).
39+
home-page-text: FIP Guide Startseite
3940
navigate-to-country: Gehe zu Land

i18n/en.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,5 @@ anchorLink:
3232
copied: Link has been copied to the clipboard
3333
skipToContent: Skip to content
3434
wip: This page is still under construction and content may be incomplete. We would be happy if you contribute to improve this page. [More information on GitHub](https://github.com/fipguide/fipguide.github.io/wiki/English).
35+
home-page-text: FIP Guide Home Page
3536
navigate-to-country: Navigate to country

layouts/_default/home.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{{ define "main" }}
2+
<h1 class="sr-only">{{ T "home-page-text" }}</h1>
23
<div class="curtain" aria-hidden="true"></div>
34
{{ partial "stage.html" }}
45
<section class="container">

layouts/_default/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{ define "main" }}
22
<div class="container o-list">
33
<div class="row">
4-
<h2 data-pagefind-meta="title">{{ .Title }}</h2>
4+
<h1 data-pagefind-meta="title">{{ .Title }}</h1>
55
{{ .Content }} {{ range .Pages }}
66
{{ partial "teaser.html" (dict "listview" "true" "page" .) }}
77
{{ end }}

layouts/_default/single.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{ define "main" }}
22
<article class="container o-single">
33
<div class="o-single__header">
4-
<h2 data-pagefind-meta="title">{{ .Title }}</h2>
4+
<h1 data-pagefind-meta="title">{{ .Title }}</h1>
55
</div>
66

77
<div class="o-single__content" data-pagefind-body>

layouts/country/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{ define "main" }}
22
<div class="container o-list">
33
<div class="row">
4-
<h2 data-pagefind-meta="title">{{ .Title }}</h2>
4+
<h1 data-pagefind-meta="title">{{ .Title }}</h1>
55
{{ .Content }}
66
{{ range .Pages }}
77
<a href="{{ .RelPermalink }}" class="col-12 col-lg-4 col-sm-6 o-list__link">

layouts/news/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{ define "main" }}
22
<div class="container o-list">
33
<div class="row">
4-
<h2 data-pagefind-meta="title">{{ .Title }}</h2>
4+
<h1 data-pagefind-meta="title">{{ .Title }}</h1>
55
{{ .Content }} {{ range .Pages }}
66
{{ partial "teaser.html" (dict "listview" "true" "page" .) }}
77
{{ end }}

layouts/news/single.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ <h3 id="o-related__title">{{ T "news-other" }}</h3>
3434
</aside>
3535
<div class="o-single__container content_with_heading" data-pagefind-body>
3636
<div class="o-single__content-header">
37-
<h2 data-pagefind-meta="title">{{ .Title }}</h2>
37+
<h1 data-pagefind-meta="title">{{ .Title }}</h1>
3838
{{ partial "updateDate.html" . }}
3939
</div>
4040
<div class="o-single__news-image">

layouts/operator/list.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{{ define "main" }}
2-
<div class="container o-list">
3-
<div class="row">
4-
<h2 data-pagefind-meta="title">{{ .Title }}</h2>
5-
{{ .Content }}
2+
<div class="container o-list">
3+
<div class="row">
4+
<h1 data-pagefind-meta="title">{{ .Title }}</h1>
5+
{{ .Content }}
66
{{ range .Pages }}
77
<a href="{{ .RelPermalink }}" class="col-12 col-lg-4 col-sm-6 o-list__link">
88
<div class="o-list__picture">

layouts/partials/menu.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
{{ $logo := resources.Get "images/logo.svg" }}
33
<div class="container o-header__wrapper">
44
<a id="skip-link" class="o-header__skip-link" href="#content">{{ T "skipToContent" }}</a>
5-
<a href="/" aria-label="FIP Guide Startseite" class="o-header__logo">
5+
<a href="/" aria-label="{{ T "home-page-text" }}" class="o-header__logo">
66
<img aria-hidden="true" src="{{ $logo.RelPermalink }}" alt="">
7-
<h1>FIP Guide</h1>
87
</a>
98
<div class="o-header__curtain"></div>
109
<div class="o-header__nav container">

0 commit comments

Comments
 (0)