From 26ddeb53d2d52ee310087d26114fe9602e4ef79b Mon Sep 17 00:00:00 2001 From: Uday Kiran <116891059+uday-kiran-001@users.noreply.github.com> Date: Thu, 3 Oct 2024 14:01:41 +0530 Subject: [PATCH] Fix #20497: Update button CSS in creator-guidelines page (#21021) Update button CSS in creator-guidelines page Co-authored-by: Akhilesh Kr. <2827daya@gmail.com> --- .../playbook.component.css | 28 ++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/core/templates/pages/participation-playbook/playbook.component.css b/core/templates/pages/participation-playbook/playbook.component.css index 3069cf005c25..071a1c124ae1 100644 --- a/core/templates/pages/participation-playbook/playbook.component.css +++ b/core/templates/pages/participation-playbook/playbook.component.css @@ -21,12 +21,29 @@ margin-left: 25px; } .playbook .oppia-about-buttons-container { + display: flex; + justify-content: space-evenly; text-align: center; } +.playbook .btn.oppia-about-button { + background-color: rgba(0, 0, 0, 0.3); + color: rgba(255, 255, 255, 1.0); + font-weight: 500; + letter-spacing: 0.7px; + margin: 0 auto 4%; + max-width: 80%; + min-width: 40%; + padding: 10px 30px; + text-transform: uppercase; +} +.playbook .btn.oppia-about-button:hover { + background-color: #fff; + color: #009688; +} .playbook .oppia-about-extra-info { background-color: #009788; color: #fff; - height: 245px; + height: 160px; width: 100%; } @@ -45,6 +62,15 @@ text-align: center; } +@media(max-width: 1000px) { + .playbook .oppia-about-buttons-container { + flex-direction: column; + } + .playbook .btn.oppia-about-button { + min-width: 80%; + } +} + @media only screen and (min-width: 1400px) { .playbook .oppia-about-extra-info { height: 245px;