Jump to content

MediaWiki:Common.css

From Vampiro
Revision as of 22:48, 1 September 2026 by Fernando (talk | contribs) (v23 PARCIAL: restaurando seção 1 (cascata) como teste de tamanho)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* ==========================================================================
   TEMA DARK GÓTICO-PUNK — VAMPIRO: A MÁSCARA (v23 - RESPONSIVE + INFOBOX + PERFORMANCE)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,400&family=Special+Elite&display=swap');

/* ==========================================================================
   1. CASCATA PROGRESSIVA SINCRONIZADA (.vtm-section-block)
   ========================================================================== */
@keyframes vtm-section-slide {
  0% {
    opacity: 0;
    transform: translateX(-45px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

#firstHeading,
.mw-first-heading {
  animation: vtm-section-slide 0.55s cubic-bezier(0.2, 1, 0.3, 1) both !important;
  animation-delay: 0.04s !important;
  margin-bottom: 16px !important;
  padding-bottom: 8px !important;
  will-change: transform, opacity;
}

.vtm-section-block {
  opacity: 0;
  animation: vtm-section-slide 0.80s cubic-bezier(0.2, 1, 0.3, 1) forwards !important;
  margin-bottom: 26px !important;
  padding: 4px 0 !important;
  will-change: transform, opacity;
}

#content,
.mw-body {
  overflow-x: hidden !important;
}

@media (prefers-reduced-motion: reduce) {
  #firstHeading,
  .mw-first-heading,
  .vtm-section-block {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}