|
|
| Line 1: |
Line 1: |
| /* ========================================================================== | | /* ========================================================================== |
| 19. ESTILOS BASE — .vtm-infobox (Dossiê da Camarilla) | | TEMA DARK GÓTICO-PUNK — VAMPIRO: A MÁSCARA (v23 - RESPONSIVE + INFOBOX + PERFORMANCE) |
| ========================================================================== */ | | ========================================================================== */ |
|
| |
|
| .vtm-infobox {
| | @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'); |
| float: right !important;
| |
| width: 340px !important;
| |
| max-width: 340px !important;
| |
| margin: 0 0 18px 22px !important;
| |
| padding: 0 !important;
| |
| background: var(--vtm-obsidian) !important;
| |
| border: 1.5px solid var(--vtm-border-blood) !important;
| |
| border-top: 3px solid var(--vtm-blood) !important;
| |
| border-radius: 6px !important;
| |
| box-shadow: 0 2px 16px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(197, 160, 89, 0.04) !important;
| |
| font-family: var(--vtm-font-body) !important;
| |
| font-size: 0.92em !important;
| |
| color: var(--vtm-text) !important;
| |
| line-height: 1.55 !important;
| |
| overflow: hidden !important;
| |
| }
| |
| | |
| .vtm-infobox-header {
| |
| display: block !important;
| |
| width: 100% !important;
| |
| padding: 14px 18px 10px !important;
| |
| margin: 0 !important;
| |
| background: linear-gradient(180deg, rgba(139, 0, 0, 0.18) 0%, transparent 100%) !important;
| |
| font-family: var(--vtm-font-title) !important;
| |
| font-size: 1.35em !important;
| |
| font-weight: 700 !important;
| |
| color: var(--vtm-blood-vivid) !important;
| |
| text-align: center !important;
| |
| letter-spacing: 0.04em !important;
| |
| line-height: 1.3 !important;
| |
| border-bottom: 1px solid var(--vtm-border-blood) !important;
| |
| }
| |
| | |
| .vtm-infobox-subheader {
| |
| display: block !important;
| |
| width: 100% !important;
| |
| padding: 6px 18px 10px !important;
| |
| margin: 0 !important;
| |
| font-family: var(--vtm-font-body) !important;
| |
| font-size: 0.88em !important;
| |
| font-style: italic !important;
| |
| color: var(--vtm-text-dim) !important;
| |
| text-align: center !important;
| |
| letter-spacing: 0.02em !important;
| |
| border-bottom: 1px solid var(--vtm-border) !important;
| |
| }
| |
| | |
| .vtm-infobox-section {
| |
| display: block !important;
| |
| width: 100% !important;
| |
| padding: 8px 18px !important;
| |
| margin: 0 !important;
| |
| background: rgba(139, 0, 0, 0.08) !important;
| |
| font-family: var(--vtm-font-title) !important;
| |
| font-size: 0.82em !important;
| |
| font-weight: 600 !important;
| |
| color: var(--vtm-gold) !important;
| |
| text-transform: uppercase !important;
| |
| letter-spacing: 0.1em !important;
| |
| border-top: 1px solid var(--vtm-border-blood) !important;
| |
| border-bottom: 1px solid var(--vtm-border) !important;
| |
| }
| |
| | |
| .vtm-infobox-row {
| |
| display: flex !important;
| |
| flex-wrap: wrap !important;
| |
| padding: 6px 18px !important;
| |
| margin: 0 !important;
| |
| border-bottom: 1px solid rgba(37, 37, 48, 0.6) !important;
| |
| }
| |
| | |
| .vtm-infobox-row:last-child {
| |
| border-bottom: none !important;
| |
| }
| |
| | |
| .vtm-infobox-label {
| |
| flex: 0 0 38% !important;
| |
| max-width: 38% !important;
| |
| padding-right: 8px !important;
| |
| font-family: var(--vtm-font-body) !important;
| |
| font-size: 0.78em !important;
| |
| font-weight: 600 !important;
| |
| color: var(--vtm-gold) !important;
| |
| text-transform: uppercase !important;
| |
| letter-spacing: 0.06em !important;
| |
| line-height: 1.7 !important;
| |
| }
| |
| | |
| .vtm-infobox-data {
| |
| flex: 1 1 62% !important;
| |
| max-width: 62% !important;
| |
| font-family: var(--vtm-font-body) !important;
| |
| font-size: 0.92em !important;
| |
| color: var(--vtm-text) !important;
| |
| line-height: 1.55 !important;
| |
| }
| |
| | |
| .vtm-infobox-data a {
| |
| color: var(--vtm-blood-vivid) !important;
| |
| text-decoration: none !important;
| |
| border-bottom: 1px dotted rgba(201, 24, 43, 0.35) !important;
| |
| }
| |
| | |
| .vtm-infobox-data a:hover {
| |
| color: var(--vtm-blood-neon) !important;
| |
| border-bottom-color: var(--vtm-blood-neon) !important;
| |
| }
| |
| | |
| .vtm-infobox img {
| |
| display: block !important;
| |
| width: 100% !important;
| |
| height: auto !important;
| |
| margin: 0 !important;
| |
| padding: 0 !important;
| |
| border-radius: 0 !important;
| |
| }
| |
|
| |
|
| /* ========================================================================== | | /* ========================================================================== |
| 20. BREAKPOINTS ADICIONAIS | | 1. CASCATA PROGRESSIVA SINCRONIZADA (.vtm-section-block) |
| ========================================================================== */ | | ========================================================================== */ |
| | | @keyframes vtm-section-slide { |
| /* --- 20a. Tablets e telefones landscape (max-width: 768px) -------------- */
| | 0% { |
| @media screen and (max-width: 768px) { | | opacity: 0; |
| | | transform: translateX(-45px); |
| .mw-body-content,
| |
| #bodyContent,
| |
| .mw-parser-output {
| |
| padding-left: 10px !important;
| |
| padding-right: 10px !important;
| |
| }
| |
| | |
| h1.firstHeading,
| |
| .mw-first-heading,
| |
| #firstHeading,
| |
| .mw-body h1 {
| |
| font-size: 1.7em !important;
| |
| } | |
| | |
| h2,
| |
| .mw-heading2 h2 {
| |
| font-size: 1.35em !important;
| |
| }
| |
| | |
| h3,
| |
| .mw-heading3 h3 {
| |
| font-size: 1.15em !important;
| |
| }
| |
| | |
| #vector-main-menu-dropdown .vector-dropdown-content {
| |
| width: 280px !important;
| |
| }
| |
| | |
| .vtm-infobox {
| |
| float: none !important;
| |
| width: 100% !important;
| |
| max-width: 100% !important;
| |
| margin: 14px 0 !important;
| |
| }
| |
| | |
| .wikitable td[style*="width:50%"],
| |
| .wikitable td[style*="width: 50%"],
| |
| .wikitable td[style*="width:50"],
| |
| .mw-parser-output table td[style*="width:50%"],
| |
| .mw-parser-output table td[style*="width: 50%"] {
| |
| display: block !important;
| |
| width: 100% !important;
| |
| }
| |
| | |
| blockquote,
| |
| .vtm-quote,
| |
| .mw-parser-output blockquote,
| |
| .mw-parser-output .vtm-quote {
| |
| padding: 16px 14px !important; | |
| margin: 12px 0 !important;
| |
| }
| |
| | |
| .mw-logo {
| |
| height: 56px !important; | |
| min-height: 56px !important;
| |
| }
| |
| | |
| .mw-logo::before {
| |
| height: 52px !important;
| |
| width: 180px !important;
| |
| max-height: 52px !important;
| |
| max-width: 180px !important;
| |
| }
| |
| }
| |
| | |
| /* --- 20b. Telefones portrait (max-width: 480px) ------------------------ */
| |
| @media screen and (max-width: 480px) {
| |
| | |
| .mw-body-content,
| |
| #bodyContent,
| |
| .mw-parser-output {
| |
| padding-left: 8px !important;
| |
| padding-right: 8px !important;
| |
| }
| |
| | |
| h1.firstHeading,
| |
| .mw-first-heading,
| |
| #firstHeading,
| |
| .mw-body h1 {
| |
| font-size: 1.5em !important;
| |
| }
| |
| | |
| h2,
| |
| .mw-heading2 h2 {
| |
| font-size: 1.25em !important;
| |
| }
| |
| | |
| h3,
| |
| .mw-heading3 h3 {
| |
| font-size: 1.1em !important;
| |
| }
| |
| | |
| h4,
| |
| .mw-heading4 h4 {
| |
| font-size: 1em !important;
| |
| }
| |
| | |
| .mw-parser-output p,
| |
| .mw-parser-output li,
| |
| .mw-body-content p,
| |
| .mw-body-content li {
| |
| font-size: 1em !important;
| |
| line-height: 1.6 !important;
| |
| }
| |
| | |
| #vector-main-menu-dropdown .vector-dropdown-content {
| |
| width: 260px !important;
| |
| max-width: 85vw !important;
| |
| }
| |
| | |
| .vector-menu-tabs li a,
| |
| .vector-menu-tabs-legacy li a,
| |
| .vector-tab-noicon a,
| |
| .mw-portlet-views li a,
| |
| .mw-portlet-namespaces li a {
| |
| padding: 8px 12px !important;
| |
| font-size: 0.85em !important;
| |
| }
| |
| | |
| blockquote,
| |
| .vtm-quote,
| |
| .mw-parser-output blockquote,
| |
| .mw-parser-output .vtm-quote {
| |
| padding: 14px 12px !important;
| |
| font-size: 0.95em !important;
| |
| }
| |
| | |
| .mw-special-Userlogin .mw-htmlform,
| |
| .mw-special-Userlogin .mw-htmlform-codex,
| |
| #userloginForm form,
| |
| .mw-htmlform.mw-htmlform-codex {
| |
| padding: 16px 14px !important;
| |
| }
| |
| | |
| #vtm-editor-quickbar {
| |
| flex-direction: column !important;
| |
| gap: 6px !important;
| |
| padding: 8px 10px !important;
| |
| }
| |
| | |
| #vtm-editor-quickbar button {
| |
| width: 100% !important;
| |
| justify-content: center !important;
| |
| } | | } |
| | | 100% { |
| table.wikitable th,
| | opacity: 1; |
| table.wikitable td { | | transform: translateX(0); |
| padding: 8px 10px !important; | |
| font-size: 0.9em !important; | |
| min-width: 70px !important;
| |
| } | | } |
| } | | } |
|
| |
|
| /* --- 20c. Telefones compactos (max-width: 360px) ----------------------- */
| | #firstHeading, |
| @media screen and (max-width: 360px) {
| | .mw-first-heading { |
| | | animation: vtm-section-slide 0.55s cubic-bezier(0.2, 1, 0.3, 1) both !important; |
| .mw-body-content,
| | animation-delay: 0.04s !important; |
| #bodyContent,
| | margin-bottom: 16px !important; |
| .mw-parser-output {
| | padding-bottom: 8px !important; |
| padding-left: 6px !important;
| | will-change: transform, opacity; |
| padding-right: 6px !important;
| |
| }
| |
| | |
| h1.firstHeading,
| |
| .mw-first-heading,
| |
| #firstHeading,
| |
| .mw-body h1 {
| |
| font-size: 1.35em !important;
| |
| } | |
| | |
| #vector-main-menu-dropdown .vector-dropdown-content {
| |
| width: 240px !important;
| |
| } | |
| | |
| .mw-logo {
| |
| height: 48px !important;
| |
| min-height: 48px !important;
| |
| } | |
| | |
| .mw-logo::before {
| |
| height: 44px !important;
| |
| width: 150px !important;
| |
| max-height: 44px !important;
| |
| max-width: 150px !important;
| |
| }
| |
| } | | } |
|
| |
|
| /* ==========================================================================
| | .vtm-section-block { |
| 21. SAFE AREAS — DISPOSITIVOS MODERNOS (NOTCH / DYNAMIC ISLAND)
| | opacity: 0; |
| ========================================================================== */
| | animation: vtm-section-slide 0.80s cubic-bezier(0.2, 1, 0.3, 1) forwards !important; |
| | | margin-bottom: 26px !important; |
| @supports (padding: env(safe-area-inset-top)) {
| | padding: 4px 0 !important; |
| | | will-change: transform, opacity; |
| body { | |
| padding-left: env(safe-area-inset-left) !important;
| |
| padding-right: env(safe-area-inset-right) !important;
| |
| } | |
| | |
| #footer,
| |
| .mw-footer,
| |
| .vector-footer-container,
| |
| footer.mw-footer {
| |
| padding-bottom: env(safe-area-inset-bottom) !important;
| |
| } | |
| } | | } |
|
| |
|
| /* ==========================================================================
| | #content, |
| 22. TOUCH & ACESSIBILIDADE
| | .mw-body { |
| ========================================================================== */
| | overflow-x: hidden !important; |
| | |
| @media (hover: none) and (pointer: coarse) {
| |
| | |
| .vector-pinnable-element a,
| |
| .vector-pinnable-element li a,
| |
| .vector-page-tools a,
| |
| .vector-main-menu a,
| |
| .vector-dropdown-content a,
| |
| .vector-menu-content a,
| |
| #mw-panel .portal .body li a {
| |
| min-height: 44px !important;
| |
| display: flex !important;
| |
| align-items: center !important;
| |
| } | |
| | |
| button,
| |
| .cdx-button,
| |
| input[type="submit"],
| |
| input[type="button"] {
| |
| min-height: 44px !important;
| |
| }
| |
| | |
| .vector-menu-tabs li a,
| |
| .vector-menu-tabs-legacy li a,
| |
| .mw-portlet-views li a,
| |
| .mw-portlet-namespaces li a {
| |
| min-height: 44px !important;
| |
| padding: 12px 16px !important;
| |
| }
| |
| | |
| .vector-pinnable-element a:hover,
| |
| .vector-page-tools a:hover,
| |
| .vector-main-menu a:hover,
| |
| .vector-dropdown-content a:hover,
| |
| #mw-panel .portal .body li a:hover {
| |
| padding-left: 0 !important;
| |
| }
| |
| } | | } |
|
| |
|
| /* ==========================================================================
| | @media (prefers-reduced-motion: reduce) { |
| 23. PERFORMANCE MOBILE
| | #firstHeading, |
| ========================================================================== */
| | .mw-first-heading, |
| | |
| @media screen and (max-width: 768px) { | |
| | |
| .vtm-infobox {
| |
| box-shadow: 0 1px 8px rgba(0, 0, 0, 0.35) !important;
| |
| }
| |
| | |
| blockquote,
| |
| .vtm-quote, | |
| .mw-parser-output blockquote { | |
| box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.3) !important;
| |
| }
| |
| | |
| .mw-logo::before {
| |
| filter: drop-shadow(0 0 6px rgba(139, 0, 0, 0.5)) drop-shadow(0 0 14px rgba(139, 0, 0, 0.25)) !important;
| |
| }
| |
| | |
| .vtm-section-block { | | .vtm-section-block { |
| animation-duration: 0.5s !important; | | animation: none !important; |
| }
| | transform: none !important; |
| | | opacity: 1 !important; |
| .vtm-section-block,
| |
| #firstHeading,
| |
| .mw-first-heading {
| |
| will-change: auto !important;
| |
| }
| |
| }
| |
| | |
| /* ==========================================================================
| |
| 24. INDICADOR VISUAL DE SCROLL HORIZONTAL NAS ABAS
| |
| ========================================================================== */
| |
| | |
| @media screen and (max-width: 1200px) {
| |
| | |
| .vector-menu-tabs,
| |
| .vector-menu-tabs-legacy,
| |
| .mw-portlet-views,
| |
| .mw-portlet-namespaces {
| |
| position: relative !important;
| |
| }
| |
| | |
| .mw-portlet-views::after,
| |
| .mw-portlet-namespaces::after {
| |
| content: "" !important;
| |
| position: absolute !important;
| |
| top: 0 !important;
| |
| right: 0 !important;
| |
| width: 36px !important;
| |
| height: 100% !important;
| |
| background: linear-gradient(to right, transparent 0%, var(--vtm-obsidian) 85%) !important;
| |
| pointer-events: none !important; | |
| z-index: 2 !important; | |
| } | | } |
| } | | } |