Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 8902dd8
Showing
5 changed files
with
198 additions
and
0 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} |