Jump to content

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:FILL@0..1");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:FILL@0..1");
/* 1. Aplicar a imagem a todo o fundo da Wiki */
body {
    background-image: url('Texture Background.svg') !important;
    background-attachment: fixed !important; /* A imagem não mexe com o scroll */
    background-size: cover !important;        /* Preenche todo o ecrã */
    background-position: center center !important;
}
/* 2. Tornar o fundo dos conteúdos transparente/translúcido */
/* Isto permite que a imagem se veja por trás do texto */
.mw-page-container,
.vector-header-container,
.vector-main-menu-content,
.mw-content-container {
    background-color: rgba(255, 255, 255, 0.8) !important; /* Branco com 80% de opacidade */
    backdrop-filter: blur(5px); /* Efeito de vidro fosco (opcional) */
}
/* 3. Remover fundos brancos sólidos de outras áreas */
#mw-content-text,
.vector-toc {
    background: transparent !important;
}