Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
Dudeonyx committed May 1, 2018
0 parents commit 8902dd8
Show file tree
Hide file tree
Showing 5 changed files with 198 additions and 0 deletions.
Binary file added images/googlelogo_color_120x44dp.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/googlelogo_color_272x92dp.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
74 changes: 74 additions & 0 deletions index.html
@@ -0,0 +1,74 @@
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="style/reset.css">
<link rel="stylesheet" href="style/style.css">

<title>Google</title>
</head>

<body>
<div class="nav">
<ul class="ul">
<li><a href="#">Gmail</a></li>
<li><a href="#">Images</a></li>
<li class="notif">
<ul>
<li>0 Google notifications</li>
</ul>
</li>
<li class="acct">U
<ul>
<li class="dets2">
<p>Google account: Umeayo Onyekachukwu</p>
<p>um****.o.h@gmail.com</p>
</li>
</ul>
</li>
</ul>
</div>
<div class="sblock">
<img src="images/googlelogo_color_272x92dp.png" alt="Google logo">
<form class="sform" action="www.google.com/search" method="get">
<input type="search" name="q" id="sbox">
<input type="submit" value="Google Search" autocomplete="on" required>
<input type="reset" value="I'm Feeling Lucky ">
</form>
<p>Google Offered In:
<a href="#">Hausa</a>
<a href="#">Yoruba</a>
<a href="#">Igbo</a>
</p>
</div>
<footer>
<p>Nigeria</p>
<p>
<ul>
<li>
<a href="#">Advertising</a>
</li>
<li>
<a href="#">Business</a>
</li>
<li>
<a href="#">About</a>
</li>
</ul>
<ul>
<li>
<a href="#">Privacy</a>
</li>
<li>
<a href="#">Terms</a>
</li>
<li>
<a href="#">Settings</a>
</li>
</ul>
</footer>
</body>

</html>
48 changes: 48 additions & 0 deletions style/reset.css
@@ -0,0 +1,48 @@
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
76 changes: 76 additions & 0 deletions style/style.css
@@ -0,0 +1,76 @@
body {
font-size: 12px;
font-family: Arial, Helvetica, "open sans";
line-height: 1;
}


li {
display: inline;
position: relative;
}

.nav {
height: 11px;
margin: 20px 0 0 0;
position: relative;
/* background-color: springgreen */
}
.nav ul {
float: right;
}

.nav * li {
margin: 0 10px 0 10px;
}


li.notif {
/* height:30px ;
width: 26px; */
background-color: darkslategrey;
border-radius: 15px;
top: 5px;
padding: 10px;
margin-left: 40px;
}

.acct,
.notif {
display: inline-block;
/* position: relative; */
}

.acct {
background-color: slateblue;
border-radius: 50px;
padding: 15px;
text-align: center;
color: white;
}
.acct ul .dets2, .notif ul li{
width: max-content;
right:-40%;
top: 110%;
position: absolute;
color: black;
background-color: white;
padding: 10px;
border: black 1px solid;
box-shadow: black 0px 3px 5px;
}
ul li ul li {
visibility: hidden;
position: absolute;
}
.acct:hover ul li {
visibility: visible;
}
.notif:hover ul li {
visibility: visible;
}
.sblock {
width: 600px;
margin: 0 auto;
margin: 200 auto 0 auto;
}

0 comments on commit 8902dd8

Please sign in to comment.