diff --git a/app/views/layouts/application.html.slim b/app/views/layouts/application.html.slim index a5279b57..76875a3e 100644 --- a/app/views/layouts/application.html.slim +++ b/app/views/layouts/application.html.slim @@ -18,12 +18,12 @@ html.h-100 lang="#{I18n.locale}" .col-md-12 = yield - else - .col-md-9 + .col-lg-9 - if content_for?(:header) h1.mb-5 = yield :header = yield - .col-md-3 - .bg-light.rounded.py-2.px-3 + .col-lg-3 + .bg-light.rounded.py-2.px-3.mt-5 = render 'layouts/shared/last_answers' = render 'layouts/shared/footer' diff --git a/app/views/web/resumes/_answer_requires.html.slim b/app/views/web/resumes/_answer_requires.html.slim index 882adf80..eb67c3b8 100644 --- a/app/views/web/resumes/_answer_requires.html.slim +++ b/app/views/web/resumes/_answer_requires.html.slim @@ -1,6 +1,11 @@ .card.shadow-sm - .card-body.d-flex - .lead.me-auto.my-auto = t('.write_answer') - .my-1 - = link_to t('.sign_in'), new_user_session_path, class: 'btn btn-primary btn-lg m-2' - = link_to t('.sign_up'), new_user_registration_path, class: 'btn btn-primary btn-lg ms-2' + .card-body + .row.align-items-center + .col-lg-8.col-xl-7 + .lead.me-auto.my-auto = t('.write_answer') + .col-lg-4.col-xl-5 + .row.row-cols-1.row-cols-sm-2.row-cols-lg-1.row-cols-xl-2.mt-2.mt-lg-0.gy-2 + .col + = link_to t('.sign_in'), new_user_session_path, class: 'btn btn-primary fs-5 w-100' + .col + = link_to t('.sign_up'), new_user_registration_path, class: 'btn btn-primary fs-5 w-100' diff --git a/app/views/web/resumes/_information.html.slim b/app/views/web/resumes/_information.html.slim index be7e4bb2..d4582b19 100644 --- a/app/views/web/resumes/_information.html.slim +++ b/app/views/web/resumes/_information.html.slim @@ -43,7 +43,7 @@ hr.my-auto -.row.mb-3 +.row.mb-3.pt-3 .col-sm-3 b = han('resume', 'summary') .col-sm-9.hexlet-cv-content @@ -101,7 +101,7 @@ hr.my-auto hr.my-auto -.row.mb-3 +.row.mb-3.pt-3 .col-sm-3 b = han('resume', 'about_myself') .col-sm-9.hexlet-cv-content