MediaWiki:Vector.css: Difference between revisions
Appearance
No edit summary |
Cor de fundo do body acompanha o novo wallpaper azul claro |
||
| (21 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* Painel lateral | body { | ||
background-color: #daecf7; | |||
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 { | #mw-panel { | ||
background: rgba(255, 255, 255, 0. | background: rgba(255, 255, 255, 0.88); | ||
padding-top: 10px; | padding-top: 10px; | ||
margin-top: | margin-top: 46px; | ||
} | } | ||
/* Conteúdo principal */ | /* Conteúdo principal */ | ||
#content { | #content { | ||
position: relative; | position: relative; | ||
background: rgba(255, 255, 255, 0. | background: rgba(255, 255, 255, 0.84); | ||
margin-top: 0; | margin-top: 0; | ||
} | } | ||
| Line 36: | Line 33: | ||
position: relative; | position: relative; | ||
z-index: 2; | z-index: 2; | ||
background: transparent !important; | |||
} | } | ||
/* Remove | /* Remove bordas extras */ | ||
#left-navigation, | #left-navigation, | ||
#right-navigation, | #right-navigation, | ||
| Line 49: | Line 47: | ||
} | } | ||
/* Abas com fundo | /* Abas com fundo translúcido */ | ||
.vectorTabs ul li { | .vectorTabs ul li { | ||
background: rgba(255, 255, 255, 0. | background: rgba(255, 255, 255, 0.78) !important; | ||
} | } | ||
/* Busca limpa | /* Busca limpa e integrada */ | ||
#p-search form, | #p-search form, | ||
#simpleSearch { | #simpleSearch { | ||
box-shadow: none !important; | box-shadow: none !important; | ||
border: none !important; | border: none !important; | ||
background: rgba(255, 255, 255, 0.82) !important; | |||
} | } | ||
/* Esconde Tools */ | |||
#p-tb { | #p-tb { | ||
display: none; | display: none; | ||
} | } | ||
/* Hover do banner */ | |||
.banner-hover img { | .banner-hover img { | ||
transition: transform 0.25s ease, box-shadow 0.25s ease; | transition: transform 0.25s ease, box-shadow 0.25s ease; | ||
| Line 73: | Line 74: | ||
transform: scale(1.02); | transform: scale(1.02); | ||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); | 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; | |||
} | } | ||
Latest revision as of 02:12, 12 September 2026
body {
background-color: #daecf7;
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;
}