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

No edit summary
No edit summary
Line 101: Line 101:




 
/* Featured box styling for Main_Page */
/* Exact Wikipedia-style featured box */
.featured-box {
.featured-box {
   font-family: sans-serif;
   font-family: sans-serif;
   font-size: 0.9em;
   font-size: 0.9em;
   border: 1px solid #aaa;
   border: 1px solid #a2a9b1;
   background-color: #f8f9fa;
   background-color: #f8f9fa;
  padding: 0;
  width: 100%;
   max-width: 720px;
   max-width: 720px;
   margin: 1em auto;
   margin: 1em auto;
Line 115: Line 112:


.featured-header {
.featured-header {
   background-color: #d8cef6; /* This matches Wikipedia’s pale purple header */
   background-color: #eaecf0;
   padding: 0.3em 1em;
   padding: 0.4em 1em;
   font-weight: bold;
   font-weight: bold;
   border-bottom: 1px solid #aaa;
   border-bottom: 1px solid #a2a9b1;
  background: #d8cef6; /* Pale violet from your screenshot */
}
}


Line 128: Line 126:
.featured-content img {
.featured-content img {
   display: block;
   display: block;
  margin: 0.5em auto;
   max-width: 100%;
   max-width: 100%;
   height: auto;
   height: auto;
  margin: 0.5em auto;
}
}


Line 142: Line 140:
}
}


.photo-credit {
.photo-credit, .footer-links {
  font-size: 0.8em;
  color: #555;
  margin-top: 0.5em;
}
 
.footer-links {
   font-size: 0.8em;
   font-size: 0.8em;
  color: #444;
   margin-top: 0.8em;
   margin-top: 0.8em;
  color: #333;
}
}