diff --git a/app/javascript/images/cloud2.png b/app/javascript/images/cloud2.png deleted file mode 100644 index f325ca6de09..00000000000 Binary files a/app/javascript/images/cloud2.png and /dev/null differ diff --git a/app/javascript/images/cloud3.png b/app/javascript/images/cloud3.png deleted file mode 100644 index ab194d0b857..00000000000 Binary files a/app/javascript/images/cloud3.png and /dev/null differ diff --git a/app/javascript/images/cloud4.png b/app/javascript/images/cloud4.png deleted file mode 100644 index 98323f5a271..00000000000 Binary files a/app/javascript/images/cloud4.png and /dev/null differ diff --git a/app/javascript/styles/about.scss b/app/javascript/styles/about.scss index b9c0183911d..0aca5cc00f7 100644 --- a/app/javascript/styles/about.scss +++ b/app/javascript/styles/about.scss @@ -386,7 +386,7 @@ top: 0; left: 0; - img { + div { position: absolute; transition: all 0.1s linear; animation-name: floating; @@ -398,23 +398,29 @@ } .float-1 { + width: 324px; height: 170px; right: -120px; bottom: 0; + background-image: url('data:image/svg+xml;utf8,'); } .float-2 { + width: 241px; height: 100px; right: 210px; bottom: 0; animation-delay: 0.2s; + background-image: url('data:image/svg+xml;utf8,'); } .float-3 { + width: 267px; height: 140px; right: 110px; top: -30px; animation-delay: 0.1s; + background-image: url('data:image/svg+xml;utf8,'); } } diff --git a/app/views/about/show.html.haml b/app/views/about/show.html.haml index 0af47bde366..999d1e37b66 100644 --- a/app/views/about/show.html.haml +++ b/app/views/about/show.html.haml @@ -38,9 +38,9 @@ .container.hero .floats - = image_tag asset_pack_path('cloud2.png'), alt: '', role: 'presentation', class: 'float-1' - = image_tag asset_pack_path('cloud3.png'), alt: '', role: 'presentation', class: 'float-2' - = image_tag asset_pack_path('cloud4.png'), alt: '', role: 'presentation', class: 'float-3' + %div{ role: 'presentation', class: 'float-1' } + %div{ role: 'presentation', class: 'float-2' } + %div{ role: 'presentation', class: 'float-3' } .heading %h1 = @instance_presenter.site_title