MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 3: | Line 3: | ||
/* 1. | /* 1. FUNDO PRINCIPAL */ | ||
html, body | html, body { | ||
background-image: url('https://wiki.atronia.eu/images/7/7a/Texture_Background.svg') !important; | background-image: url('https://wiki.atronia.eu/images/7/7a/Texture_Background.svg') !important; | ||
background-attachment: fixed !important; | background-attachment: fixed !important; | ||
background-size: cover !important; | background-size: cover !important; | ||
background-position: center center !important; | background-position: center center !important; | ||
} | } | ||
/* 2. | /* 2. TORNAR TUDO TRANSPARENTE (A "Lasanha") */ | ||
/* Aqui atacamos todas as caixas brancas que estão a tapar o fundo */ | |||
.mw-page-container, | |||
.vector-header-container, | .vector-header-container, | ||
.vector-main-menu-content, | .vector-main-menu-content, | ||
.mw-content-container, | .mw-content-container, | ||
. | #content, | ||
# | .mw-body, | ||
#mw-page-base, | |||
#mw-head-base, | |||
.vector-sticky-pinned-container, | |||
.vector-column-start, | |||
.vector-column-end { | |||
.vector- | background: transparent !important; | ||
background-color: transparent !important; | background-color: transparent !important; | ||
border: none !important; | border: none !important; | ||
} | } | ||
/* | /* 3. APLICAR UMA CAMADA DE LEITURA (Opcional) */ | ||
/* Se ficar difícil de ler o texto, esta regra cria um fundo leve apenas no texto */ | |||
. | .mw-body-content { | ||
background-color: | background-color: rgba(255, 255, 255, 0.6) !important; /* Branco com 60% de transparência */ | ||
padding: 20px !important; | |||
border-radius: 8px !important; | |||
} | } | ||
/* | /* 4. ÍNDICE (TOC) TRANSPARENTE */ | ||
. | .vector-toc { | ||
background-color: rgba(255, 255, 255, 0.5) !important; | |||
border: 1px solid rgba(0,0,0,0.1) !important; | |||
} | } | ||