81 lines
No EOL
1.2 KiB
CSS
81 lines
No EOL
1.2 KiB
CSS
|
|
|
|
body {
|
|
background: linear-gradient(to bottom, #FFDAB9, #FFFACD); /* gradient from light peach to cream */
|
|
color: #006400; /* dark green */
|
|
font-family: Kalnia, 'Times New Roman', Times, serif;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
.news {
|
|
height:222px;
|
|
width:222px;
|
|
}
|
|
|
|
h1, h2 {
|
|
color: #333333; /* dark grey */
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
p {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
a {
|
|
color: #000080; /* dark blue */
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
color: #800000; /* maroon */
|
|
}
|
|
|
|
.fab {
|
|
color: #000080; /* dark blue */
|
|
}
|
|
|
|
.card img {
|
|
width: 40%; /* adjust as needed */
|
|
height: auto; /* maintain aspect ratio */
|
|
display: block; /* center the image */
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
padding: 50px;
|
|
}
|
|
|
|
.header, .topnav {
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
#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;
|
|
}
|
|
|
|
#myBtn:hover {
|
|
background-color: #555;
|
|
} |