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

Created Post A Blood Request Page and linked that with other pages #50

Closed
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
Binary file added Images/post_blood_request.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions donate.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,9 @@ header {

.header-list ul li {
float: right;
padding-left: 30px;
padding-top: 30px;
list-style: none;
padding-right: 40px;
padding-right: 20px;
}

.des{
Expand Down Expand Up @@ -90,6 +89,10 @@ main {
font-family: 'Josefin Sans', sans-serif;
text-align: center;
}
.box .des a{
text-decoration: none;
color: black;
}

.box .des li {
list-style: none;
Expand Down
9 changes: 5 additions & 4 deletions donate.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@
<div class="header-logo"><img src="./Images/bb_logo(black).png"></div>
<div class="header-list">
<ul>
<li><a href="help.html" target="_blank"> Get Help</a></li>
<li><a href="help.html">Get Help</a></li>
<li><a href="donate.html">Donate</a></li>
<li><a href="index.html" target="_blank">Volunteer</a></li>
<li><a href="index.html" target="_blank">About Us</a></li>
<li><a href="post_a_blood_request.html">Request Blood</a></li>
<li><a href="index.html">Volunteer</a></li>
<li><a href="index.html">About Us</a></li>
</ul>
</div>
</nav>
Expand All @@ -32,7 +33,7 @@ <h2>Connect with us & save lives
around your location</h2>
<ul class="des">
<li class="steps"><span>1</span> Register🧍🏻</li>
<li class="steps"><span>2</span> Post a Blood request🩸 </li>
<a href="post_a_blood_request.html"><li class="steps"><span>2</span> Post a Blood request🩸 </li></a>
<li class="steps"><span>3</span> Respond ✅ </li>
<li class="steps"><span>4</span> Get notified 📱</li>
<li class="steps"><span>5</span> Forever Free 💲❌ </li>
Expand Down
3 changes: 1 addition & 2 deletions help.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,9 @@ header{

.header-list ul li {
float: right;
padding-left: 30px;
padding-top: 30px;
list-style: none;
padding-right: 40px;
padding-right: 20px;
}

header ul li a:hover{
Expand Down
5 changes: 3 additions & 2 deletions help.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@
<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="help.html">Get Help</a></li>
<li><a href="donate.html">Donate</a></li>
<li><a href="post_a_blood_request.html">Request Blood</a></li>
<li><a href="index.html">Volunteer</a></li>
<li><a href="index.html">About Us</a></li>
</ul>
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<ul>
<li><a href="#about-us">About Us</a></li>
<li><a href="#vol-sect">Volunteer</a></li>
<li><a href="post_a_blood_request.html" target="_blank">Request Blood</a></li>
<li><a href="donate.html" target="_blank">Donate</a></li>
<li><a href="help.html" target="_blank">Get Help</a></li>
</ul>
Expand Down
305 changes: 305 additions & 0 deletions post_a_blood_request.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,305 @@

@import url('https://fonts.googleapis.com/css2?family=Patrick+Hand&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital@1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Neuton:ital@1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Patrick+Hand+SC&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans+SC:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=NTR&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');


* {
margin: 0px;
padding: 0px;
}

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

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

}

.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-top: 30px;
list-style: none;
padding-right: 20px;
}

header ul li a:hover{
background-color:rgba(220,20,60);
color: white;
}


.container{
position: relative;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
padding-top: 10%;
}

.container:after{
content: '';
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
background: url("img/bg.jpg") no-repeat center;
background-size: cover;
filter: blur(50px);
z-index: -1;
}
.contact-box{
max-width: 850px;
display: grid;
grid-template-columns: repeat(2, 1fr);
justify-content: center;
align-items: center;
text-align: center;
background-color: #fff;
box-shadow: 0px 0px 19px 5px rgba(0,0,0,0.19);
padding-right: 10px;

}

.right{
background: url(./Images/post_blood_request.jpg) no-repeat center;
background-size: contain;
height: 100%;
}

.left{
padding: 25px 40px;
}

h2{
position: relative;
padding: 0 0 10px;
margin-bottom: 10px;
font-family: 'Advent Pro', sans-serif;
}

h2:after{
content: '';
position: absolute;
left: 50%;
bottom: 0;
transform: translateX(-50%);
height: 4px;
width: 100px;
border-radius: 2px;
background-color: #008B8B;
}

.field,#blood_groups{
box-sizing: border-box;
width: 100%;
border: 2px solid rgba(0, 0, 0, 0);
outline: none;
background-color: rgba(230, 230, 230, 0.6);
padding: 0.5rem 1rem;
font-size: 1.1rem;
margin-bottom: 22px;
transition: .3s;
}

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

textarea{
min-height: 150px;
}
label{
font-family: 'Advent Pro', sans-serif;
font-weight: 600;
}
select{
margin-bottom: 15px;
}
.btn{
width: 100%;
padding: 0.5rem 1rem;
background-color:#008B8B;
color: #fff;
font-size: 1.1rem;
border: none;
outline: none;
cursor: pointer;
transition: .3s;
}

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

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

@media screen and (max-width: 880px){
.contact-box{
grid-template-columns: 1fr;
}
.left{
height: 200px;
}
}

main{
background: url(../Images/ug.png);
}



/*Footer*/
.sec {
background: black;
margin-top: 2%;
color: white;
height: 200px;
padding-bottom: 20px;
display: flex;
flex-direction: column;
}

.footer-head {
display: flex;
justify-content: space-around;
padding-top: 4vh;
}

.bout {
position: relative;
padding-right: 20px;
padding-left: 20px;
text-align: center;
padding-top: 1vh;
}

.bout p {
color: #777;
font-size: 20px;
font-weight: 300;
padding: 10px;
line-height: 20px;
}

.head {
padding-left: 20px;
font-family: 'Alegreya Sans SC', sans-serif;
font-size: 40px;
font-weight: 600;
display: flex;
align-items: center;
}

.sci li {
float: right;
text-decoration: none;
list-style: none;
padding-right: 40px;
font-size: 30px;
}

.socials {
display: flex;
align-items: center;
}

.sci li a {
color: white;
}

.sci li a:hover{
transform: translateY(-20px);
box-shadow: inset-1px -1px 2px rgba(0,0,0,0.2), 2px 24px 10px rgba(0,0,0,0.1);
}

.sci li:nth-child(1) a:hover{

color: #3b5998;
transform: translateY(-20px);

}

.sci li:nth-child(2) a:hover{

color: rgba(188, 42, 141);
transform: translateY(-20px);

}

.sci li:nth-child(3) a:hover{

color:#F0E68C;
transform: translateY(-20px);
}
@media screen and (max-width: 500px) {
.head {
padding-left: 15px;
font-size: 30px;
font-weight: 550;
}

.sci li {
padding-right: 15px;
font-size: 25px;
}
}

@media screen and (max-width: 360px) {
.head {
padding-left: 7px;
font-size: 25px;
}

.sci li {
padding-right: 7px;
font-size: 20px;
}

.bout p {
font-size: 18px;
}

.bout {
padding-left: 2px;
padding-right: 2px;
}
}
Loading