-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
82 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>© 2023 Protect Our Earth. All rights reserved.</p> | ||
</footer> | ||
</body> | ||
</html> |