diff --git a/apps/learning_nuggets/assets/css/learning.scss b/apps/learning_nuggets/assets/css/learning.scss index 31fe19b8..373a7710 100644 --- a/apps/learning_nuggets/assets/css/learning.scss +++ b/apps/learning_nuggets/assets/css/learning.scss @@ -58,7 +58,7 @@ width: 100%; height: 148px; object-fit: cover; - background-color: #d9d9d9; /* Gray fallback */ + background-color: $gray-lightest; /* Gray fallback */ margin-bottom: 8px; } @@ -76,40 +76,40 @@ // Learning Content .learning-content { max-width: 30rem; +} - &__categories { - &__item { - margin-bottom: 16px; +.learning-content__categories__item { + margin-bottom: 16px; - &:last-child { - margin-bottom: 39px; - } - } + &:last-child { + margin-bottom: 39px; } } .learning-content:last-child { padding-bottom: 3rem; +} - // h2 is added by wagtail without a class, hence the nots +// h2/h3/h4 are added by wagtail richtext without a class, hence the nots +.learning-content__description { & h2:not(.learning-content__title, .learning-content__title--lg, .learning-content__title--md) { font-family: $font-family-base; font-weight: 700; - font-size: 1.35rem; + font-size: 1.35rem; margin-bottom: 8px; } & h3 { font-family: $font-family-base; font-weight: 700; - font-size: 1.2rem; + font-size: 1.2rem; margin-bottom: 6px; } & h4 { font-family: $font-family-base; font-weight: 700; - font-size: 1.05rem; + font-size: 1.05rem; margin-bottom: 4px; } } @@ -126,7 +126,7 @@ } .learning-content__title--lg { - font-size: 1.5rem; + font-size: 1.35rem; } .learning-content__title--md { diff --git a/apps/users/templates/a4_candy_users/guest_create.html b/apps/users/templates/a4_candy_users/guest_create.html index 17347e00..09db401b 100644 --- a/apps/users/templates/a4_candy_users/guest_create.html +++ b/apps/users/templates/a4_candy_users/guest_create.html @@ -4,7 +4,7 @@ {% translate "Continue as Guest" %} {% endblock head_title %} {% block content %} -

Proceed as guest

+

{% translate "Proceed as Guest" %}

{% url 'account_login' as login_url %} {% url 'account_signup' as signup_url %} @@ -21,7 +21,7 @@

Proceed as guest

{% endwith %} {% endwith %}

-

Please log out after participating or close your browser. This ensures that neither you nor anyone else has access to your guest account. You can convert your guest account into a permanent account in the user settings.

+

{% translate "Please log out after participating or close your browser. This ensures that neither you nor anyone else has access to your guest account. You can convert your guest account into a permanent account in the user settings." %}

{{ form.non_field_errors }} {{ form.media }} diff --git a/locale-fork/locale/de/LC_MESSAGES/django.po b/locale-fork/locale/de/LC_MESSAGES/django.po index f07b28a3..d818f2d0 100644 --- a/locale-fork/locale/de/LC_MESSAGES/django.po +++ b/locale-fork/locale/de/LC_MESSAGES/django.po @@ -5777,6 +5777,17 @@ msgid "" " click here." msgstr "" +#: apps/users/templates/a4_candy_users/guest_create.html:24 +msgid "" +"Please log out after participating or close your browser. This ensures that " +"neither you nor anyone else has access to your guest account. You can " +"convert your guest account into a permanent account in the user settings." +msgstr "" +"Bitte melden Sie sich nach der Teilnahme ab oder schließen Sie Ihren " +"Browser. So stellen Sie sicher, dass Dritte Zugriff keinen auf Ihr Gastkonto" +" haben. Sie können Ihr Gastkonto jederzeit in den Nutzerkontoeinstellungen " +"in ein dauerhaftes Konto umwandeln." + #: apps/users/templates/a4_candy_users/guest_create.html:37 #: adhocracy-plus/templates/account/signup.html:33 #: adhocracy-plus/templates/socialaccount/signup.html:31