MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 21: Line 21:
     top: -0.20em !important;        /* tiny lift to keep alignment */
     top: -0.20em !important;        /* tiny lift to keep alignment */
   }
   }
}
/* Short Desc Styling */
#mw-content-subtitle {
  font-family: "Alegreya", Georgia, serif;
  font-style: italic;
  font-size: 1.3rem;
  color: #555;
  text-align: left;
  margin-top: 0.25em;
  margin-bottom: 1.25em;
  letter-spacing: 0.3px;
  padding-left: 0.15em; /* small offset aligns with body text */
}
}


Line 62: Line 75:


/* CompFAQ Nav */
/* CompFAQ Nav */
/* ===== CompFAQ Navigation ===== */
.compfaq-nav {
.compfaq-nav {
   font-family: var(--font-head, "Alegreya Sans SC", sans-serif);
   font-family: "Inter", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
   background-color: #f8f9fa;
   font-size: 0.9rem;
   border: 1px solid #ddd;
  font-weight: 400;
   border-radius: 0.75em;
  color: #333;
   padding: 0.5em 1em;
  background: transparent;
   border: none;
  border-top: 1px solid #ddd;
   border-bottom: 1px solid #ddd;
   padding: 0.4em 0;
   margin-bottom: 1em;
   margin-bottom: 1em;
   line-height: 1.6;
   text-align: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3em;
}
}


.compfaq-home {
.compfaq-nav a {
  font-weight: 600;
   color: #336699;
  margin-right: 0.5em;
}
 
.compfaq-links a {
   color: #444;
   text-decoration: none;
   text-decoration: none;
  margin: 0 0.3em;
}
}


.compfaq-links a:hover {
.compfaq-nav a:hover {
   text-decoration: underline;
   text-decoration: underline;
   color: #006699;
   color: #003d66;
}
}


Line 135: Line 143:
   background-color: #004d73;
   background-color: #004d73;
}
}
.faq-search-container {
  text-align: center;
}
.compfaq-foot {
  font-family: "Alegreya", Georgia, serif;
  font-size: 0.95rem;
  color: #555;
  border-top: 1px solid #ddd;
  margin-top: 2.5em;
  padding-top: 1em;
  line-height: 1.4;
}
.compfaq-foot a {
  color: #336699;
  text-decoration: none;
}
.compfaq-foot a:hover {
  text-decoration: underline;
}


/* --- ADJUST CATEGORY BOXES --- */
/* --- ADJUST CATEGORY BOXES --- */