From af6d6ef7dfdf3e5ed1d44a5593516e06c93bf9b7 Mon Sep 17 00:00:00 2001 From: Ivan Schneider Date: Thu, 2 Nov 2023 14:13:41 +0100 Subject: [PATCH] remove deprecated css --- app/assets/stylesheets/homepage.css.scss | 49 ------------------------ app/views/docs/landing.html.slim | 3 +- 2 files changed, 1 insertion(+), 51 deletions(-) delete mode 100644 app/assets/stylesheets/homepage.css.scss diff --git a/app/assets/stylesheets/homepage.css.scss b/app/assets/stylesheets/homepage.css.scss deleted file mode 100644 index cac5d537..00000000 --- a/app/assets/stylesheets/homepage.css.scss +++ /dev/null @@ -1,49 +0,0 @@ -.landing { - #login .modal-body { - img { - height: 41px; - } - } - .intro { - .big-screenshot { - position: relative; - div { - position: absolute; - background-color: rgba(0, 0, 0, 0.4); - left: 50%; - width: 250px; - margin-left: -125px; - text-align: center; - padding: 20px; - border-radius: 10px; - font-size: 1.5em; - color: white; - top: 50%; - display: none; - } - &:hover { - div { - display: block; - } - } - } - } - .technos { - padding: 20px 0px 30px; - img { - height: 50px; - margin: 0 20px 15px 0; - } - } - @media (min-width: 979px) { - .big-screenshot img { - min-height: 392px; - } - img.feature { - min-height: 165px; - } - } - footer { - margin: 40px 0px 20px; - } -} \ No newline at end of file diff --git a/app/views/docs/landing.html.slim b/app/views/docs/landing.html.slim index dcc01b41..86a2710a 100644 --- a/app/views/docs/landing.html.slim +++ b/app/views/docs/landing.html.slim @@ -28,7 +28,6 @@ html lang="en" => link_to 'Sign in', new_session_path, class: 'btn btn-default' = link_to 'Sign up', new_registration_path, class: 'btn btn-default' .container.intro - .row.big-screenshot - = image_tag 'docs/screenshot.jpg', class: 'col-md-8 col-md-offset-2 img-responsive img-thumbnail' + .row= image_tag 'docs/screenshot.jpg', class: 'col-md-8 col-md-offset-2 img-responsive img-thumbnail' = javascript_include_tag 'application'