diff --git a/app/javascript/styles/custom.scss b/app/javascript/styles/custom.scss new file mode 100644 index 000000000..1f2be7bf5 --- /dev/null +++ b/app/javascript/styles/custom.scss @@ -0,0 +1,2 @@ +@import 'large_center'; +@import 'application'; diff --git a/app/javascript/styles/large_center.scss b/app/javascript/styles/large_center.scss new file mode 100644 index 000000000..173dd80a1 --- /dev/null +++ b/app/javascript/styles/large_center.scss @@ -0,0 +1,31 @@ +.column { + width: 35em; +} + +.drawer__inner__mastodon > img { + padding: 1rem; + box-sizing: border-box; +} + +.compose-form__publish-button-wrapper .button { + background: #a1bded +} + +div[aria-label="Accueil"], +div[aria-label="Notifications"] { + width: 27em; +} + +.media-gallery { + width: 115%; + max-height: 500px; +} + +.media-gallery, +.status-card.compact.interactive { + margin-left: -4.4em; +} + +.status-card__image-image { + width: 100% !important; +} diff --git a/config/initializers/source.rb b/config/initializers/source.rb new file mode 100644 index 000000000..96e0dcf9e --- /dev/null +++ b/config/initializers/source.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true +module Mastodon + module Version + module_function + def source_base_url + 'https://framagit.org/tykayn/mastodon' + end + end +end diff --git a/config/locales/en.yml b/config/locales/en.yml index 091a4b72c..0ec39c18e 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -899,7 +899,7 @@ en: title: "%{instance} Terms of Service and Privacy Policy" themes: contrast: High contrast - default: Mastodon + default: Mastodon Bliss mastodon-light: Mastodon (light) time: formats: diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 96542347d..ce21e290e 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -887,7 +887,7 @@ fr: title: "%{instance} Conditions d’utilisation et politique de confidentialité" themes: contrast: Contraste élevé - default: Mastodon + default: Mastodon Bliss mastodon-light: Mastodon (clair) time: formats: 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