mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
add custom logo
This commit is contained in:
parent
1114935e64
commit
2494fea90b
@ -787,3 +787,9 @@ DEPENDENCIES
|
|||||||
webpacker (~> 5.4)
|
webpacker (~> 5.4)
|
||||||
webpush (~> 0.3)
|
webpush (~> 0.3)
|
||||||
xorcist (~> 1.1)
|
xorcist (~> 1.1)
|
||||||
|
|
||||||
|
RUBY VERSION
|
||||||
|
ruby 2.7.4p191
|
||||||
|
|
||||||
|
BUNDLED WITH
|
||||||
|
2.2.31
|
||||||
|
BIN
app/javascript/images/bliss/home.jpg
Normal file
BIN
app/javascript/images/bliss/home.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 187 KiB |
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
@import 'mastodon/reset';
|
@import 'mastodon/reset';
|
||||||
@import 'mastodon/basics';
|
@import 'mastodon/basics';
|
||||||
|
@import 'mastodon/custom';
|
||||||
@import 'mastodon/containers';
|
@import 'mastodon/containers';
|
||||||
@import 'mastodon/lists';
|
@import 'mastodon/lists';
|
||||||
@import 'mastodon/footer';
|
@import 'mastodon/footer';
|
||||||
|
6
app/javascript/styles/mastodon/_custom.scss
Normal file
6
app/javascript/styles/mastodon/_custom.scss
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
.custom-img img{
|
||||||
|
width: 100%;
|
||||||
|
max-width: 50vw;
|
||||||
|
display: block;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
@ -6,6 +6,10 @@
|
|||||||
= render partial: 'shared/og'
|
= render partial: 'shared/og'
|
||||||
|
|
||||||
.landing
|
.landing
|
||||||
|
.landing__custom_img
|
||||||
|
= link_to root_url, class: 'custom-img' do
|
||||||
|
= image_tag asset_pack_path('media/images/bliss/home.jpg'), alt: @instance_presenter.site_title
|
||||||
|
%span.brand__tagline=t 'about.tagline'
|
||||||
.landing__brand
|
.landing__brand
|
||||||
= link_to root_url, class: 'brand' do
|
= link_to root_url, class: 'brand' do
|
||||||
= svg_logo_full
|
= svg_logo_full
|
||||||
|
Loading…
Reference in New Issue
Block a user