Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Add files via upload
- Loading branch information
Showing
2 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
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,21 @@ | ||
header, .sidebar-one, .sidebar-two, .content, footer{ | ||
border: 1px solid lightblue; | ||
} | ||
|
||
@media(min-width: 400px) { | ||
.hg-body{ | ||
display: grid; | ||
grid-template-columns: 20% 1fr 20%; | ||
grid-gap: 10px; | ||
height: 100vh; | ||
|
||
} | ||
|
||
ul li { | ||
display: block; | ||
} | ||
|
||
header, footer { | ||
font-size: 50px; | ||
} | ||
} |
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,45 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<link rel="stylesheet" type="text/css" href="css/main.css"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap" rel="stylesheet"> | ||
<title>holy grail</title> | ||
</head> | ||
|
||
<body> | ||
<div class="container"> | ||
<header>HEADER</header> | ||
|
||
<div class="hg-body"> | ||
|
||
<div class="sidebar-one"> | ||
<h1>MAIN MENU</h1> | ||
<h2> | ||
<ul> | ||
<li>ITEM 1</li> | ||
<li>ITEM 2</li> | ||
<li>ITEM 3</li> | ||
<li>ITEM 4</li> | ||
<li>ITEM 5</li> | ||
</ul> | ||
</h2> | ||
</div> | ||
|
||
<section class="content"><h1>CONTENT</h1> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</section> | ||
|
||
<div class="sidebar-two"> | ||
<h1> | ||
<ul> | ||
<li>AD</li> | ||
<li>AD</li> | ||
</ul> | ||
</h1> | ||
</div> | ||
</div> | ||
|
||
<footer>FOOTER</footer> | ||
</div> | ||
</body> | ||
</html> |