Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.
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
86 changes: 86 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,89 @@
* for example: General styles, Navigation styles, Hero styles, Footer etc.
*
*/
/*navbar.................*/
.nav{

float: right;

padding:0px;

}
.nav-list{
gap: 20px;
list-style-type:none;
display: flex;
margin-bottom: 80px;

}
.nav_link:hover{
background-color:gray ;
transition: background-color 1000ms linear;
transform: inherit;
}
.nav_link{
display: block;
color: black;
text-align: center;
padding: 14px 16px;
text-decoration:double;

}
/*main.................*/
.main-title{
font-family:Georgia, 'Times New Roman', Times, serif;
margin-top: 80px;

}
.main-content1{
flex-direction: column;
position: relative;
margin-top: 50px;

}
/*img.................*/
.img1{
background-image: url("https://geographical.co.uk/wp-content/uploads/Photographing-mountains-in-spring-1200x800.jpg");
justify-content: center;
padding-top: 300px;
padding-bottom: 300px;
color: #fff;
font-family: 'Times New Roman', Times, serif;
font-size: 25px;
background-size: cover;
}
/*button.................*/
.btn-primary{
display: block;
background-color: rgb(101, 117, 85);
font-size: 60%;
box-sizing: border-box;
width: 200px;
padding: 10px;
margin: 30px;

}
.btn-primary1{
color: #fff;
justify-content: center;
}
.btn-outline{
display: block;
background-color: rgb(101, 117, 85);
font-size: 60%;
box-sizing: border-box;
width: 200px;
padding: 10px;
margin: 30px;
}
.btn-outline1{
color: #fff;
justify-content: center;
}
/*footer..............................................*/
.footer{
display:flex;
justify-content: center;
justify-items: center;
gap: 25px;
}
34 changes: 31 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,39 @@
rel="stylesheet"
type="text/css"
/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css">
<link rel="stylesheet" href="css/style.css" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
</head>
<body>
<!-- Add your HTML markup here -->
<!-- Remember: Use semantic HTML tags like <header>, <main>, <nav>, <footer>, <section> etc -->
</body>
<!-- Add your HTML markup here -->
<!-- Remember: Use semantic HTML tags like <header>, <main>, <nav>, <footer>, <section> etc -->
<header>
<nav class="nav">
<ul class="nav-list">
<li class="nav-list-items"><a href="https://www.google.com/search?q=ski+on+the+mountain&rlz=1C1CHBF_enGB875GB875&oq=ski+on+th+mou&aqs=chrome.1.69i57j0i22i30l9.10016j0j15&sourceid=chrome&ie=UTF-8" class="nav_link">Ski</a></li>
<li class="nav-list-items"><a href="https://www.google.com/search?q=golf+course+on+mountain&source=lmns&rlz=1C1CHBF_enGB875GB875&hl=en&sa=X&ved=2ahUKEwjGwrvNvZ75AhWtxYUKHSQxBVQQ_AUoAHoECAEQAA" class="nav_link">Golf</a></li>
<li class="nav-list-items"><a href="https://hikingguy.com/how-to-hike/mountain-hiking-how-to/" class="nav_link">Hiking</a></li>
</ul>
</nav>
<h1 class="main-title">THOUGH WE TRAVEL THE WORLD OVER TO FIND THE BEAUTIFUL</h1>

</header>
<div class="img1">
<main class="main-content">

<p class="main-body">The mighty chunks rise all over the world, including the oceans. They usually have steep, sloping sides and sharp or rounded ridges, and a high point, called a peak or summit. Most geologists classify a mountain as a landform that rises at least 1,000 feet (300 meters) or more above its surrounding area. A mountain range is a series or chain of mountains that are close together.</p>
<div class="main-content1">
<button class="btn-primary"><a href="" class="btn-primary1">More Information</a></button>
<button class="btn-outline"><a href=""class="btn-outline1">Get a Ticket</a></button>
</div>
</main>
</div>
</div>
</body>
<footer class="footer">
<p> <a href="mailto:Mohammadrnafar8@gmail.com?" subject="subject text"> <i class="bi bi-envelope"></i></a>
<p> <a href="https://www.google.com/" subject="bi-search"> <i class="bi-search"></i></a>
<p>Author: Mohammad Nafar</p>
</footer>
</html>