Skip to content
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
126 changes: 126 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
body{
font-size: 0.9rem;
font-style: inherit;
font-family: sans-serif;
margin: 0;
}

header{
margin: 0.6rem;
}

a{
text-decoration: none;
}

a:hover{
text-decoration: underline;
}

.text{
text-align: right;
}

.text a{
padding-left: 0.5rem;
margin-left: 0.5rem;
}

.img{
border-radius: 50px;
}


#banner{
padding-top: 20px;
text-align: center;
}

.search-bar {
margin-left: 20em;
width: 40%;
position: relative;
margin-top: 30px;
}

.search-bar input {
width: 100%;
height: 40px;
border: 2px solid #9e979a;
border-radius: 25px;
outline: none;
}

.search-ico {
position: absolute;
left: 10px;
top: 13px;
}

.microphone-ico {
position: absolute;
right: 10px;
top: 13px;
}


#lucky button{
padding: 10px;
margin-right: 30px;
margin-top: 40px;
border: none;
cursor: pointer;
}

#offer{
margin-top: 50px;
}

h4{
color: black;
padding-right: 40px;
}

h4 a{
padding-right: 15px;
margin-left: 10px;
}

footer{
background-color: #eeeeee;
margin-top: 152px;
}

#Nigeria a{
color: #9e979a;
padding: 10px;
}
hr{
color: #e0dfe0;
}

p{
color: #9e979a;
padding: 10px;
}
#foot{
justify-content: space-between;
flex-wrap: wrap;
display: flex;
margin: 10px;
}


@media(max-width: 700px){

.search-bar{
margin-left: 10em;
}
}

@media(min-width: 1000px){

.search-bar{
margin-left: 32em;
}
}
Binary file added img/google_app_icon.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/leaf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/solomon.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 56 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,63 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BroCode</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<!---start your code here -->
<header>
<nav class="text">
<a href="#">Gmail</a>
<a href="#">Images</a>
<a href="#"><img class="img" src="img/google_app_icon.jpg" width="30px" height="30px"></a>
<a href="#"><img class="img" src="img/solomon.jpg" width="30px" height="30px"></a>
</nav>
</header>

<section id="banner">
<img src="img/googlelogo_color_272x92dp.png">

<div class="search-bar">
<input type="text">
<i class="fa fa-search search-ico"></i>
<i class="fa fa-microphone microphone-ico"></i>
</div>

<div id="lucky">
<button>Google Search</button>
<button>I'm feeling lucky</button>
</div>

<div id="offer">
<h4 style="color: #9e979a">Google offered in: <a href="#">Hausa</a><a href="#">Igbo</a><a href="#">Ede Yoruba</a><a href="#">Nigerian Pidgin</a></h4>
</div>
</section>

<footer>
<div id="Nigeria">
<p>
Nigeria <hr>
</p>

<div id="foot">
<div>
<a href="#">About</a>
<a href="#">Advertising</a>
<a href="#">Business</a>
<a href="#">How search works</a>
</div>

<div>
<a href="#"><img src="img/leaf.png" width="10px" height="10px"> Carbon neutal since 2007</a>
</div>

<div>
<a href="#">Privacy</a>
<a href="#">Terms</a>
<a href="#">Settings</a>
</div>
</div>
</div>
</footer>
</body>
</html>