diff --git a/Css-Files/bloodstyle.css b/Css-Files/bloodstyle.css index 98ec3a2a..dc998bba 100644 --- a/Css-Files/bloodstyle.css +++ b/Css-Files/bloodstyle.css @@ -210,7 +210,8 @@ justify-content: center; align-items: center; flex-direction: column; text-align: center; -gap: 15px +gap: 15px; +padding-top: 3rem; } .container .drop .content h2{ @@ -228,6 +229,7 @@ gap: 15px align-items: center; font-size: 2em; color: var(--clr); + padding-left: 1em; } .container .drop .content a{ position: relative; @@ -241,10 +243,10 @@ gap: 15px opacity: 0.75; transition: 0.5s; } -container .drop .content a:hover{ +.container .drop .content a:hover{ opacity: 1; } -container .drop .content a::before{ +.container .drop .content a::before{ content: ''; position: absolute; width: 65%; @@ -266,4 +268,400 @@ container .drop .content a::before{ font-size: 28px; line-height: 36px; } -} \ No newline at end of file +} +.ltr{ + color: black !important; +} + + a { + color: #55a5ea; + text-decoration: none; + cursor: pointer; + } + + a:hover { + color: #55a5ea; + text-decoration: none; + } + + h1, + h2, + h3, + h4, + h5, + h6 { + font-family: "Raleway", sans-serif; + } + + .nav_link li { + padding: 5px 10px; + display: inline-block; + color: white; + } + + .nav_link li a { + transition: all 0.3s ease 0s; + color: white; + } + button { + position: relative; + border-radius: 10px; + border: 1px solid #4bb6b7; + background-color: #4bb6b7; + color: #fff; + font-size: 15px; + font-weight: 700; + margin: 8px; + padding: 8px 50px; + letter-spacing: 1px; + text-transform: capitalize; + transition: 0.3s ease-in-out; + cursor: pointer; + } + + .nav_link li a:hover { + color: #55a5ea; + + /* text-decoration: underline 2.5px rgb(3, 3, 94); */ + } + + .header_container { + /* background-color: #d9d9d9; */ + background-color: #022a2d ; + opacity: 0.9; + display: flex; + flex-direction: row; + /* justify-content: space-evenly; */ + justify-content: space-between; + align-items: center; + height: 70px; + margin: auto; + width: 100%; + } + + :root { + --text-color: #959DA5; + --footer-bg: #022a2d; + --footer-bottom-bg: #3fbcc051s; + --white: white; + --link-color: #959DA5; + --link-hover: #2F81CF; + --button-border: #848D97; + } + footer { + position: relative; + padding: 50px 0; + } + + #back-to-top-container { + position: fixed; + bottom: 25px; + right: 30px; + cursor: pointer; + z-index: 1000; + } + + .circle { + background-color: #00093d; + border-radius: 50%; + width: 35px; + height: 35px; + display: flex; + justify-content: center; + align-items: center; + transition: background-color 0.3s; + } + + #back-to-top { + width: 40px; + height: 40px; + fill: #4178c0; + color: #00093d; + transition: fill 0.3s; + } + + #back-to-top:hover { + fill: hsl(214, 50%, 60%); + } + + .back-to-top:hover { + background: #3fbcc0cd; + color: #fff; + } + + .back-to-top.active { + visibility: visible; + opacity: 1; + } + + .subscribebtn:hover { + border: 3px solid var(--white); + background-color: var(--footer-bg); + } + #footer { + background: #000; + padding: 0 0 20px 0; + color: #fff; + font-size: 14px; + width: 100%; + padding: 50px; + } + + #footer .footer-top { + background: #000; + padding: 20px 0 20px 0; + } + + #footer .footer-top .footer-info { + margin-bottom: 20px; + } + + #footer .footer-top .footer-info h3 { + font-size: 50px; + margin: 0 0 20px 0; + color: #57a6ea; + padding: 2px 0 2px 0; + line-height: 1; + } + + #footer .footer-top .footer-info p { + font-size: 14px; + line-height: 24px; + margin-bottom: 0; + font-family: "Roboto", sans-serif; + } + + #footer .footer-top .social-links a { + font-size: 18px; + display: inline-block; + background: #57a6ea; + color: #fff; + line-height: 1; + padding: 8px 0; + margin-right: 4px; + border-radius: 4px; + text-align: center; + width: 36px; + height: 36px; + transition: 0.3s; + } + footer { + bottom: 0; + background-color: #03393d; + width: 100%; + min-width: 20re; + bottom: 0; + display: flex; + align-items: center; + flex-direction: column; + } + + + .footer-wrapper { + display: flex; + flex-direction: column; + max-width: 80rem; + width: 100%; + margin: 0 auto; + padding: 1rem; + } + + .footer-logo-columns { + list-style-type: none; + display: flex; + flex-direction: row; + flex-wrap: wrap; + flex-grow: 4; + gap: 3rem 1rem; + } + + .footer-logo { + margin-bottom: 2rem; + width: 3rem; + } + + .footer-logo-column { + display: flex; + grid-area: footer-logo; + flex-direction: column; + min-width: 16rem; + flex-grow: 1; + padding-right: 0.5rem; + } + + .footer-logo-column p { + color: var(--text-color); + font-size: 0.95rem; + margin-bottom: 1.5rem; + } + + .footer-logo-column h3 { + color: var(--white); + margin-top: 0.25rem; + margin-bottom: 0.25rem; + } + + /* other columns */ + + .other-columns { + display: inline-grid; + grid-template-columns: repeat(2, 1fr); + width: 100%; + gap: 2rem 1rem; + padding-top: 2rem; + } + + .other-columns ul { + display: flex; + gap: 0.75rem; + list-style-type: none; + padding: 0; + margin: 0; + flex-direction: column; + font-weight: 600; + } + + .other-columns ul a { + color: var(--text-color); + text-decoration: none; + font-size: 0.85rem; + } + + .other-columns ul a:hover { + text-decoration: underline; + } + + .other-columns h3 { + color: var(--link-color); + margin-bottom: 1rem; + font-size: 1rem; + font-family: ui-monospace, monospace; + } + + .footer-logo svg { + fill: var(--white); + } + + /*? Footer bottom */ + .footer-bottom { + width: 100%; + color: var(--text-color); + background-color: var(--footer-bottom-bg); + } + + .footer-bottom-wrapper { + display: flex; + max-width: 80rem; + margin: 0 auto; + gap: 1rem; + width: 100%; + flex-wrap: wrap; + justify-content: space-between; + align-items: center; + align-content: center; + padding: 1rem; + } + + .footer-bottom small { + font-size: 1rem; + display: inline; + white-space: nowrap; + } + + .footer-bottom-links { + list-style-type: none; + display: inline-flex; + flex-wrap: wrap; + justify-content: center; + gap: 1rem; + } + + .footer-bottom-links a { + color: var(--link-color); + text-decoration: none; + white-space: nowrap; + } + + .footer-bottom-links a:hover { + color: var(--link-hover); + text-decoration: underline; + } + + .footer-bottom>small { + font-size: 1rem; + margin: 0 auto; + width: 100% + } + + /*? socials */ + .social-wrapper { + display: flex; + gap: 0.5rem; + margin: 0 auto; + } + + .social-links { + display: inline-flex; + gap: 0.5rem; + align-items: center; + } + + .social-links img { + width: 1.5rem; + height: 1.5rem; + transition: all 0.2s ease-in-out; + } + + .social-links img:hover { + transform: scale(1.1); + } + + .social-links ul { + display: flex; + flex-wrap: wrap; + gap: 0.75rem; + list-style-type: none; + } + + .footer-bottom-wrapper { + display: flex; + flex-direction: column; + justify-content: center; + } + + .subscribe-form{ + margin-top: 10px; + display: flex; + flex-direction: column; + gap: 10px; + } + .subscribe-form input{ + padding: 10px; + } + + @media (min-width: 600px) { + .other-columns { + display: grid; + grid-template-columns: repeat(4, 1fr); + } + + .footer-bottom-wrapper { + flex-direction: row; + } + .footer-bottom-wrapper small{ + font-size: smaller; + } + .footer-bottom-links { + margin-left: 1.5rem; + } + } + + @media (max-width: 800px) { + .footer-top { + display: flex; + flex-direction: column; + align-items: center; + text-align: center; + padding: 1rem 0.5rem 2rem 0.5rem; + } + } \ No newline at end of file diff --git a/Html-Files/blood.html b/Html-Files/blood.html index bb82c507..0ccbded8 100644 --- a/Html-Files/blood.html +++ b/Html-Files/blood.html @@ -2,6 +2,7 @@
+ @@ -10,29 +11,41 @@ - - + + + + +Know the blood banks and blood groups available around you. No one should suffer ỉn emergencies.Find the nearest blood donation centers, check blood availability, and get information on how to donate or request blood in urgent situations.