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
26 changes: 13 additions & 13 deletions apps/learning_nuggets/assets/css/learning.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
}
}
Expand All @@ -126,7 +126,7 @@
}

.learning-content__title--lg {
font-size: 1.5rem;
font-size: 1.35rem;
}

.learning-content__title--md {
Expand Down
4 changes: 2 additions & 2 deletions apps/users/templates/a4_candy_users/guest_create.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{% translate "Continue as Guest" %}
{% endblock head_title %}
{% block content %}
<h1>Proceed as guest</h1>
<h1>{% translate "Proceed as Guest" %}</h1>
<p>
{% url 'account_login' as login_url %}
{% url 'account_signup' as signup_url %}
Expand All @@ -21,7 +21,7 @@ <h1>Proceed as guest</h1>
{% endwith %}
{% endwith %}
</p>
<p>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.</p>
<p>{% 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." %}</p>
<form id="signup_form" method="post" action="">
{{ form.non_field_errors }}
{{ form.media }}
Expand Down
11 changes: 11 additions & 0 deletions locale-fork/locale/de/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -5777,6 +5777,17 @@ msgid ""
" <a href=\"%(signup_url)s\">click here</a>."
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
Expand Down
Loading