MediaWiki:Common.css

From WikiPStory
Revision as of 20:11, 26 November 2024 by Icytea (talk | contribs)
Jump to navigation Jump to search

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.
/** o código CSS colocado aqui será aplicado a todos os temas */

body {
    background-image: url('resources\assets\BG_Arrumado.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0; 
    padding: 0;
    height: 100%;

}

#mw-page-base {
    background: transparent !important; 
    margin: 0 !important;  
    padding: 0 !important; 
}


/* Definir o fundo branco do painel */
#mw-panel {
    background-color: #ffffff;
    border: none;
    margin-top:3%;
}


/* Ajusta o container do tabber */
.tabber {
  position: relative;
}

/* Oculta abas inativas */
.tabber-tabpanel {
  display: none; /* Oculta abas que não estão ativas */
  padding: 11110px; /* Adiciona espaçamento interno nas abas */
}

/* Exibe a aba ativa */
.tabberlive > .tabber-tab[style*="display: block"] {
  display: block;
}

/* Define altura mínima fixa para a área das abas */
.tabber-tabpanel {
  min-height: 7200px; /* Ajuste conforme o maior conteúdo */
  transition: all 0.3s ease-in-out; /* Transição suave entre abas */
}


.banner img {
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .banner img {
    width: 75%;
  }
}

@media (max-width: 500px) {
  .banner img {
    width: 50%; 
  }
}


#ca-history { display: none !important;}
#ca-viewsource { display: none !important; }
#ca-view { display: none !important; }