MediaWiki:Common.css
Appearance
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Esconde abas superiores para anônimos no Vector 2022 */
.skin-vector-2022.anon .vector-menu-tabs li#ca-talk, /* Discussion */
.skin-vector-2022.anon .vector-menu-tabs li#ca-history, /* View history */
.skin-vector-2022.anon .vector-menu-tabs li#ca-viewsource, /* View source */
.skin-vector-2022.anon .vector-page-tools-dropdown,
.skin-vector-2022.anon #vector-page-tools,
.skin-vector-2022.anon #p-views,
.skin-vector-2022.anon #p-navigation,
.skin-vector-2022.anon #n-recentchanges,
.skin-vector-2022.anon #n-randompage,
.skin-vector-2022.anon #n-help-mediawiki {
display: none !important;
}
/* Esconde "Discussion" na aba superior */
.skin-vector-2022.anon #ca-talk,
.skin-vector-2022 #ca-talk {
display: none !important;
}
/* Esconde "Discussion" dentro de menus colapsados */
.skin-vector-2022.anon .vector-menu-content-list li#ca-talk,
.skin-vector-2022 .vector-menu-content-list li#ca-talk {
display: none !important;
}
/* Esconde "Recent changes" */
.skin-vector-2022 #n-recentchanges {
display: none !important;
}
/* Esconde "Random page" */
.skin-vector-2022 #n-randompage {
display: none !important;
}
/* Esconde "Help about MediaWiki" */
.skin-vector-2022 #n-help-mediawiki {
display: none !important;
}
#ca-viewsource,
#ca-history {
display: none !important;
}
/* Ajusta as dimensões do logotipo */
.mw-wiki-logo {
width: 350px;
height: 350px;
background-size: contain;
}
/* Bordas arredondadas em tabelas */
table {
border-collapse: separate;
border-spacing: 0;
border: 1px solid #ccc;
border-radius: 10px;
overflow: hidden;
}
/* Bordas arredondadas em células das tabelas */
table th,
table td {
border: 1px solid #ddd;
padding: 0.4em;
}
/* Bordas arredondadas em imagens com legenda (thumb) */
.thumb,
.thumbinner {
border-radius: 10px;
overflow: hidden;
border: 1px solid #ccc;
}
/* Bordas arredondadas em frames (como <div class="frame">) */
.frame,
.gallerybox,
.tright,
.tleft {
border-radius: 10px;
border: 1px solid #ccc;
overflow: hidden;
padding: 0.5em;
background-color: #f9f9f9;
}
/* Bordas suaves também em imagens soltas */
img {
border-radius: 6px;
}
/* Opcional: sombra leve */
table,
.frame,
.thumb {
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}
/* Estilo base para qualquer tabela */
table,
table.wikitable,
table.sortable {
border-collapse: separate !important;
border-spacing: 0;
border: 0px solid #ccc;
border-radius: 10px;
overflow: hidden;
width: 100%;
margin: 1em 0;
background-color: #fff;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
/* Células de cabeçalho e conteúdo */
table th,
table td {
border: 1px solid #ddd !important;
padding: 0.4em 0.6em;
vertical-align: middle;
}
/* Cabeçalhos: fundo azul claro e texto escuro */
table th {
background-color: #eaf4ff !important;
color: #003366;
font-weight: bold;
text-align: center;
}
/* Zebra stripes (linhas alternadas) */
table tr:nth-child(even) td {
background-color: #f9f9f9;
}
/* Alinha texto de células com números à direita */
table td.number {
text-align: right;
}