Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get Help page is now responsive including navigation bar #122

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 35 additions & 53 deletions help.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,54 +15,23 @@
}

header{
background-color: white;
color: white;
/*background-color: white;
color: white;*/
height: 18%;
width: 100%;
z-index: 10;
position: fixed;
/*position: fixed;*/
font-weight: 100;
}

.header-logo{
font-size: 10px;
float: left;
padding-left: 30px;
padding-top: 0px;
padding-bottom: 12%;

}

.header-logo > img {
width: 70%;
}

.header-list ul li a {
text-decoration: none;
display: block;
text-decoration: none;
text-transform: uppercase;
color: black;
font-size: 20px;
font-family: 'Raleway', sans-serif;
letter-spacing: 2px;
font-weight: 600;
margin-bottom: 10px;
padding: 20px;
transition: all ease 0.5s;
}

.header-list ul li {
float: right;
padding-left: 30px;
padding-top: 30px;
list-style: none;
padding-right: 40px;
.nav-item{
font-family: "Neuton", serif;
font-size:2em;
font-weight:bold;
padding-right:10px;
padding-left:20px;
}

header ul li a:hover{
background-color:rgba(220,20,60);
color: white;
border-bottom:2px solid tomato;
}


Expand All @@ -73,7 +42,8 @@ header ul li a:hover{
display: flex;
justify-content: center;
align-items: center;
padding-top: 20%;
padding-top:4%;
padding-bottom:4%;
}

.container:after{
Expand Down Expand Up @@ -115,7 +85,7 @@ h2{
position: relative;
padding: 0 0 10px;
margin-bottom: 10px;
font-family: 'Advent Pro', sans-serif;
font-family: 'Neuton', sans-serif;
}

h2:after{
Expand All @@ -132,41 +102,53 @@ h2:after{

.field{
width: 100%;
border: 2px solid rgba(0, 0, 0, 0);
/*border: 2px solid rgba(0, 0, 0, 0);*/
border-style:none;
outline: none;
background-color: rgba(230, 230, 230, 0.6);
/*background-color: rgba(230, 230, 230, 0.6);*/
border-bottom:2px solid tomato;
padding: 0.5rem 1rem;
font-size: 1.1rem;
margin-bottom: 22px;
font-family:"Neuton",serif;
transition: .3s;
}

.field:hover{
background-color: rgba(0, 0, 0, 0.1);
/*background-color: rgba(0, 0, 0, 0.1);*/
}

textarea{
min-height: 150px;
min-height:100px;
}

.btn{
width: 100%;
main.container.btn{
/*width: 100%;
padding: 0.5rem 1rem;
background-color:#008B8B;
background-color:red;
color: #fff;
font-size: 1.1rem;
border: none;
outline: none;
cursor: pointer;
transition: .3s;
transition: .3s;*/
}
button.btn{
background-color:red;
color:white;
font-size: 1.1rem;
font-weight:bold;
font-family:"Neuton", serif;
font-size:1.4em;
}

.btn:hover{
button.btn:hover{
background-color: rgba(72,61,139);
color:white;
}

.field:focus{
border: 2px solid rgba(30,85,250,0.47);
/*border: 2px solid rgba(30,85,250,0.47);*/
background-color: #fff;
}

Expand Down
36 changes: 26 additions & 10 deletions help.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,38 @@
<link rel="stylesheet" href='help.css'>
<link rel="icon" href='./Images/bb_logo(black).png' type="image/png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">

</head>
<title>Connect with us </title>

<body>

<header>
<nav>
<div class="header-logo"><img src="./Images/bb_logo(black).png"></div>
<div class="header-list">
<ul>
<li><a href="index.html">Get Help</a></li>
<li><a href="index.html">Donate</a></li>
<li><a href="index.html">Volunteer</a></li>
<li><a href="index.html">About Us</a></li>
<nav class="navbar navbar-expand-lg navbar-light ">
<div class="container-fluid">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarTogglerDemo01" aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarTogglerDemo01">
<a class="navbar-brand" href="#"><img src="./Images/bb_logo(black).png" style="height:100px;"></a>
<ul class="navbar-nav ms-auto mb-2 mb-lg-0 ">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="index.html">About Us</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="index.html">Volunteer</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="donate.html">Donate</a>
</li>
<li class="nav-item">
<a class="nav-link active">Get Help</a>
</li>
</ul>
</div>
</div>
</nav>
</nav>
</header>


Expand Down Expand Up @@ -69,7 +84,8 @@ <h3>JOIN OUR CAUSE</h3>


</footer>

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>


</body>

Expand Down
3 changes: 3 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ p {
background: white;
margin: 2%;
}
.img1{
padding:6%;
}

.about-col:hover {
transform: scale(1.03, 1.03);
Expand Down
26 changes: 18 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
<link rel="stylesheet" href='index.css'>
<link rel="stylesheet" href='https://fontawesome.com/v4.7.0/icon/bars'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />

</head>
<title>BLOOD BUDDY</title>

Expand Down Expand Up @@ -51,47 +53,47 @@ <h1 class="heading">What is this all about ?</h1> <br>
<p class="head-des" class="text">We solve the problem of blood emergencies by connecting <span
class="one-line"><br></span> blood donors directly with people in blood need. </p>
<div class="row">
<div class="about-col">
<div class="image">
<div class="about-col" data-aos="fade-left">
<div class="image img1">
<img src="./Images/drop.png">
</div>
<h3>What we do ?</h3>
<p>We connect blood donors with recipients, without any intermediary such as blood banks, for an
efficient and seamless process.</p>
</div>
<div class="about-col">
<div class="image">
<div class="about-col"data-aos="fade-up">
<div class="image img1">
<img src="./Images/innovation.png">
</div>
<h3>Innovative</h3>
<p>Bloood Buddy is an innovative approach to address global heath.We provide <span>immediate
access</span> to blood donors.</p>
</div>
<div class="about-col">
<div class="about-col"data-aos="fade-right">
<div class="image">
<img src="./Images/netwotk.png">
</div>
<h3>Network</h3>
<p>Blood Buddy is one of several community organizations working together as a network that
responds to emergencies in an efficient manner.</p>
</div>
<div class="about-col">
<div class="about-col"data-aos="fade-down-left">
<div class="image">
<img src="./Images/noti.png">
</div>
<h3>Get notified</h3>
<p>Blood Buddy Connect works with network partners to connect blood donors and recipients
through an automated SMS service and a mobile app.</p>
</div>
<div class="about-col">
<div class="about-col"data-aos="fade-down-up">
<div class="image">
<img src="./Images/cost.png">
</div>
<h3>Totally Free</h3>
<p>Blood Budyy's ultimate goal is to provide an easy -to-use, easy-to-access, fast, efficient,
and reliable way to get life-saving blood, totally <span>Free of cost.</span></p>
</div>
<div class="about-col">
<div class="about-col"data-aos="fade-down-right">
<div class="image">
<img src="./Images/save.png">
</div>
Expand Down Expand Up @@ -286,6 +288,14 @@ <h3>JOIN OUR CAUSE</h3>
headerl.style.right = "-210px";
}
</script>
</script>
<!--Animation on about us section-->
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script>
AOS.init({
duration:2000
});
</script>

<!--js for scroll effects-->
<script src="scroll.js"></script>
Expand Down