Skip to content
Open

done #17

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
102 changes: 102 additions & 0 deletions about.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,107 @@
</head>
<body>
<!-- start here -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>About page</title>
<link rel="stylesheet" href="style/style.css" />
</head>
<body>
<!-- start here -->
<!DOCTYPE html>
<html>
<head>
<title>exercise</title>
<link rel="stylesheet" type="text/css" href="styles.css" />
<link
href="https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@100&family=Montserrat:wght@300;400&display=swap"
rel="stylesheet"
/>
</head>
<body>
<div class="hero1">
<nav class="nav1">
<h2 class="logo">
Sakariye
<span>Moh</span>
</h2>
<ul>
<li><a href="home.html">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact us</a></li>
</ul>
</nav>
</div>
<div class="about-section">
<h1>About Us Page</h1>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dicta
debitis rem tempore reiciendis sapiente eaque,
</p>
<p>
quos sit facilis. Autem quidem delectus consequatur nostrum!
Sequi soluta esse maxime minima error obcaecati?.
</p>
</div>

<h2 style="text-align: center;">Our Team</h2>
<div class="row">
<div class="column">
<div class="card">
<img
src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQmkEdnm8jgmLlUDMugED8cRRFMXi869o-iSTUbvPCe6t1F7I7txhHNgfYoy8zb0X4J_SU&usqp=CAU
alt="Jane" style="width:100%">
<div class="container">
<h2>Jane Doe</h2>
<p class="title">CEO & Founder</p>
<p>Some text that describes me lorem ipsum ipsum lorem.</p>
<p>jane@example.com</p>
<p><button class="button">Contact</button></p>
</div>
</div>
</div>

<div class="column">
<div class="card">
<img
src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQYzJtTFdt4NV8Aq73i2Lb5D_ydxJvfaZpXBpkwJre-MZVairHtGq2bq-eS6YdKDeXF27c&usqp=CAU"
alt="Mike"
style="width: 100%;"
/>
<div class="container">
<h2>Mike Ross</h2>
<p class="title">Art Director</p>
<p>Some text that describes me lorem ipsum ipsum lorem.</p>
<p>mike@example.com</p>
<p><button class="button">Contact</button></p>
</div>
</div>
</div>

<div class="column">
<div class="card">
<img
src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTu6lAxhaMUc6Rn7Kawbig1Zd1SYFJGcGTs1eVE7oWX3QXD4XNJu4K4Ix5Xnnmi8kaxGwA&usqp=CAU"
alt="John"
style="width: 100%;"
/>
<div class="container">
<h2>John Doe</h2>
<p class="title">Designer</p>
<p>Some text that describes me lorem ipsum ipsum lorem.</p>
<p>john@example.com</p>
<p><button class="button">Contact</button></p>
</div>
</div>
</div>
</div>
</body>
</html>
</body>
</html>
</body>
</html>
26 changes: 26 additions & 0 deletions home.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,31 @@
</head>
<body>
<!-- start here -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="style/style.css" />
</head>
<body>
<!-- start here -->
<div class="hero">
<nav>
<h2 class="logo">
Sakariye
<span>Moh</span>
</h2>
<ul>
<li><a href="#">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="#">Contact us</a></li>
</ul>
</nav>
</div>
</body>
</html>
</body>
</html>
Binary file added img/background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
123 changes: 123 additions & 0 deletions style/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Josefin, sans-serif';
}
.hero {
height: 100vh;
width: 100%;
background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
url(../img/background.jpg);
background-size: cover;
background-position: center;
}

nav {
display: flex;
align-items: center;
justify-content: space-between;
padding-top: 40px;
padding-left: 10%;
padding-right: 10%;
}
.nav1 {
display: flex;
align-items: center;
justify-content: space-between;
padding-top: 40px;
padding-left: 10%;
padding-right: 10%;
padding-bottom: 2%;
background: #555;
}

.logo {
color: white;
font-size: 28px;
}
span {
color: #ea1538;
}

nav ul li {
list-style-type: none;
display: inline-block;
padding: 10px 20px;
}

nav ul li a {
color: white;
text-decoration: none;
font-weight: bold;
}

nav ul li a:hover {
color: #ea1538;
transition: 0.3s;
}

/* about page css */
body {
font-family: Arial, Helvetica, sans-serif;
margin: 0;
}

html {
box-sizing: border-box;
}

*,
*:before,
*:after {
box-sizing: inherit;
}
.column {
float: left;
width: 33.3%;
margin-bottom: 16px;
padding: 0 8px;
}

.card {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
margin: 8px;
}

.about-section {
padding: 50px;
text-align: center;
background-color: #474e5d;
color: white;
}

.container {
padding: 0 16px;
}

.container::after,
.row::after {
content: '';
clear: both;
display: table;
}

.title {
color: grey;
}

.button {
border: none;
outline: 0;
display: inline-block;
padding: 8px;
color: white;
background-color: #000;
text-align: center;
cursor: pointer;
width: 100%;
}

.button:hover {
background-color: #555;
}