MediaWiki:Common.css: Difference between revisions

From WikiPStory
Jump to navigation Jump to search
Created page with "* o código CSS colocado aqui será aplicado a todos os temas: body { background-image: url('resources\assets\wallpaper_carro.jpg'); 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-..."
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:


body {
body {
     background-image: url('resources\assets\wallpaper_carro.jpg');
     background-image: url('resources\assets\BG_Arrumado.png');
     background-size: cover;
     background-size: cover;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
Line 50: Line 50:




.banner img {
  width: 100%;
  height: auto;
}
@media (max-width: 900px) {
  .banner img {
    width: 75%;
  }
}
@media (max-width: 500px) {
  .banner img {
    width: 50%;
  }
}
.bigimage img {
  width: 50%;
  height: auto;
}





Latest revision as of 20:29, 28 November 2024

/** 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%; 
  }
}

.bigimage img {
  width: 50%;
  height: auto;
}


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