From 8929940df58df6fd87623121348a1c0a2a70e27a Mon Sep 17 00:00:00 2001 From: JSriwongsa Date: Sat, 15 Jul 2023 19:13:07 -0500 Subject: [PATCH] updated heading section --- donation_website/index.html | 76 +++++++++++++++++++++++++------------ donation_website/style.css | 66 ++++++++++++-------------------- 2 files changed, 76 insertions(+), 66 deletions(-) diff --git a/donation_website/index.html b/donation_website/index.html index ebc47f2..ff2453e 100644 --- a/donation_website/index.html +++ b/donation_website/index.html @@ -82,7 +82,6 @@
  • Laboratory Services
  • Clinical Apheresis Services
  • Medical Consultation
  • -
  • Blood & Diagnostic Testing
  • Cell & Gene Therapy
  • @@ -98,7 +97,7 @@
    -
    +

    Every blood doner is a lifesaver

    Your blood donation is needed to prevernt
    a blood shortage

    @@ -108,33 +107,63 @@
    -
    -
    -
    - + +
    +
    +
    +
    +

    Blood Donation Guide

    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +

    Appointment

    +

    Make an appointment and find the nearest donation center or blood drive near you.

    +
    +
    +
    +
    +
    + +
    +
    +
    +

    Eligibility

    +

    Find out the general eligibility criteria.

    +
    +
    +
    +
    +
    + +
    +
    +
    +

    Rapidpass

    +

    Complete you health history questionsonline, before visiting your blood drive location

    +
    +
    +
    +
    -

    Appointment

    - Find the nearest donation center or blood drive near you - Make appointment
    -
    -
    - +
    + +
    +
    +
    +
    -

    Eligibility

    - Find out the general eligibility criteria - Read more -
    -
    -
    - -
    -

    Rapidpass

    - Complete you health history questionsonline, before visiting your blood drive location - Start now
    +
    @@ -171,7 +200,6 @@
  • Laboratory Services
  • Clinical Apheresis Services
  • Medical Consultation
  • -
  • Blood & Diagnostic Testing
  • Cell & Gene Therapy
  • diff --git a/donation_website/style.css b/donation_website/style.css index 9bd778a..1ab1a8f 100644 --- a/donation_website/style.css +++ b/donation_website/style.css @@ -310,11 +310,11 @@ form.search i{ z-index: 1; padding: 0 15px; } -/*---------- home ----------*/ +/*-----Header-----*/ .home{ padding: 50px 10%; width: 100%; - min-height: 100vh; + min-height: 80vh; display: flex; flex-wrap: wrap; align-items: center; @@ -368,51 +368,31 @@ form.search i{ gap: 1rem; padding: 50px 10% } -.home-sub .box{ - flex: 1 1 10rem; - padding: 20px; - display: flex; +/*----- guide -----*/ +.guide{ + background-color: whitesmoke; +} +main > div .heading{ text-align: center; - flex-direction: column; - align-items: center; - margin-top: 3rem; - border-radius: 5px; -} -.home-sub .box:nth-child(1){ - background-color: #A7C7E7; -} -.home-sub .box:nth-child(2){ - background-color: #C3B1E1; -} -.home-sub .box:nth-child(3){ - background-color: #FAC898; -} -.home-sub .box .box-img{ - width: 150px; - height: 150px; - margin-top: -100px; -} -.home-sub .box .box-img img{ - width: 80%; - height: 80%; - object-fit: contain; - object-position: center; -} -.home-sub .box h2{ - color: #D22B2B; - font-size: 20px; - font-weight: 600; + margin-bottom: 50px; + font-size: 18px; text-transform: uppercase; letter-spacing: 1px; -} -.home-sub .box span{ - font-size: 16px; - margin: 0.3rem 0 0.5rem; + color: #E3735E; } -.box .btn{ - border-radius: 5px; +:is(.guide) .dot-image .thumbnail{ + position: relative; + opacity: unset; +} +.guide .dotgride .wrapper{ + --grid-col: 260px; + display: grid; + grid-template-columns: repeat(auto-fit, minmax(min(var(--grid-col), 100%), 1fr)); + gap: 30px; +} +.guide .dot-image .thumbnail img{ + width: 100%; } - @@ -455,6 +435,8 @@ form.search i{ opacity: 1; visibility: visible; } + + }