[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ops-www] branch master updated: make the skip to main conte
From: |
gnunet |
Subject: |
[taler-taler-ops-www] branch master updated: make the skip to main content text better |
Date: |
Sun, 25 Feb 2024 03:46:41 +0100 |
This is an automated email from the git hooks/post-receive script.
nora pushed a commit to branch master
in repository taler-ops-www.
The following commit(s) were added to refs/heads/master by this push:
new 26a9e59 make the skip to main content text better
26a9e59 is described below
commit 26a9e59d52d678afa3a1b603a4c1164eadc46b4f
Author: Nullptrderef <nullptrderef@national.shitposting.agency>
AuthorDate: Sun Feb 25 03:46:31 2024 +0100
make the skip to main content text better
---
common/navigation.j2.inc | 8 +++-----
locale/de/LC_MESSAGES/messages.po | 12 ++++++------
locale/en/LC_MESSAGES/messages.po | 12 ++++++------
locale/fr/LC_MESSAGES/messages.po | 12 ++++++------
locale/messages.pot | 12 ++++++------
static/images/{unsorted => backgrounds}/topbg.png | Bin
static/images/{unsorted => backgrounds}/topbg2.png | Bin
static/images/{unsorted => backgrounds}/topbg3.png | Bin
static/scss/{ => fonts}/fonts.scss | 1 +
static/scss/global.scss | 3 ++-
static/scss/navigation.scss | 19 +++++++++++++++++++
11 files changed, 49 insertions(+), 30 deletions(-)
diff --git a/common/navigation.j2.inc b/common/navigation.j2.inc
index f9e0916..7cb64c7 100644
--- a/common/navigation.j2.inc
+++ b/common/navigation.j2.inc
@@ -1,9 +1,7 @@
<header class="header_sec newheader">
- <div id="skip">
- <a href="#maincontent" class="skip"
- >{% trans %}Skip to main content{% endtrans %}</a
- >
- </div>
+ <a id="skip" tabindex="0" href="#maincontent"
+ >{%trans%}Skip to main content{%endtrans%}</a
+ >
<div class="container">
<nav class="navbar navbar-expand-md navbar-light nav_top">
<a class="navbar-brand" href="{{ url_localized('index.html') }}"
diff --git a/locale/de/LC_MESSAGES/messages.po
b/locale/de/LC_MESSAGES/messages.po
index e2b703b..26be6d5 100644
--- a/locale/de/LC_MESSAGES/messages.po
+++ b/locale/de/LC_MESSAGES/messages.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2024-02-25 03:30+0100\n"
+"POT-Creation-Date: 2024-02-25 03:45+0100\n"
"PO-Revision-Date: 2024-02-24 20:06+0000\n"
"Last-Translator: Stefan Kügel <skuegel@web.de>\n"
"Language-Team: German <https://weblate.taler.net/projects/taler-ops/website/";
@@ -37,12 +37,12 @@ msgid "Taler Operations AG Homepage"
msgstr "Taler Operations AG Startseite"
#: common/footer.j2.inc:35 common/footer.old.j2.inc:29
-#: common/navigation.j2.inc:34
+#: common/navigation.j2.inc:32
msgid "Home"
msgstr "Startseite"
#: common/footer.j2.inc:44 common/footer.old.j2.inc:38
-#: common/navigation.j2.inc:49 template/fees.html.j2:2 template/fees.html.j2:7
+#: common/navigation.j2.inc:47 template/fees.html.j2:2 template/fees.html.j2:7
#: template/fees.html.j2:22
msgid "Fees"
msgstr "Gebührenordnung"
@@ -133,15 +133,15 @@ msgstr ""
"Besuchern. Diese werden jedoch ausschließlich zur Fehlersuche und "
"Problembehebung ausgewertet."
-#: common/navigation.j2.inc:4
+#: common/navigation.j2.inc:3
msgid "Skip to main content"
msgstr "Navigationsmenü überspringen"
-#: common/navigation.j2.inc:39 template/index.html.j2:77
+#: common/navigation.j2.inc:37 template/index.html.j2:77
msgid "For Merchants"
msgstr "Für Händler"
-#: common/navigation.j2.inc:44 template/index.html.j2:59
+#: common/navigation.j2.inc:42 template/index.html.j2:59
msgid "For Users"
msgstr "Für Kunden"
diff --git a/locale/en/LC_MESSAGES/messages.po
b/locale/en/LC_MESSAGES/messages.po
index 7fb73d7..4482fa5 100644
--- a/locale/en/LC_MESSAGES/messages.po
+++ b/locale/en/LC_MESSAGES/messages.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2024-02-25 03:30+0100\n"
+"POT-Creation-Date: 2024-02-25 03:45+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -35,12 +35,12 @@ msgid "Taler Operations AG Homepage"
msgstr ""
#: common/footer.j2.inc:35 common/footer.old.j2.inc:29
-#: common/navigation.j2.inc:34
+#: common/navigation.j2.inc:32
msgid "Home"
msgstr ""
#: common/footer.j2.inc:44 common/footer.old.j2.inc:38
-#: common/navigation.j2.inc:49 template/fees.html.j2:2 template/fees.html.j2:7
+#: common/navigation.j2.inc:47 template/fees.html.j2:2 template/fees.html.j2:7
#: template/fees.html.j2:22
msgid "Fees"
msgstr ""
@@ -109,15 +109,15 @@ msgid ""
"exclusively for troubleshooting or problem mitigation."
msgstr ""
-#: common/navigation.j2.inc:4
+#: common/navigation.j2.inc:3
msgid "Skip to main content"
msgstr ""
-#: common/navigation.j2.inc:39 template/index.html.j2:77
+#: common/navigation.j2.inc:37 template/index.html.j2:77
msgid "For Merchants"
msgstr ""
-#: common/navigation.j2.inc:44 template/index.html.j2:59
+#: common/navigation.j2.inc:42 template/index.html.j2:59
msgid "For Users"
msgstr ""
diff --git a/locale/fr/LC_MESSAGES/messages.po
b/locale/fr/LC_MESSAGES/messages.po
index f968328..97730bc 100644
--- a/locale/fr/LC_MESSAGES/messages.po
+++ b/locale/fr/LC_MESSAGES/messages.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2024-02-25 03:30+0100\n"
+"POT-Creation-Date: 2024-02-25 03:45+0100\n"
"PO-Revision-Date: 2024-02-12 18:13+0000\n"
"Last-Translator: Stefan Kügel <skuegel@web.de>\n"
"Language-Team: French <https://weblate.taler.net/projects/taler-ops/website/";
@@ -37,12 +37,12 @@ msgid "Taler Operations AG Homepage"
msgstr "Page d'accueil Taler Operations AG"
#: common/footer.j2.inc:35 common/footer.old.j2.inc:29
-#: common/navigation.j2.inc:34
+#: common/navigation.j2.inc:32
msgid "Home"
msgstr "Accueil"
#: common/footer.j2.inc:44 common/footer.old.j2.inc:38
-#: common/navigation.j2.inc:49 template/fees.html.j2:2 template/fees.html.j2:7
+#: common/navigation.j2.inc:47 template/fees.html.j2:2 template/fees.html.j2:7
#: template/fees.html.j2:22
msgid "Fees"
msgstr "Frais"
@@ -125,15 +125,15 @@ msgstr ""
"Toutefois, celles-ci ne sont consultées exclusivement pour des besoins de "
"dépannages ou de résolution de problème."
-#: common/navigation.j2.inc:4
+#: common/navigation.j2.inc:3
msgid "Skip to main content"
msgstr "Aller au menu principal"
-#: common/navigation.j2.inc:39 template/index.html.j2:77
+#: common/navigation.j2.inc:37 template/index.html.j2:77
msgid "For Merchants"
msgstr ""
-#: common/navigation.j2.inc:44 template/index.html.j2:59
+#: common/navigation.j2.inc:42 template/index.html.j2:59
msgid "For Users"
msgstr ""
diff --git a/locale/messages.pot b/locale/messages.pot
index fdf11f8..bbf44d5 100644
--- a/locale/messages.pot
+++ b/locale/messages.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2024-02-25 03:30+0100\n"
+"POT-Creation-Date: 2024-02-25 03:45+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -34,12 +34,12 @@ msgid "Taler Operations AG Homepage"
msgstr ""
#: common/footer.j2.inc:35 common/footer.old.j2.inc:29
-#: common/navigation.j2.inc:34
+#: common/navigation.j2.inc:32
msgid "Home"
msgstr ""
#: common/footer.j2.inc:44 common/footer.old.j2.inc:38
-#: common/navigation.j2.inc:49 template/fees.html.j2:2 template/fees.html.j2:7
+#: common/navigation.j2.inc:47 template/fees.html.j2:2 template/fees.html.j2:7
#: template/fees.html.j2:22
msgid "Fees"
msgstr ""
@@ -109,15 +109,15 @@ msgid ""
"exclusively for troubleshooting or problem mitigation."
msgstr ""
-#: common/navigation.j2.inc:4
+#: common/navigation.j2.inc:3
msgid "Skip to main content"
msgstr ""
-#: common/navigation.j2.inc:39 template/index.html.j2:77
+#: common/navigation.j2.inc:37 template/index.html.j2:77
msgid "For Merchants"
msgstr ""
-#: common/navigation.j2.inc:44 template/index.html.j2:59
+#: common/navigation.j2.inc:42 template/index.html.j2:59
msgid "For Users"
msgstr ""
diff --git a/static/images/unsorted/topbg.png
b/static/images/backgrounds/topbg.png
similarity index 100%
rename from static/images/unsorted/topbg.png
rename to static/images/backgrounds/topbg.png
diff --git a/static/images/unsorted/topbg2.png
b/static/images/backgrounds/topbg2.png
similarity index 100%
rename from static/images/unsorted/topbg2.png
rename to static/images/backgrounds/topbg2.png
diff --git a/static/images/unsorted/topbg3.png
b/static/images/backgrounds/topbg3.png
similarity index 100%
rename from static/images/unsorted/topbg3.png
rename to static/images/backgrounds/topbg3.png
diff --git a/static/scss/fonts.scss b/static/scss/fonts/fonts.scss
similarity index 51%
rename from static/scss/fonts.scss
rename to static/scss/fonts/fonts.scss
index 06474be..c6a71d3 100644
--- a/static/scss/fonts.scss
+++ b/static/scss/fonts/fonts.scss
@@ -1,2 +1,3 @@
+// URLs are relative to the sass dir as import url()s are relative to the
highest @use
@import url('./fonts/roboto/roboto.css');
@import url('./fonts/montserrat/montserrat.css');
diff --git a/static/scss/global.scss b/static/scss/global.scss
index f563b30..f4a8f17 100644
--- a/static/scss/global.scss
+++ b/static/scss/global.scss
@@ -1,3 +1,4 @@
@use './links.scss';
-@use './fonts.scss';
+@use './fonts/fonts.scss';
@use './footer.scss';
+@use './navigation.scss';
diff --git a/static/scss/navigation.scss b/static/scss/navigation.scss
new file mode 100644
index 0000000..2b0312e
--- /dev/null
+++ b/static/scss/navigation.scss
@@ -0,0 +1,19 @@
+// Skip to content element
+#skip {
+ opacity: 0;
+ position: fixed;
+ top: 1rem;
+ left: 50%;
+ pointer-events: none;
+ transition: all 0.3s;
+ transform: translateX(-50%);
+ background: #2a2a2a;
+ color: #dedede;
+ padding: 0.5rem 1rem;
+ border-radius: 16px;
+ &:focus,
+ &:active {
+ opacity: 1;
+ pointer-events: all;
+ }
+}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-taler-ops-www] branch master updated: make the skip to main content text better,
gnunet <=