MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* | /****************************** | ||
* INTERFACE PARA USUÁRIOS ANÔNIMOS (Vector 2022) | |||
******************************/ | |||
.skin-vector-2022.anon .vector-menu-tabs li#ca-talk, | /* Esconde abas e menus específicos para anônimos */ | ||
.skin-vector-2022.anon .vector-menu-tabs li#ca-history, | .skin-vector-2022.anon .vector-menu-tabs li#ca-talk, | ||
.skin-vector-2022.anon .vector-menu-tabs li#ca-viewsource | .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 #vector-page-tools, | ||
.skin-vector-2022.anon #p-views, | .skin-vector-2022.anon #p-views, | ||
| Line 11: | Line 13: | ||
.skin-vector-2022.anon #n-randompage, | .skin-vector-2022.anon #n-randompage, | ||
.skin-vector-2022.anon #n-help-mediawiki { | .skin-vector-2022.anon #n-help-mediawiki { | ||
display: none !important; | |||
} | } | ||
/* Esconde "Discussion" | /* Esconde "Discussion", "History" e "View source" globalmente */ | ||
#ca-talk, | |||
.skin-vector-2022 # | #ca-history, | ||
#ca-viewsource, | |||
.skin-vector-2022 #n-recentchanges, | |||
.skin-vector-2022 #n-randompage, | |||
.skin-vector-2022 #n-help-mediawiki, | |||
.skin-vector-2022 | .vector-menu-content-list li#ca-talk { | ||
.skin-vector-2022 .vector-menu-content-list li#ca-talk { | display: none !important; | ||
} | } | ||
/****************************** | |||
* LOGOTIPO | |||
******************************/ | |||
.mw-wiki-logo { | .mw-wiki-logo { | ||
width: 350px; | |||
height: 350px; | |||
background-size: contain; | |||
} | } | ||
/****************************** | |||
* TABELAS (wikitable, sortable etc.) | |||
******************************/ | |||
table, | table, | ||
table.wikitable, | table.wikitable, | ||
| Line 112: | Line 48: | ||
border-collapse: separate !important; | border-collapse: separate !important; | ||
border-spacing: 0; | border-spacing: 0; | ||
width: 100%; | |||
margin: 1em 0; | |||
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
border-radius: 10px; | border-radius: 10px; | ||
background-color: #fff; | background-color: #fff; | ||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); | box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); | ||
} | } | ||
/* Células | /* Células */ | ||
table th, | table th, | ||
table td { | table td { | ||
| Line 129: | Line 64: | ||
} | } | ||
/* Cabeçalhos | /* Cabeçalhos */ | ||
table th { | table th { | ||
background-color: #eaf4ff !important; | background-color: #eaf4ff !important; | ||
| Line 137: | Line 72: | ||
} | } | ||
/* Zebra | /* Zebra striping */ | ||
table tr:nth-child(even) td { | table tr:nth-child(even) td { | ||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
} | } | ||
/* | /* Números alinhados à direita */ | ||
table td.number { | table td.number { | ||
text-align: right; | text-align: right; | ||
| Line 148: | Line 83: | ||
/* | /****************************** | ||
* IMAGENS (thumb, border etc.) | |||
******************************/ | |||
/* Frame externo | /* Frame externo */ | ||
.thumb { | .thumb { | ||
margin: 0.5em; | |||
border: none; | border: none; | ||
} | } | ||
/* Contêiner | /* Contêiner com imagem + legenda */ | ||
.thumbinner { | .thumbinner { | ||
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
| Line 187: | Line 103: | ||
} | } | ||
/* Imagem | /* Imagem */ | ||
.thumbimage { | .thumbimage { | ||
border: none !important; | border: none !important; | ||
| Line 195: | Line 111: | ||
} | } | ||
/* Legenda | /* Legenda */ | ||
.thumbcaption { | .thumbcaption { | ||
border-top: 1px solid #ddd; | border-top: 1px solid #ddd; | ||
background-color: #f8f8f8; | |||
padding: 0.4em 0.6em; | padding: 0.4em 0.6em; | ||
font-size: 90%; | font-size: 90%; | ||
color: #333; | 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;
}