MediaWiki:Vector.css: Difference between revisions
Appearance
No edit summary |
Novo wallpaper (Background.jpg) e remocao da borda rosa do conteudo e da sidebar |
||
| Line 1: | Line 1: | ||
body { | body { | ||
background-color: #1f1f1f; | background-color: #1f1f1f; | ||
background-image: url("/index.php/Special:Redirect/file/Background. | background-image: url("/index.php/Special:Redirect/file/Background.jpg"); | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-position: center center; | background-position: center center; | ||
| Line 17: | Line 17: | ||
#mw-panel { | #mw-panel { | ||
background: rgba(255, 255, 255, 0.88); | background: rgba(255, 255, 255, 0.88); | ||
padding-top: 10px; | padding-top: 10px; | ||
margin-top: 46px; | margin-top: 46px; | ||
| Line 27: | Line 25: | ||
position: relative; | position: relative; | ||
background: rgba(255, 255, 255, 0.84); | background: rgba(255, 255, 255, 0.84); | ||
margin-top: 0; | margin-top: 0; | ||
} | } | ||
Revision as of 01:14, 12 September 2026
body {
background-color: #1f1f1f;
background-image: url("/index.php/Special:Redirect/file/Background.jpg");
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
background-attachment: fixed;
}
/* Remove o branco da base superior da skin */
#mw-page-base,
div#mw-head {
background: transparent !important;
}
/* Painel lateral */
#mw-panel {
background: rgba(255, 255, 255, 0.88);
padding-top: 10px;
margin-top: 46px;
}
/* Conteúdo principal */
#content {
position: relative;
background: rgba(255, 255, 255, 0.84);
margin-top: 0;
}
/* Garante que as abas fiquem por cima da linha */
#left-navigation,
#right-navigation {
position: relative;
z-index: 2;
background: transparent !important;
}
/* Remove bordas extras */
#left-navigation,
#right-navigation,
.vectorTabs,
.vectorTabs ul,
.vectorTabs ul li,
#p-search {
border: none !important;
box-shadow: none !important;
}
/* Abas com fundo translúcido */
.vectorTabs ul li {
background: rgba(255, 255, 255, 0.78) !important;
}
/* Busca limpa e integrada */
#p-search form,
#simpleSearch {
box-shadow: none !important;
border: none !important;
background: rgba(255, 255, 255, 0.82) !important;
}
/* Esconde Tools */
#p-tb {
display: none;
}
/* Hover do banner */
.banner-hover img {
transition: transform 0.25s ease, box-shadow 0.25s ease;
border-radius: 8px;
}
.banner-hover img:hover {
transform: scale(1.02);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
/* Afasta o conteúdo principal da sidebar */
div#content,
div#footer,
#p-cactions,
#left-navigation,
#right-navigation {
margin-left: 14em;
}
/* Visitantes: esconde abas e ações, deixa só a busca */
.anonuser #left-navigation,
.anonuser #p-views,
.anonuser #p-cactions {
display: none !important;
}
.anonuser #right-navigation #p-search {
display: block !important;
float: right;
}
/* Logados/admin: mantém navegação normal */
.loggedin #left-navigation,
.loggedin #p-views,
.loggedin #p-cactions {
display: block !important;
}