Skip to content

Commit

Permalink
Create index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
mjjonone authored Sep 24, 2023
1 parent cbe8dea commit 07c05f7
Showing 1 changed file with 82 additions and 0 deletions.
82 changes: 82 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Protect Our Earth</title>
<style>
/* 在这里添加 CSS 样式 */
body {
background: linear-gradient(to bottom, #1abc9c, #3498db, #1abc9c);
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
color: #333;
margin: 0;
padding: 0;
}

header {
background-color: #16a085;
color: #fff;
padding: 20px;
}

h1 {
margin: 0;
font-size: 36px;
}

nav {
background-color: #1abc9c;
color: #fff;
padding: 10px;
text-align: center;
}

nav a {
color: #fff;
text-decoration: none;
margin: 0 10px;
}

section {
padding: 20px;
text-align: center;
}

section img {
width: 50%;
height: auto;
border-radius: 50%;
box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

footer {
background-color: #16a085;
color: #fff;
padding: 20px;
text-align: center;
}
</style>
</head>
<body>
<header>
<h1>Protect Our Earth</h1>
</header>

<nav>
<a href="#">Home</a>
<a href="#">About</a>
<a href="#">Contact</a>
</nav>

<section>
<h2>Protect Our Planet, Protect Our Future</h2>
<img src="https://mjj-images.pages.dev/file/bb6cf1ecf509c9038c21a.jpg" alt="Beautiful Earth">
<p>Protecting our planet and environment is crucial for our future. We must take action to reduce our carbon footprint, recycle and reuse materials, and preserve our natural resources. Let's work together to make a positive impact on the world we live in.</p>
</section>

<footer>
<p>&copy; 2023 Protect Our Earth. All rights reserved.</p>
</footer>
</body>
</html>

0 comments on commit 07c05f7

Please sign in to comment.