149 lines
No EOL
2.9 KiB
CSS
149 lines
No EOL
2.9 KiB
CSS
body {
|
|
background: linear-gradient(to bottom, #FFDAB9, #FFFACD); /* gradient from light peach to cream */
|
|
color: #006400; /* dark green */
|
|
font-family: Lora, 'Times New Roman', Times, serif;
|
|
line-height: 1.6;
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.container {
|
|
padding: 20px;
|
|
}
|
|
|
|
.info {
|
|
padding: 2px 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.meat {
|
|
margin: 20px auto; /* Adds a margin to the top and bottom, and auto-aligns the left and right */
|
|
padding: 20px; /* Adds padding inside the div */
|
|
max-width: 800px; /* Limits the width of the content to 800px */
|
|
background-color: #fff; /* Sets the background color to white */
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow around the div */
|
|
}
|
|
|
|
.main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.news {
|
|
height:222px;
|
|
width:222px;
|
|
}
|
|
|
|
h1, h2 {
|
|
color: #333333; /* dark grey */
|
|
}
|
|
|
|
h1, h2, p {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
a {
|
|
color: #000080; /* dark blue */
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
color: #800000; /* maroon */
|
|
}
|
|
|
|
.fab {
|
|
color: #000080; /* dark blue */
|
|
}
|
|
.card {
|
|
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
|
|
transition: 0.3s;
|
|
width: 100%; /* This will make the card take up the full width of its container */
|
|
margin-bottom: 20px; /* This adds some space between the cards */
|
|
}
|
|
|
|
.card:hover {
|
|
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
|
|
}
|
|
|
|
.card img {
|
|
width: 40%; /* adjust as needed */
|
|
height: auto; /* maintain aspect ratio */
|
|
display: block; /* center the image */
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.logo {
|
|
width: 200px;
|
|
height: 200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
padding: 50px;
|
|
}
|
|
|
|
.header, .topnav {
|
|
flex: 1;
|
|
text-align: center;
|
|
}
|
|
|
|
.topnav a {
|
|
margin: 0 10px;
|
|
color: #006400;
|
|
text-decoration: none;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.topnav a:hover {
|
|
color: #800080;
|
|
}
|
|
|
|
.footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
background-color: #f2f2f2; /* This will make the background of the footer a light grey */
|
|
padding: 20px 0; /* This adds some vertical padding */
|
|
}
|
|
|
|
.footer div {
|
|
flex: 1 1 200px; /* This will make the divs take up equal space and wrap as needed */
|
|
margin: 10px;
|
|
text-align: center; /* This will center the text within each div */
|
|
}
|
|
|
|
/* Add box shadow to header and footer */
|
|
|
|
.footer {
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
/* Add hover effect to "Go to top" button */
|
|
|
|
#myBtn {
|
|
display: none;
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 30px;
|
|
z-index: 99;
|
|
border: none;
|
|
outline: none;
|
|
background-color: red;
|
|
color: white;
|
|
cursor: pointer;
|
|
padding: 15px;
|
|
border-radius: 10px;
|
|
font-size: 18px;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
#myBtn:hover {
|
|
background-color: #555;
|
|
} |