From 4c857cb20baeb6496505a9a922d543d4adfa7231 Mon Sep 17 00:00:00 2001 From: Yash Verma <114978813+Rajput-xv@users.noreply.github.com> Date: Mon, 10 Jun 2024 17:39:57 +0530 Subject: [PATCH 1/4] Add Navbar & footer to blood.html --- Css-Files/bloodstyle.css | 339 ++++++++++++++++++++++++++++++++++++++- Html-Files/blood.html | 114 +++++++++++-- style.css | 5 +- 3 files changed, 436 insertions(+), 22 deletions(-) diff --git a/Css-Files/bloodstyle.css b/Css-Files/bloodstyle.css index 98ec3a2a..f4f26ab1 100644 --- a/Css-Files/bloodstyle.css +++ b/Css-Files/bloodstyle.css @@ -241,10 +241,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 +266,337 @@ 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; + } + + a:hover { + color: #55a5ea; + text-decoration: none; + } + + h1, + h2, + h3, + h4, + h5, + h6 { + font-family: "Raleway", sans-serif; + } + + .nav_link li { + padding: 5px 20px; + 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; + } + + .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: 60px; + margin: auto; + width: 100%; + } + + #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 { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + max-width: 100%; + width: 95%; + background: #3fbcc051; + border-radius: 6px; + } + + .row { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + gap: 5rem; + padding: 20px; + } + + .row h4 { + color: #f0f0f0; + font-size: 1.2rem; + font-weight: 400; + } + + footer .links { + margin-top: 20px; + } + + footer .links li { + list-style: none; + margin-bottom: 10px; + } + + .footer-col .links li a { + text-decoration: none; + color: #bfbfbf; + } + + .footer-col .links li a:hover { + color: #fff; + } + + .footer-col p { + margin: 20px 0; + color: #bfbfbf; + max-width: 300px; + } + + .footer-col form { + display: flex; + gap: 5px; + } + + .footer-col input { + height: 40px; + border-radius: 6px; + background: none; + width: 100%; + outline: none; + border: 1px solid #7489c6; + caret-color: #fff; + color: #fff; + padding-left: 10px; + } + + .footer-col input::placeholder { + color: #ccc; + } + + .footer-col form button { + background: #fff; + border: none; + color: #08434551; + padding: 10px 15px; + border-radius: 6px; + cursor: pointer; + font-weight: 1000; + transition: 0.2s ease; + } + + .footer-col form button:hover { + background: #cecccc; + } + /* + .icons { + display: flex; + margin-top: 30px; + gap: 30px; + cursor: pointer; + } + + .icons i { + color: #afb6c7; + } + + .icons i:hover { + color: #fff; + } + */ + @media (max-width: 768px) { + .footer { + position: relative; + bottom: 0; + left: 0; + transform: none; + width: 100%; + border-radius: 0; + } + + .footer .footer-row { + padding: 20px; + gap: 1rem; + } + + .footer-col form { + display: block; + } + + .footer-col form :where(input, button) { + width: 100%; + } + + .footer-col form button { + margin: 10px 0 0 0; + } + } + + #footer .footer-top .social-links a:hover { + background: #57a6ea; + text-decoration: none; + } + + #footer .footer-top h4 { + font-size: 16px; + font-weight: 600; + position: relative; + padding-bottom: 12px; + } + + #footer .footer-top .footer-links { + margin-bottom: 30px; + } + + #footer .footer-top .footer-links ul { + list-style: none; + padding: 0; + margin: 0; + } + + #footer .footer-top .footer-links ul i { + padding-right: 2px; + color: #57a6ea; + font-size: 18px; + line-height: 1; + } + + #footer .footer-top .footer-links ul li { + padding: 10px 0; + display: flex; + align-items: center; + } + + #footer .footer-top .footer-links ul li:first-child { + padding-top: 0; + } + + #footer .footer-top .footer-links ul a { + color: #fff; + transition: 0.3s; + display: inline-block; + line-height: 1; + } + + #footer .footer-top .footer-links ul a:hover { + color: #57a6ea; + } + + #footer .footer-top .footer-newsletter form { + margin-top: 30px; + background: #fff; + padding: 6px 10px; + position: relative; + border-radius: 4px; + } + + #footer .footer-top .footer-newsletter form input[type="email"] { + border: 0; + padding: 4px; + width: calc(100% - 110px); + } + + #footer .footer-top .footer-newsletter form input[type="submit"] { + position: absolute; + top: -1px; + right: -1px; + bottom: -1px; + background: none; + font-size: 16px; + padding: 0 20px; + background: #57a6ea; + color: #fff; + transition: 0.3s; + border-radius: 0 4px 4px 0; + } + + #footer .footer-top .footer-newsletter form input[type="submit"]:hover { + background: #57a6ea; + } + + .copyright { + display: flex; + justify-content: center; + padding-top: 10px; + } + .copyright strong{ + margin-left: 5px; + } \ No newline at end of file diff --git a/Html-Files/blood.html b/Html-Files/blood.html index bb82c507..21398675 100644 --- a/Html-Files/blood.html +++ b/Html-Files/blood.html @@ -10,29 +10,44 @@ - - + + + + + + +