diff --git a/app/javascript/images/background-kosmos.jpg b/app/javascript/images/background-kosmos.jpg new file mode 100644 index 000000000..6be143274 Binary files /dev/null and b/app/javascript/images/background-kosmos.jpg differ diff --git a/app/javascript/styles/custom.scss b/app/javascript/styles/custom.scss new file mode 100644 index 000000000..2f4eb176f --- /dev/null +++ b/app/javascript/styles/custom.scss @@ -0,0 +1,26 @@ +@import 'application'; + +body { + background-color: $ui-base-color; + background-image: url('../images/background-kosmos.jpg'); + background-size: cover; + background-attachment: fixed; +} + +body.about-body { + background-color: transparent; + background-image: url('../images/background-kosmos.jpg'); + background-size: cover; + background-attachment: fixed; +} + +.landing-page .learn-more-cta { + background: rgba(31,35,43,0.5); +} + +.ui { + background-color: darken($ui-base-color, 7%); + background-image: url('../images/background-kosmos.jpg'); + background-size: cover; + background-attachment: fixed; +} diff --git a/config/locales/en.yml b/config/locales/en.yml index 829cd61d0..acc0707de 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -52,8 +52,8 @@ en: suspended_title: Suspended servers unavailable_content_html: Mastodon generally allows you to view content from and interact with users from any other server in the fediverse. These are the exceptions that have been made on this particular server. user_count_after: - one: user - other: users + one: kosmonaut + other: kosmonauts user_count_before: Home to what_is_mastodon: What is Mastodon? accounts: diff --git a/config/themes.yml b/config/themes.yml index 9c21c9459..d032b009d 100644 --- a/config/themes.yml +++ b/config/themes.yml @@ -1,3 +1,3 @@ -default: styles/application.scss +default: styles/custom.scss contrast: styles/contrast.scss mastodon-light: styles/mastodon-light.scss