monotreme.org/styles.css

147 lines
2.6 KiB
CSS
Raw Normal View History

2024-09-21 07:09:44 +01:00
body {
font-family: Arial, sans-serif;
background-color: #f0f8ff; /* Light pastel blue */
color: #333;
margin: 0;
padding: 0;
}
table {
width: 100%;
max-width: 800px;
margin: 20px auto;
border-collapse: collapse;
background-color: #fff;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
td {
border: 2px solid #ccc;
padding: 15px;
}
/* Header styling */
.header {
background-color: #ffe4e1; /* Light pink */
text-align: center;
border-bottom: 4px solid #ffa07a; /* Coral color */
}
.header h1 {
margin: 0;
padding: 10px 0;
color: #ff4500; /* Orange-red */
}
/* Navigation */
.nav {
text-align: center;
background-color: #ffefd5; /* Light peach */
padding: 10px 0;
}
.nav a {
margin: 0 15px;
text-decoration: none;
color: #4682b4; /* Steel blue */
font-weight: bold;
}
.nav a:hover {
text-decoration: underline;
color: #ff4500; /* Orange-red on hover */
}
/* Sidebar styling */
.sidebar {
width: 200px;
vertical-align: top;
background-color: #fafad2; /* Light goldenrod yellow */
color: #333;
}
.sidebar ul {
padding-left: 20px;
}
.sidebar a {
text-decoration: none;
color: #4682b4;
}
.sidebar a:hover {
text-decoration: underline;
}
/* Main content area */
.content {
width: 600px;
vertical-align: top;
}
h2 {
color: #ff6347; /* Tomato */
}
/* Footer styling */
.footer {
text-align: center;
background-color: #ffe4e1; /* Light pink */
border-top: 4px solid #ffa07a; /* Coral */
padding: 10px 0;
}
.footer p {
margin: 0;
}
2024-09-21 08:34:23 +01:00
/* Contact Section Styling */
.contact {
text-align: left;
padding: 20px;
background-color: #fafad2; /* Light goldenrod yellow */
border: 2px solid #ccc;
margin-top: 20px;
border-radius: 5px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.contact h2 {
color: #ff6347; /* Tomato color */
}
.contact p {
margin: 10px 0;
}
.contact a {
color: #4682b4; /* Steel blue */
text-decoration: none;
}
.contact a:hover {
text-decoration: underline;
color: #ff4500; /* Orange-red on hover */
}
/* More About Monotremes Section Styling */
.more-about-monotremes {
padding: 20px;
background-color: #fafad2; /* Light goldenrod yellow */
border: 2px solid #ccc;
margin-top: 20px;
border-radius: 5px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.more-about-monotremes h2 {
color: #ff6347; /* Tomato color */
}
.more-about-monotremes h3 {
color: #4682b4; /* Steel blue */
}
.more-about-monotremes p {
margin: 10px 0;
}