Skip to content

Instantly share code, notes, and snippets.

@bedeschiotavia
Last active April 1, 2021 17:08
Show Gist options
  • Save bedeschiotavia/0c5039d1913ac143a526a6a3dd4d0330 to your computer and use it in GitHub Desktop.
Save bedeschiotavia/0c5039d1913ac143a526a6a3dd4d0330 to your computer and use it in GitHub Desktop.
Boogle
<!DOCTYPE html>
<html lang="pt">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<title>Boogle</title>
</head>
<body>
<div class="navbar">
<div class="links">
<a href="https://mail.google.com/mail/?tab=rm&authuser=0&ogbl">Gmail</a>
<a href="https://www.google.pt/imghp?hl=pt-PT&tab=ri&authuser=0&ogbl">Imagens</a>
<a href="" class="icon"><i class="fa fa-bars"></i></a>
<a href="#" aria-label="Otávia Bedeschi"><img class="perfil" src="https://lh3.googleusercontent.com/ogw/ADGmqu_30oohMO8bF03Hh4AMOJqZ9Ipb7tncMrkEUxqv=s83-c-mo" alt=""></a>
</div>
</div>
<div class="block">
<img class="logo" src="https://storage.googleapis.com/smartninja/boogle-1614873832.jpeg" width="250" alt="Boogle">
<form class="searchbox">
<i class="fa fa-search"></i>
<input id="searchbar" type="text" placeholder="Pesquise no Boogle ou insira a URL">
<i class="fa fa-microphone"></i>
</form>
</div>
</body>
</html>
body {
font-family: 'Roboto';
color:#5F6368 ;
}
/* BARRA NAVEGAÇÃO*/
.navbar {
font-size: 0.8rem;
display: flex;
justify-content: flex-end;
height: 40px;
margin-top: 40px;
}
.links {
width: 250px;
display: flex;
justify-content: space-between;
align-items: center;
}
a {
text-decoration: none;
color: #5F6368;
}
a:visited {
color: #5F6368;
}
.icon {
font-size: 1.3rem;
border-radius: 100%;
}
.perfil{
display: flex;
width: 40%;
border-radius: 100%;
}
/* MAIN*/
.block {
margin: auto;
width:50%;
text-align: center;
padding: 10%;
}
.logo {
margin-bottom: 5%;
}
.searchbox {
width: 450px;
display: block;
margin: 0 auto;
border-radius: 20px;
background-color: white;
display: flex;
justify-content: space-between;
padding: 9px 20px 9px 20px;
filter: drop-shadow(0px 0px 3px rgb(203, 201, 201));
}
#searchbar{
margin: 0 auto;
width: 100%;
font-size: 1rem;
padding: 0 20px;
border-top-style: hidden;
border-right-style: hidden;
border-left-style: hidden;
border-bottom-style: hidden;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment