Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 16 additions & 11 deletions assets/images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions assets/sass/headings.scss
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
h1 {
font-size: 3.6rem;
font-size: 3rem;
line-height: 1.25;
font-weight: 700;
margin-bottom: 2rem;
font-weight: 700;
text-wrap: balance;
scroll-margin-top: 7rem;
}

h2 {
font-size: 2.4rem;
font-size: 2.2rem;
line-height: 1.25;
margin-bottom: 1.2rem;
margin-bottom: 1rem;
font-weight: 700;
text-wrap: balance;
scroll-margin-top: 7rem;
Expand Down
25 changes: 8 additions & 17 deletions assets/sass/navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,28 +54,19 @@

.o-header__logo {
display: flex;
margin: .3rem;
margin: .6rem;
position: relative;
text-decoration: none;
border-radius: var(--border-radius-m);

h1 {
margin: 0;
font-size: 2.4rem;
color: var(--link-special);
font-weight: 700;
align-self: center;
text-wrap-mode: nowrap;

&:hover,
&:focus {
color: var(--link-hovered);
text-decoration: underline;
}
&:hover,
&:focus {
background-color: var(--bg-neutral);
}

img {
width: 5rem;
height: 4.7rem;
padding: 0 .4rem
}
}

Expand All @@ -91,7 +82,7 @@
left: 50%;
transform: translateX(-50%);
padding: 1rem;
margin: .3rem;
margin: .6rem;
pointer-events: none;
background-color: var(--bg-neutral);
border-radius: var(--border-radius-s);
Expand Down Expand Up @@ -119,7 +110,7 @@
.o-nav__close-button {
display: inline-flex;
padding: 1rem;
margin: .3rem;
margin: .6rem;
border: none;
background: none;
width: fit-content;
Expand Down
11 changes: 6 additions & 5 deletions assets/sass/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ img {
margin-bottom: 1.6rem;
align-items: center;

h2 {
h1 {
margin-bottom: 0;
}
}
Expand All @@ -186,10 +186,6 @@ img {
gap: 1.5rem;
}

.o-single__content-header-title h1 {
margin-bottom: 0;
}

.o-single__content-header-title img {
max-height: 3.6rem;
width: auto;
Expand All @@ -205,6 +201,11 @@ img {
padding: 0px;
}

.sr-only {
opacity: 0;
position: absolute;
}

.a-flag {
height: 2rem;
width: auto;
Expand Down
2 changes: 1 addition & 1 deletion content/_index.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ In diesem Projekt sind Informationen und Nutzungshinweise zu FIP sowie Besonderh
* [Grundlegende Informationen zu FIP]({{< ref "generalinformation" >}})
* [Übersicht der Länder]({{< ref "country" >}})

### Unterstütze uns
## Unterstütze uns
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.
Alternativ kannst du uns auch über das [Kontaktformular]({{< ref "contact" >}}) schreiben.
2 changes: 1 addition & 1 deletion content/_index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ This project includes information and usage instructions for FIP as well as spec
* [Basic information about FIP]({{< ref "generalinformation" >}})
* [Overview of countries]({{< ref "country" >}})

### Support Us
## Support Us
Would you like to share your knowledge about FIP regulations? Visit our [GitHub Repository](https://github.com/fipguide/fipguide.github.io) to contribute content.
Alternatively, you can also write to us via the [contact form]({{< ref "contact" >}}).
1 change: 1 addition & 0 deletions i18n/de.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ anchorLink:
copied: Link wurde in die Zwischenablage kopiert
skipToContent: Zum Inhalt springen
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).
home-page-text: FIP Guide Startseite
navigate-to-country: Gehe zu Land
1 change: 1 addition & 0 deletions i18n/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ anchorLink:
copied: Link has been copied to the clipboard
skipToContent: Skip to content
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).
home-page-text: FIP Guide Home Page
navigate-to-country: Navigate to country
1 change: 1 addition & 0 deletions layouts/_default/home.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{ define "main" }}
<h1 class="sr-only">{{ T "home-page-text" }}</h1>
<div class="curtain" aria-hidden="true"></div>
{{ partial "stage.html" }}
<section class="container">
Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/list.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ define "main" }}
<div class="container o-list">
<div class="row">
<h2 data-pagefind-meta="title">{{ .Title }}</h2>
<h1 data-pagefind-meta="title">{{ .Title }}</h1>
{{ .Content }} {{ range .Pages }}
{{ partial "teaser.html" (dict "listview" "true" "page" .) }}
{{ end }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/single.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ define "main" }}
<article class="container o-single">
<div class="o-single__header">
<h2 data-pagefind-meta="title">{{ .Title }}</h2>
<h1 data-pagefind-meta="title">{{ .Title }}</h1>
</div>

<div class="o-single__content" data-pagefind-body>
Expand Down
2 changes: 1 addition & 1 deletion layouts/country/list.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ define "main" }}
<div class="container o-list">
<div class="row">
<h2 data-pagefind-meta="title">{{ .Title }}</h2>
<h1 data-pagefind-meta="title">{{ .Title }}</h1>
{{ .Content }}
{{ range .Pages }}
<a href="{{ .RelPermalink }}" class="col-12 col-lg-4 col-sm-6 o-list__link">
Expand Down
2 changes: 1 addition & 1 deletion layouts/news/list.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ define "main" }}
<div class="container o-list">
<div class="row">
<h2 data-pagefind-meta="title">{{ .Title }}</h2>
<h1 data-pagefind-meta="title">{{ .Title }}</h1>
{{ .Content }} {{ range .Pages }}
{{ partial "teaser.html" (dict "listview" "true" "page" .) }}
{{ end }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/news/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h3 id="o-related__title">{{ T "news-other" }}</h3>
</aside>
<div class="o-single__container content_with_heading" data-pagefind-body>
<div class="o-single__content-header">
<h2 data-pagefind-meta="title">{{ .Title }}</h2>
<h1 data-pagefind-meta="title">{{ .Title }}</h1>
{{ partial "updateDate.html" . }}
</div>
<div class="o-single__news-image">
Expand Down
8 changes: 4 additions & 4 deletions layouts/operator/list.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{{ define "main" }}
<div class="container o-list">
<div class="row">
<h2 data-pagefind-meta="title">{{ .Title }}</h2>
{{ .Content }}
<div class="container o-list">
<div class="row">
<h1 data-pagefind-meta="title">{{ .Title }}</h1>
{{ .Content }}
{{ range .Pages }}
<a href="{{ .RelPermalink }}" class="col-12 col-lg-4 col-sm-6 o-list__link">
<div class="o-list__picture">
Expand Down
3 changes: 1 addition & 2 deletions layouts/partials/menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
{{ $logo := resources.Get "images/logo.svg" }}
<div class="container o-header__wrapper">
<a id="skip-link" class="o-header__skip-link" href="#content">{{ T "skipToContent" }}</a>
<a href="/" aria-label="FIP Guide Startseite" class="o-header__logo">
<a href="/" aria-label="{{ T "home-page-text" }}" class="o-header__logo">
<img aria-hidden="true" src="{{ $logo.RelPermalink }}" alt="">
<h1>FIP Guide</h1>
</a>
<div class="o-header__curtain"></div>
<div class="o-header__nav container">
Expand Down
Loading