Template:Main Page/styles.css: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
.fp-welcome-box {
    background-color: #f8f9fa;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 2em;
    text-align: center;
    font-family: Georgia, serif;
    opacity: 0;
    animation: fadeInBox 1s ease-in-out forwards;
}
@keyframes fadeInBox {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Welcome box */
/* Welcome box */
.fp-welcome-box {
.fp-welcome-box {
Line 98: Line 126:


/* End Four Box */
/* End Four Box */
/* Featured box styling for Main_Page */
.featured-box {
  font-family: sans-serif;
  font-size: 0.9em;
  border: 1px solid #a2a9b1;
  background-color: #f8f9fa;
  max-width: 720px;
  margin: 1em auto;
}
.featured-header {
  background-color: #eaecf0;
  padding: 0.4em 1em;
  font-weight: bold;
  border-bottom: 1px solid #a2a9b1;
  background: #d8cef6; /* Pale violet from your screenshot */
}
.featured-content {
  padding: 1em;
  background-color: #ffffff;
}
.featured-content img {
  display: block;
  margin: 0.5em auto;
  max-width: 100%;
  height: auto;
}
.featured-content a {
  color: #0645ad;
  text-decoration: none;
}
.featured-content a:hover {
  text-decoration: underline;
}
.photo-credit, .footer-links {
  font-size: 0.8em;
  color: #444;
  margin-top: 0.8em;
}