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
1 change: 0 additions & 1 deletion class--movie

This file was deleted.

25 changes: 25 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Github Page</title>
<link rel="stylesheet" href="./stylesheet.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"
/>
</head>
<body>
<div class="container">
<h1 class="fa-brands fa-github"></h1>
<nav>GITHUB</nav>
<input type="text" class="Boxinput" name="Search" placeholder=" Search"/>
<div class="box1"></div>
<div class="box2"></div>
<div class="box3"></div>
<div class="sideBox"></div>
<div class="footer"></div>
</div>
</body>
</html>
109 changes: 109 additions & 0 deletions stylesheet.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: "Courier New", Courier, monospace;
}

.container {
display: grid;
height: 100vh;
background: #1f2529;
grid-template-columns: 1fr 1fr 1fr 1fr;
grid-template-rows: 1fr 1.5fr 1.3fr 0.8fr;
grid-template-areas:
"navbar navbar navbar navbar"
"sidebar input input input"
"sidebar box1 box2 box3"
"sidebar footer footer footer";
grid-gap: 3.5rem 1.5rem;
text-align: center;
font-size: 1.5rem;
}

nav {
background: #2f3d46;
grid-area: navbar;
text-align: center;
height: 70px;
background-color:#2f3d46;
display: flex;
justify-content: center;
padding: 20px;
color: white;
}
.Boxinput {
background: rgba(0, 0, 0, 0.354);
background-color: rgba(20, 17, 17, 0.95);
grid-area: input;
border-radius: 15px;
border-width: 10%;
grid-gap: 3.2rem;
height: 36px;
width: 469px;
position: absolute;
top: 120px;
left: 419px;
bottom: 200px;
color: white;
}
::placeholder {
color: rgba(230, 221, 221, 0.998);
opacity: 100; /* Firefox */
}
.box1 {
background: black;
grid-area: box1;
border-radius: 15px;
height: 130px;
width: 130px;
position: absolute;
top: 200px;
left: 350px;
}
.box2 {
background: black;
grid-area: box2;
border-radius: 15px;
height: 130px;
width: 130px;
position: absolute;
top: 200px;
left: 550px;
}
.box3 {
background: black;
grid-area: box3;
border-radius: 15px;
height: 130px;
width: 130px;
position: absolute;
top: 200px;
left: 750px;
}
.footer {
background: black;
grid-area: footer;
border-radius: 15px;
height: 100px;
width: 544px;
position: absolute;
top: 380px;
left: 350px;
}
.sideBox {
background: black;
grid-area: sidebar;
border-radius: 15px;
position: relative;
top: 10px;
left: 50px;
height: 375px;
width: 250px;
}
.fa-brands {
position: fixed;
top: 20px;
left: 20px;
bottom: 10px;
}