You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
142 lines
3.2 KiB
142 lines
3.2 KiB
6 months ago
|
|
||
|
|
||
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<title>Causes</title>
|
||
|
<link rel="stylesheet" href="styles.css"> <!-- Replace with your CSS file -->
|
||
|
<style>
|
||
|
|
||
|
|
||
|
/* Header Styles */
|
||
|
header {
|
||
|
margin-top: 60px; /* Offset for fixed navbar */
|
||
|
color: #2e7d32;
|
||
|
text-align: center;
|
||
|
padding: 1.5em 0;
|
||
|
}
|
||
|
|
||
|
header h1 {
|
||
|
font-size: 2em;
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
header p {
|
||
|
margin: 0.5em 0 0;
|
||
|
font-size: 1.2em;
|
||
|
}
|
||
|
|
||
|
/* Content Container */
|
||
|
.container {
|
||
|
padding: 2em;
|
||
|
max-width: 1200px;
|
||
|
margin: 0 auto;
|
||
|
}
|
||
|
|
||
|
/* Cause Card Styles */
|
||
|
.cause {
|
||
|
background-color: white;
|
||
|
border: 1px solid #ddd;
|
||
|
border-radius: 8px;
|
||
|
margin-bottom: 1.5em;
|
||
|
padding: 1.5em;
|
||
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.cause img {
|
||
|
max-width: 100%;
|
||
|
height: auto;
|
||
|
border-radius: 8px;
|
||
|
}
|
||
|
|
||
|
.cause h2 {
|
||
|
color: #2e7d32; /* Green */
|
||
|
margin: 1em 0 0.5em;
|
||
|
}
|
||
|
|
||
|
.cause p {
|
||
|
color: #555;
|
||
|
font-size: 1em;
|
||
|
line-height: 1.5em;
|
||
|
}
|
||
|
|
||
|
.cause button {
|
||
|
background-color: #4caf50; /* Bright Green */
|
||
|
color: white;
|
||
|
border: none;
|
||
|
border-radius: 5px;
|
||
|
padding: 0.7em 1.5em;
|
||
|
cursor: pointer;
|
||
|
font-size: 1em;
|
||
|
margin-top: 1em;
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
|
||
|
.cause button:hover {
|
||
|
background-color: #388e3c; /* Darker Green */
|
||
|
}
|
||
|
|
||
|
.cause button a {
|
||
|
color: white;
|
||
|
text-decoration: none;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
.cause button a:hover {
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<?php include 'includes/header.php'; ?>
|
||
|
|
||
|
<header>
|
||
|
<h1>Explore Causes</h1>
|
||
|
<p>Find a cause that resonates with you and make a difference today!</p>
|
||
|
</header>
|
||
|
|
||
|
<!-- Causes Section -->
|
||
|
<div class="container">
|
||
|
<div class="cause">
|
||
|
<img src="disaster.jpg" alt="Environment" />
|
||
|
<h2>Protect the Environment</h2>
|
||
|
<p>
|
||
|
Support initiatives aimed at combating climate change, conserving
|
||
|
biodiversity, and reducing pollution.
|
||
|
</p>
|
||
|
<button>
|
||
|
<a href="donations.php">Donate Now</a>
|
||
|
</button>
|
||
|
</div>
|
||
|
<div class="cause">
|
||
|
<img src="education.jpg" alt="Education" />
|
||
|
<h2>Education for All</h2>
|
||
|
<p>
|
||
|
Help provide access to quality education for underprivileged children
|
||
|
around the globe.
|
||
|
</p>
|
||
|
<button>
|
||
|
<a href="donations.php">Donate Now</a>
|
||
|
</button>
|
||
|
</div>
|
||
|
<div class="cause">
|
||
|
<img src="healthcare.jpg" alt="Healthcare" />
|
||
|
<h2>Healthcare Initiatives</h2>
|
||
|
<p>
|
||
|
Join efforts to improve healthcare systems and provide medical aid to
|
||
|
those in need.
|
||
|
</p>
|
||
|
<button>
|
||
|
<a href="donations.php">Donate Now</a>
|
||
|
</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<?php include 'includes/footer.php'; ?>
|
||
|
|
||
|
</body>
|
||
|
</html>
|