MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 3: | Line 3: | ||
/* 1. IMAGEM DE FUNDO NO | /* 1. IMAGEM DE FUNDO NO TOPO DA HIERARQUIA */ | ||
html, body { | html, body, .mw-page-container { | ||
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; | ||
background-color: | background-color: transparent !important; | ||
} | } | ||
/* 2. | /* 2. MATAR O BRANCO DE TODAS AS CAMADAS DA SKIN */ | ||
/* | /* Este bloco força a transparência em tudo o que costuma ser branco */ | ||
.vector-header-container, | |||
.vector-header-container, | .vector-main-menu-content, | ||
.vector-main-menu-content, | .mw-content-container, | ||
.mw-content-container, | #content, | ||
.mw-body, | |||
.vector-body, | .vector-body, | ||
. | .vector-sticky-pinned-container, | ||
#mw-content-text, | #mw-content-text, | ||
.vector-column-start, | .vector-column-start, | ||
.vector-column-end | .vector-column-end { | ||
background: transparent !important; | background: transparent !important; | ||
background-color: transparent !important; | background-color: transparent !important; | ||
| Line 31: | Line 30: | ||
} | } | ||
/* 3. LEITURA | /* 3. PROTEÇÃO DE LEITURA (Opcional) */ | ||
/* | /* Se o texto ficar difícil de ler, isto cria uma sombra suave por baixo das letras */ | ||
#mw-content-text { | #mw-content-text { | ||
background-color: rgba(255, 255, 255, 0.7) !important; | background-color: rgba(255, 255, 255, 0.7) !important; /* 70% de branco para contraste */ | ||
padding: | padding: 20px !important; | ||
border-radius: | border-radius: 10px !important; | ||
} | } | ||
/* 4. | /* 4. ÍNDICE (TOC) E SIDEBARS */ | ||
.vector-toc { | .vector-toc, .vector-main-menu { | ||
background-color: rgba(255, 255, 255, 0. | background-color: rgba(255, 255, 255, 0.4) !important; | ||
backdrop-filter: blur( | backdrop-filter: blur(5px); | ||
} | } | ||