From ce82222533358dd5f64efda1dbfa2b6d047f8e85 Mon Sep 17 00:00:00 2001 From: Asmita Mishra <146121869+AsmitaMishra24@users.noreply.github.com> Date: Sun, 7 Jul 2024 02:43:49 +0530 Subject: [PATCH 1/4] Redesigned "Make an Appointment" Section (#749) * Redesigned "Make an Appointment" Section --------- Co-authored-by: Vamshi Maskuri <117595548+varshith257@users.noreply.github.com> --- Css-Files/appointment.css | 166 ++++++++++++++ index.html | 443 ++++++++++++++------------------------ style.css | 176 --------------- 3 files changed, 327 insertions(+), 458 deletions(-) create mode 100644 Css-Files/appointment.css diff --git a/Css-Files/appointment.css b/Css-Files/appointment.css new file mode 100644 index 00000000..cb40e605 --- /dev/null +++ b/Css-Files/appointment.css @@ -0,0 +1,166 @@ +#appointment { + display: flex; + align-items: center; + justify-content: center; +} + +.appointment-container { + width: 90%; + max-width: 900px; + margin: 0 auto; + padding: 20px; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); + background-color: #3fbcc051; + text-align: center; + margin-bottom: 7%; + border-radius: 20px; +} + +.section-title h2 { + font-size: 1.6rem; + margin: 15px 0 0 0; + color: #fff; + font-weight: bold; +} + +.section-title p { + font-size: 0.8rem; + color: #666; + font-weight: normal; + margin: 20px 0 0 0; +} + +.php-email-form { + display: flex; + flex-direction: column; + align-items: center; + border-radius: 8px; + padding: 10px; + box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1); +} + +.form-group { + margin-bottom: 15px; + width: 100%; + max-width: 400px; +} + +.form-group label { + display: block; + text-align: start; + text-transform: capitalize; + font-weight: 600; + margin-bottom: 15px; +} + +.form-control { + width: 100%; + padding: 8px; + font-size: 1rem; + border: 1px solid #ccc; + border-radius: 4px; + background-color: #fff; + color: #000; +} + +.form-select { + width: 100%; + padding: 6px; + font-size: 0.9rem; + border: 1px solid #ccc; + border-radius: 4px; + background-color: #fff; + color: #000; + box-sizing: border-box; + appearance: none; + -webkit-appearance: none; + -moz-appearance: none; + background-image: url('data:image/svg+xml;charset=US-ASCII,'); /* Custom dropdown arrow */ + background-repeat: no-repeat; + background-position: right 10px center; + background-size: 16px 16px; +} + +.form-select::placeholder { + color: #999; + opacity: 1; +} + +.btn-primary { + text-align: center; + justify-content: center; + background-color: #29888A; + color: #fff; + font-size: 1.2rem; + border: none; + border-radius: 4px; + cursor: pointer; + text-decoration: none; + margin: 20px 0 30px 0; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); + transition: background-color 0.3s, box-shadow 0.3s; +} + +.btn-primary:hover { + background-color: #30a3a5; + box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); +} + +/* Responsive adjustments */ +/* For tablets and smaller screens */ +@media (max-width: 768px) { + .appointment-container { + padding: 15px; + } + + .section-title h2 { + font-size: 2rem; + } + + .section-title p { + font-size: 1rem; + } + + .php-email-form { + padding: 15px; + } + + .btn-primary { + width: 100%; + max-width: none; + } +} + +/* For larger smartphones and smaller tablets */ +@media (max-width: 576px) { + .appointment-container { + padding: 10px; + } + + .section-title h2 { + font-size: 1.8rem; + } + + .section-title p { + font-size: 0.9rem; + } +} + +/* For extra-large screens (desktops) */ +@media (min-width: 1200px) { + .appointment-container { + padding: 30px; + } + + .section-title h2 { + font-size: 3rem; + } + + .section-title p { + font-size: 1.2rem; + } + + .php-email-form { + padding: 30px; + } +} diff --git a/index.html b/index.html index 48b38743..94fcd749 100644 --- a/index.html +++ b/index.html @@ -39,7 +39,7 @@ - + @@ -861,180 +775,145 @@
Access your medical records, lab results, and prescription history securely.
-Access your medical records, lab results, and prescription history securely.
+We listed the docs, we made you a form. You make us an appointment.
- -Access your medical records, lab results, and prescription history securely.
-Access your medical records, lab results, and prescription history securely.
+We listed the docs, we made you a form. You make us an appointment.
We listed the docs, we made you a form. You make us an appointment.
-