MediaWiki:Common.css: Difference between revisions
Appearance
Blanked the page Tags: Blanking Manual revert Reverted |
No edit summary |
||
| (18 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/****************************** | |||
* INTERFACE PARA USUÁRIOS ANÔNIMOS (Vector 2022) | |||
******************************/ | |||
/* Esconde abas e menus específicos para anônimos */ | |||
.skin-vector-2022.anon .vector-menu-tabs li#ca-talk, | |||
.skin-vector-2022.anon .vector-menu-tabs li#ca-history, | |||
.skin-vector-2022.anon .vector-menu-tabs li#ca-viewsource, | |||
.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", "History" e "View source" globalmente */ | |||
#ca-talk, | |||
#ca-history, | |||
#ca-viewsource, | |||
.skin-vector-2022 #n-recentchanges, | |||
.skin-vector-2022 #n-randompage, | |||
.skin-vector-2022 #n-help-mediawiki, | |||
.vector-menu-content-list li#ca-talk { | |||
display: none !important; | |||
} | |||
/****************************** | |||
* LOGOTIPO | |||
******************************/ | |||
.mw-wiki-logo { | |||
width: 350px; | |||
height: 350px; | |||
background-size: contain; | |||
} | |||
/****************************** | |||
* TABELAS (wikitable, sortable etc.) | |||
******************************/ | |||
table, | |||
table.wikitable, | |||
table.sortable { | |||
border-collapse: separate !important; | |||
border-spacing: 0; | |||
width: 100%; | |||
margin: 1em 0; | |||
border: 1px solid #ccc; | |||
border-radius: 10px; | |||
background-color: #fff; | |||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); | |||
} | |||
/* Células */ | |||
table th, | |||
table td { | |||
border: 1px solid #ddd !important; | |||
padding: 0.4em 0.6em; | |||
vertical-align: middle; | |||
} | |||
/* Cabeçalhos */ | |||
table th { | |||
background-color: #eaf4ff !important; | |||
color: #003366; | |||
font-weight: bold; | |||
text-align: center; | |||
} | |||
/* Zebra striping */ | |||
table tr:nth-child(even) td { | |||
background-color: #f9f9f9; | |||
} | |||
/* Números alinhados à direita */ | |||
table td.number { | |||
text-align: right; | |||
} | |||
/****************************** | |||
* IMAGENS (thumb, border etc.) | |||
******************************/ | |||
/* Frame externo */ | |||
.thumb { | |||
margin: 0.5em; | |||
border: none; | |||
} | |||
/* Contêiner com imagem + legenda */ | |||
.thumbinner { | |||
border: 1px solid #ccc; | |||
border-radius: 10px; | |||
overflow: hidden; | |||
background-color: #fdfdfd; | |||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); | |||
padding: 0 !important; | |||
} | |||
/* Imagem */ | |||
.thumbimage { | |||
border: none !important; | |||
border-radius: 0 !important; | |||
display: block; | |||
max-width: 100%; | |||
} | |||
/* Legenda */ | |||
.thumbcaption { | |||
border-top: 1px solid #ddd; | |||
background-color: #f8f8f8; | |||
padding: 0.4em 0.6em; | |||
font-size: 90%; | |||
color: #333; | |||
text-align: center; | |||
border-radius: 0 0 10px 10px; | |||
} | |||
/****************************** | |||
* OUTROS FRAMES (gallery, div.frame etc.) | |||
******************************/ | |||
.frame, | |||
.gallerybox, | |||
.tright, | |||
.tleft { | |||
border-radius: 10px; | |||
border: 1px solid #ccc; | |||
overflow: hidden; | |||
padding: 0.5em; | |||
background-color: #f9f9f9; | |||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08); | |||
} | |||
/* Imagens soltas */ | |||
img { | |||
border-radius: 6px; | |||
} | |||
Latest revision as of 08:38, 30 May 2025
/******************************
* INTERFACE PARA USUÁRIOS ANÔNIMOS (Vector 2022)
******************************/
/* Esconde abas e menus específicos para anônimos */
.skin-vector-2022.anon .vector-menu-tabs li#ca-talk,
.skin-vector-2022.anon .vector-menu-tabs li#ca-history,
.skin-vector-2022.anon .vector-menu-tabs li#ca-viewsource,
.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", "History" e "View source" globalmente */
#ca-talk,
#ca-history,
#ca-viewsource,
.skin-vector-2022 #n-recentchanges,
.skin-vector-2022 #n-randompage,
.skin-vector-2022 #n-help-mediawiki,
.vector-menu-content-list li#ca-talk {
display: none !important;
}
/******************************
* LOGOTIPO
******************************/
.mw-wiki-logo {
width: 350px;
height: 350px;
background-size: contain;
}
/******************************
* TABELAS (wikitable, sortable etc.)
******************************/
table,
table.wikitable,
table.sortable {
border-collapse: separate !important;
border-spacing: 0;
width: 100%;
margin: 1em 0;
border: 1px solid #ccc;
border-radius: 10px;
background-color: #fff;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
/* Células */
table th,
table td {
border: 1px solid #ddd !important;
padding: 0.4em 0.6em;
vertical-align: middle;
}
/* Cabeçalhos */
table th {
background-color: #eaf4ff !important;
color: #003366;
font-weight: bold;
text-align: center;
}
/* Zebra striping */
table tr:nth-child(even) td {
background-color: #f9f9f9;
}
/* Números alinhados à direita */
table td.number {
text-align: right;
}
/******************************
* IMAGENS (thumb, border etc.)
******************************/
/* Frame externo */
.thumb {
margin: 0.5em;
border: none;
}
/* Contêiner com imagem + legenda */
.thumbinner {
border: 1px solid #ccc;
border-radius: 10px;
overflow: hidden;
background-color: #fdfdfd;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
padding: 0 !important;
}
/* Imagem */
.thumbimage {
border: none !important;
border-radius: 0 !important;
display: block;
max-width: 100%;
}
/* Legenda */
.thumbcaption {
border-top: 1px solid #ddd;
background-color: #f8f8f8;
padding: 0.4em 0.6em;
font-size: 90%;
color: #333;
text-align: center;
border-radius: 0 0 10px 10px;
}
/******************************
* OUTROS FRAMES (gallery, div.frame etc.)
******************************/
.frame,
.gallerybox,
.tright,
.tleft {
border-radius: 10px;
border: 1px solid #ccc;
overflow: hidden;
padding: 0.5em;
background-color: #f9f9f9;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}
/* Imagens soltas */
img {
border-radius: 6px;
}