Skip to content

Commit

Permalink
add backgroun and header
Browse files Browse the repository at this point in the history
  • Loading branch information
ulite-Amr committed Jan 7, 2024
1 parent 9b999c2 commit 143da25
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 11 deletions.
Binary file added images/wallpaper.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 25 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="styles/index.css" />
<title>Amr Ayman - Protofolio</title>
</head>
<body>
</head>
<body>
<!-- start header -->
<header>
<a class="logo" href="#">Amr Ayman</a>
<a class="logo" href="#">Amr Ayman <span>ulite</span></a>
<nav class="nav">
<a href="#">Home</a>
<a href="#">Services</a>
<a href="#">My projects</a>
</nav>
</header>
</body>
</html>
<!-- end header -->
<!-- start cection 1 home -->
<section>
<div class="continar-main">
<div class="main">

</div>
</div>
</section>
<!-- end cection 1 home -->
</body>
</html>
66 changes: 63 additions & 3 deletions styles/index.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,63 @@
body {
background-color: aliceblu;
}
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700&display=swap");

* {
font-family: "Cairo", sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
}

header {
background-color: transparent;
width: 100%;
z-index: 999;
position: fixed;
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 200px;
}

nav a {
color: white;
text-decoration: none;
font-size: 1.1em;
font-weight: 500;
padding-left: 30px;
align-items: center;
justify-content: center;
text-align: center;
}

.logo {
text-decoration: none;
color: #e4e5f0;
font-size: 3vh;
text-transform: uppercase;
font-size: 1.7em;
font-weight: 700;
}

.logo span {
text-decoration: none;
color: #d21ec9;
font-size: 1vh;
font-size: .5em;
font-weight: 700;
}


.continar-main {
display: flex;
height: 100vh;
background-image: url(../images/wallpaper.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}

.continar-main .main {
display: flex;
align-items: center;
padding: 10px 200px;
}

0 comments on commit 143da25

Please sign in to comment.