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

Binary-Brains #18

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
159 changes: 159 additions & 0 deletions Binary-Brains/about.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200&display=swap');


*{
margin: 0px;
padding: 0px;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}



.section{
width: 100%;
min-height: 100vh;
background-color: #ddd;
}

.container1{
width: 80%;
display: block;
margin: auto;
padding-top: 100px;
}

.content-section{
float: left;
width: 55%;
display: block;
margin: auto;
}

.image-section{
float: left;
height: 50%;
width: 50%;
}

.image-section img{
width: 50%;
height: auto;
display: block;
margin: auto;
}

.content-section .title{
text-transform: uppercase;
font-size: 28px;
}

.content-section .content h3{
margin-top: 20px;
color: #5d5d5d;
font-size: 21 px;
}

.content-secion .content p{
margin-top: 10px;
font-family: sans-serif;
font-size: 18px;
line-height: 1.5;
}

.content-section .content .button{
margin-top: 30px;
}

.content-section .content .button a{
background-color: #3d3d3d;
padding: 12px 40px;
text-decoration: none;
color: #fff;
font-size: 25px;
letter-spacing: 1.5px;
}

.content-section .content .button a:hover{
background-color: #a52a2a;
color: #fff;
}

.content-section .social{
margin: 40px 40px;
}

.content-section .social i{
color: #a52a2a;
font-size: 30px;
padding: 0px 10px;
}

.content-section .social i:hover{
color:#3d3d3d;
}

@media screen and(max-width: 768px){
.container{
width: 80%;
display: block;
margin: auto;
padding-top: 50px;
}
.content-secion{
float: none;
width: 100%;
display: block;
margin: auto;
}
.image-section{
float: none;
width: 100%;
display: block;
margin: auto;
}
.image-section img{
width: 100%;
height: auto;
display: block;
margin: auto;
}
.content-secion .title{
text-align: center;
font-size: 19px;
}
.content-section .content .button{
text-align: center;
}
.content-section .content .button a{
padding: 9px 30px;
}
.content-secion .social{
text-align: center;
}
}

.horizontal-list {
list-style: none;
padding-left: 0px;
margin: 0px;
align-items: center;
}

.horizontal-list li {
display: inline-block;
margin: 0px 8px 8px 0px;
font-weight: 100;
font-size: 0.9rem;
}

.horizontal-list li a {
color: white;
text-decoration: none;
}
section {
display: flex;
flex-direction: column;
align-items: center;
padding-bottom: 20px;
}
37 changes: 37 additions & 0 deletions Binary-Brains/about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<!DOCTYPE html>
<html>
<head>

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css" >
<link rel="stylesheet" href="about.css">
<title>About Section</title>
</head>
<body>
<div class="section" >
<div class="container1">
<div class="content-section">
<div class="title">
<h1>About Us</h1>
</div>

<div class="content">
<h3>Lorem Ipsum is simply </h3>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard.Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard.Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard.</p>
<div class="button">
<a href="">Read More</a>
</div>
</div>
<div class="social">
<a href=""><i class="fab fa-facebook-f"></i></a>
<a href=""><i class="fab fa-twitter"></i></a>
<a href=""><i class="fab fa-instagram"></i></a>
</div>
</div>
<div class="image-section">
<img src="https://www.f6s.com/content-resource/profiles/2156538_original.jpg">
</div>
</div>
</div>
</body>
</html>
175 changes: 175 additions & 0 deletions Binary-Brains/contact.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}

body,
input,
textarea{
font-family: "Poppins", sans-serif;
}

.container2{
position: relative;
width: 100%;
min-height: 100vh;
padding: 2rem;
background-color: #fafafa;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}

.form{
width: 100%;
max-width: 820px;

background-color: rgb(22, 140, 236);
border-radius: 10px;
box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.1);
z-index: 1000;
overflow: hidden;
display: grid;
grid-template-columns: repeat(2, 1fr);
}

.contact-form{
background-color: #1abc9c;
position: relative;
}

.cicle{
border-radius: 50%;
background: red;
position: absolute;
}

.circle.one{
width: 130px;
height: 130px;
top: 130px;
right: -40px;
}

.circle.two{
width: 80px;
height: 80px;
top: 10px;
right: 30px;
}

.contact-form:before{
content:"";
position: absolute;
width: 26px;
height: 26px;
background-color: rgb(23, 247, 194);
transform: rotate(45deg);
top: 50px;
left: -13px;
}

form{
padding: 2.3rem 2.2rem;
z-index: 10;
overflow: hidden;
position: relative;
}

.title{
color:#fff;
font-weight: 500;
font-size: 1.5rem;
line-height: 1;
margin-bottom: 0.7rem;
}

.input-container2{
position: relative;
margin: 1rem 0;
}

label{
display: none;
}

.input{
width: 100%;
outline: none;
border: 2px solid #fafafa;
background: none;
padding: 0.6rem 1.2rem;
color: #fff;
font-weight: 500;
font-size: 0.95rem;
letter-spacing: 0.5px;
border-radius: 25px;
transition: 0.3s;
}

textarea.input{
padding: 0.8rem 1.2rem;
min-height: 150px;
border-radius: 22px;
resize: none;
overflow-y: auto;
}

.input-container2 label{
position: absolute;
top: 50%;
left: 15px;
transform: translateY(-50%);
padding: 0 0.4rem;
color: #fafafa;
font-size: 0.9rem;
font-weight: 400;
pointer-events: none;
z-index: 1000;
transition: 0.5s;
}

.input-container2.textarea label{
top: 1rem;
transform: translateY(0);
}

.btn{
padding: 0.6rem 1.3rem;
background-color: #fff;
border: 2px solid #fafafa;
font-size: 00.95rem;
color: #1abc9c;
line-height: 1;
border-radius: 25px;
outline: none;
cursor: pointer;
transition: 0.3s;
}

.btn:hover{
background-color: transparent;
color: #fff;
}

.input-container2 span{
position: absolute;
top: 0;
left: 25px;
transform: translateY(-50%);
font-size: 0.8rem;
padding: 0 0.4rem;
color: transparent;
pointer-events: none;
z-index: 500;
}

.input-container2 span:before,
.input-container2 span:after{

}



Loading