MediaWiki:Vector.css: Difference between revisions
Appearance
No edit summary |
Cor de fundo do body acompanha o novo wallpaper azul claro |
||
| (12 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
body { | body { | ||
background-color: # | background-color: #daecf7; | ||
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 14: | Line 14: | ||
} | } | ||
/* Painel lateral | /* Painel lateral */ | ||
#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: | 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; | ||
} | } | ||
| Line 53: | Line 36: | ||
} | } | ||
/* Remove bordas extras | /* Remove bordas extras */ | ||
#left-navigation, | #left-navigation, | ||
#right-navigation, | #right-navigation, | ||
| Line 69: | Line 52: | ||
} | } | ||
/* Busca limpa e | /* Busca limpa e integrada */ | ||
#p-search form, | #p-search form, | ||
#simpleSearch { | #simpleSearch { | ||
| Line 100: | Line 83: | ||
#right-navigation { | #right-navigation { | ||
margin-left: 14em; | 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;
}