MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(13 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 60: Line 73:
     font-weight: 500;
     font-weight: 500;
}
}
/* CompFAQ Nav */
.compfaq-nav {
  font-family: "Inter", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #333;
  background: transparent;
  border: none;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 0.4em 0;
  margin-bottom: 1em;
  text-align: center;
}
.compfaq-nav a {
  color: #336699;
  text-decoration: none;
  margin: 0 0.3em;
}
.compfaq-nav a:hover {
  text-decoration: underline;
  color: #003d66;
}
/* ===== CompFAQ Search Styling ===== */
.faq-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em;
  margin: 1em 0 1.5em;
  font-family: var(--font-head, "Alegreya Sans SC", system-ui, sans-serif);
}
.faq-search input[type="text"] {
  flex: 1 1 300px;
  min-width: 220px;
  padding: 0.5em 0.7em;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  color: #222;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.faq-search input[type="text"]:focus {
  border-color: #006699;
  outline: none;
  box-shadow: 0 0 4px rgba(0,102,153,0.3);
}
.faq-search input[type="submit"] {
  padding: 0.5em 1em;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  color: #fff;
  background-color: #006699;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}
.faq-search input[type="submit"]:hover {
  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 --- */
Line 161: Line 268:
   vertical-align: super !important;
   vertical-align: super !important;
   position: relative !important;
   position: relative !important;
   top: -0.15em !important;  /* lowered slightly from -0.25em */
   top: -0.12em !important;  /* lowered slightly from -0.25em */
   font-weight: 400 !important;
   font-weight: 400 !important;
   letter-spacing: 0 !important;
   letter-spacing: 0 !important;