MediaWiki:Common.css
Ir para navegação
Ir para pesquisar
Nota: Após salvar, você pode ter que limpar o "cache" do seu navegador para ver as alterações.
- Firefox / Safari: Pressione Shift enquanto clica Recarregar, ou pressione Ctrl-F5 ou Ctrl-R (⌘-R no Mac)
- Google Chrome: Pressione Ctrl-Shift-R (⌘-Shift-R no Mac)
- Internet Explorer/Edge: PressioneCtrl enquanto clica Recarregar, ou Pressione Ctrl-F5
- Opera: Pressione Ctrl-F5.
/* =============================================
WIKI GLA - Common.css
Skin: Vector Legacy
============================================= */
/* =============================================
1. LOGO - Independente
============================================= */
#p-logo {
background: transparent !important;
border: none !important;
box-shadow: none !important;
margin: 0 !important;
padding: 0 !important;
}
/* =============================================
2. SIDEBAR - Mais larga
============================================= */
#mw-panel {
background: transparent;
padding-left: 0;
padding-right: 0;
width: 12em;
}
#content.mw-body {
margin-left: 12.5em;
}
/* =============================================
3. PORTAIS/GRUPOS - Cards compactos
============================================= */
#mw-panel .portal,
#mw-panel .vector-menu-portal {
background: #fff;
border: 1px solid #c8ccd1;
border-radius: 4px;
margin: 0 8px 12px 8px;
padding: 0;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
overflow: hidden;
}
#mw-panel .vector-menu-heading {
margin: 0;
padding: 10px 14px 8px;
background: #f8f9fa;
border-bottom: 1px solid #eaecf0;
}
#mw-panel .vector-menu-heading span {
color: #222;
font-size: 13px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.3px;
}
#mw-panel .vector-menu-content {
margin: 0;
padding: 6px 0;
}
#mw-panel .vector-menu-content-list {
margin: 0;
padding: 0;
list-style: none;
}
#mw-panel .vector-menu-content-list li {
margin: 0;
padding: 0;
}
#mw-panel .vector-menu-content-list a {
display: block;
padding: 8px 14px;
color: #0645ad;
font-size: 14px;
line-height: 1.5;
text-decoration: none;
transition: background 0.15s ease;
}
#mw-panel .vector-menu-content-list a:hover {
background: #eaf3ff;
color: #0645ad;
text-decoration: none;
}
/* =============================================
4. BODY CONTENT
============================================= */
#content.mw-body {
background: #fff;
border: 1px solid #c8ccd1;
border-radius: 4px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
/* =============================================
5. HEADER - Remove borda flutuante + alinhamento
============================================= */
#left-navigation {
margin-left: 13em;
margin-top: 2.9em;
}
#right-navigation {
margin-top: 2.9em;
}
/* =============================================
6.1. SEARCH - Alinhamento com navegação
============================================= */
#p-search {
margin-top: 2.9em;
}
#simpleSearch {
display: flex;
align-items: center;
height: 34px;
}
#searchInput {
height: 32px;
border: 1px solid #a7d7f9;
border-radius: 4px 0 0 4px;
padding: 0 10px;
font-size: 14px;
}
#searchButton {
height: 34px;
border: 1px solid #a7d7f9;
border-left: none;
border-radius: 0 4px 4px 0;
background: #f8f9fa;
cursor: pointer;
}
.vector-menu-tabs {
background-image: none !important;
background: transparent !important;
}
/* =============================================
6. ABAS ESQUERDA (Mensagem/Discussão)
============================================= */
#p-namespaces.vector-menu-tabs .vector-menu-content-list li a {
display: flex !important;
align-items: center !important;
height: 34px;
padding: 0 12px !important;
background: #fff;
border: 1px solid #a7d7f9;
border-bottom: none;
border-radius: 4px 4px 0 0;
line-height: 1 !important;
}
#p-namespaces.vector-menu-tabs .vector-menu-content-list li.selected a {
background: #fff;
border-bottom: 1px solid #fff;
margin-bottom: -1px;
position: relative;
z-index: 2;
}
/* =============================================
7. ABAS DIREITA (Ler/Editar/Histórico)
============================================= */
#p-views.vector-menu-tabs .vector-menu-content,
#p-views.vector-menu-tabs .vector-menu-content-list,
#p-views.vector-menu-tabs {
overflow: visible !important;
}
/* Links de texto */
#p-views.vector-menu-tabs .vector-menu-content-list li.collapsible a {
display: flex !important;
align-items: center !important;
height: 34px;
padding: 0 12px !important;
background: #fff;
border: 1px solid #a7d7f9;
border-bottom: none;
border-radius: 4px 4px 0 0;
line-height: 1 !important;
}
#p-views.vector-menu-tabs .vector-menu-content-list li.collapsible.selected a {
background: #fff;
border-bottom: 1px solid #fff;
margin-bottom: -1px;
position: relative;
z-index: 2;
}
/* =============================================
8. ESTRELA (watch/unwatch) - COM BORDA IGUAL AOS OUTROS
============================================= */
#ca-unwatch,
#ca-watch {
overflow: visible !important;
position: relative;
z-index: 5;
}
#ca-unwatch a,
#ca-watch a {
font-size: 0 !important;
text-indent: -9999px;
overflow: visible !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
width: 34px !important;
height: 34px !important;
padding: 0 !important;
background: #fff !important;
border: 1px solid #a7d7f9 !important;
border-bottom: none !important;
border-radius: 4px 4px 0 0 !important;
position: relative;
}
#ca-unwatch a::before,
#ca-watch a::before {
content: "★";
font-size: 18px;
text-indent: 0;
display: flex;
align-items: center;
justify-content: center;
width: 34px;
height: 34px;
position: absolute;
left: 0;
top: 0;
}
#ca-unwatch a::before {
color: #ffcc00;
}
#ca-watch a::before {
color: #999;
}
/* =============================================
9. DROPDOWN "MAIS" - Estilo igual às outras abas
============================================= */
#p-cactions {
margin-left: 4px;
position: relative;
}
#p-cactions .vector-menu-heading {
display: flex !important;
align-items: center !important;
height: 34px !important;
padding: 0 14px !important;
background: #fff !important;
border: 1px solid #a7d7f9 !important;
border-bottom: none !important;
border-radius: 4px 4px 0 0;
cursor: pointer;
margin: 0 !important;
box-sizing: border-box;
line-height: 34px !important;
}
#p-cactions .vector-menu-heading span {
font-size: 14px;
font-weight: normal;
color: #0645ad;
text-transform: none;
letter-spacing: normal;
}
/* Sem setinha */
#p-cactions .vector-menu-heading::after {
display: none !important;
}
#p-cactions .vector-menu-content {
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
background: #fff;
border: 1px solid #a7d7f9;
border-radius: 4px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
min-width: 120px;
z-index: 100;
}
#p-cactions .vector-menu-content-list a {
display: block;
padding: 8px 14px;
color: #0645ad;
text-decoration: none;
}
#p-cactions .vector-menu-content-list a:hover {
background: #eaf3ff;
}
/* =============================================
10. ANTI-FOUC - Evita reposicionamento no F5
============================================= */
#left-navigation,
#right-navigation {
margin-top: 2.9em !important;
}
#p-namespaces.vector-menu-tabs .vector-menu-content-list li a,
#p-views.vector-menu-tabs .vector-menu-content-list li.collapsible a {
height: 34px !important;
display: flex !important;
align-items: center !important;
}