Jump to content

MediaWiki:Common.css: Difference between revisions

From TnPedia
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Esconde abas superiores para anônimos no Vector 2022 */
/******************************
* INTERFACE PARA USUÁRIOS ANÔNIMOS (Vector 2022)
******************************/


.skin-vector-2022.anon .vector-menu-tabs li#ca-talk, /* Discussion */
/* Esconde abas e menus específicos para anônimos */
.skin-vector-2022.anon .vector-menu-tabs li#ca-history, /* View history */
.skin-vector-2022.anon .vector-menu-tabs li#ca-talk,
.skin-vector-2022.anon .vector-menu-tabs li#ca-viewsource, /* View source */
.skin-vector-2022.anon .vector-menu-tabs li#ca-history,
.skin-vector-2022.anon .vector-page-tools-dropdown,
.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;
  display: none !important;
}
}


/* Esconde "Discussion" na aba superior */
/* Esconde "Discussion", "History" e "View source" globalmente */
.skin-vector-2022.anon #ca-talk,
#ca-talk,
.skin-vector-2022 #ca-talk {
#ca-history,
    display: none !important;
#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;
}
}


/* Esconde "Discussion" dentro de menus colapsados */
/* Zebra striping */
.skin-vector-2022.anon .vector-menu-content-list li#ca-talk,
table tr:nth-child(even) td {
.skin-vector-2022 .vector-menu-content-list li#ca-talk {
  background-color: #f9f9f9;
    display: none !important;
}
}


/* Esconde "Recent changes" */
/* Números alinhados à direita */
.skin-vector-2022 #n-recentchanges {
table td.number {
    display: none !important;
  text-align: right;
}
}


/* Esconde "Random page" */
 
.skin-vector-2022 #n-randompage {
/******************************
    display: none !important;
* IMAGENS (thumb, border etc.)
******************************/
 
/* Frame externo */
.thumb {
  margin: 0.5em;
  border: none;
}
}


/* Esconde "Help about MediaWiki" */
/* Contêiner com imagem + legenda */
.skin-vector-2022 #n-help-mediawiki {
.thumbinner {
    display: none !important;
  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;
}
}


#ca-viewsource,
/* Imagem */
#ca-history {
.thumbimage {
    display: none !important;
  border: none !important;
  border-radius: 0 !important;
  display: block;
  max-width: 100%;
}
}


/* Ajusta as dimensões do logotipo */
/* Legenda */
.mw-wiki-logo {
.thumbcaption {
    width: 350px;
  border-top: 1px solid #ddd;
    height: 350px;
  background-color: #f8f8f8;
    background-size: contain;
  padding: 0.4em 0.6em;
  font-size: 90%;
  color: #333;
  text-align: center;
  border-radius: 0 0 10px 10px;
}
}


/* Força os itens da lista como inline */
 
.tnlist li {
/******************************
   display: inline;
* 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);
}
}


/* Adiciona ponto mediano em negrito entre os itens */
/* Imagens soltas */
.tnlist li:not(:last-child)::after {
img {
   content: " \00B7";      /* ponto mediano */
   border-radius: 6px;
  font-weight: bold;
  color: #222;
  padding: 0 0.4em;
}
}

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;
}