MediaWiki:Common.css: Difference between revisions

mNo edit summary
mNo edit summary
Line 207: Line 207:


/* =========================================================
/* =========================================================
   OOO HERO HEADER (Global Wiki Header Block)
   OOO HERO HEADER (Theme Adaptive – No Gray Box)
   ========================================================= */
   ========================================================= */


.ooo-hero {
.ooo-hero {
   text-align: center;
   text-align: center;
   padding: 1.5em 1em 1.2em 1em;
   padding: 2rem 1rem 1.5rem 1rem;
   margin-bottom: 1.5em;
   margin-bottom: 2rem;
}
}


.ooo-hero__title {
.ooo-hero__title {
   font-size: 2.4rem;
   font-size: 2.2rem;
   font-weight: 700;
   font-weight: 700;
   letter-spacing: 0.5px;
   letter-spacing: 0.5px;
  margin: 0;
   color: var(--ooo-accent);
   color: var(--ooo-accent);
  margin: 0;
}
}


.ooo-hero__subtitle {
.ooo-hero__subtitle {
   font-size: 1.1rem;
   font-size: 1.1rem;
   opacity: 0.85;
  margin-top: 0.5rem;
   margin-top: 0.4em;
   opacity: 0.75;
   color: #c8ccd1;
  color: inherit; /* adapts automatically */
}
 
.ooo-hero::after {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
   margin: 1.2rem auto 0 auto;
  background: var(--ooo-accent);
   opacity: 0.4;
}
}