Mudanças entre as edições de "MediaWiki:Common.css"

De Wiki AnDes Sistemas
Ir para: navegação, pesquisa
Linha 36: Linha 36:
 
     image-rendering: crisp-edges;
 
     image-rendering: crisp-edges;
 
}
 
}
 
+
/* === OCULTA "Ver código-fonte" e "Ver histórico" no menu superior === */
/* === OCULTA "Ver código-fonte" e "Ver histórico" no menu superior para visitantes === */
+
body:not(.loggedin):not(.logged-in) #ca-viewsource,
body.mw-anon #ca-viewsource,
+
body:not(.loggedin):not(.logged-in) #ca-history {
body.mw-anon #ca-history {
+
 
     display: none !important;
 
     display: none !important;
 
}
 
}
  
/* === OCULTA MENU LATERAL COMPLETO para visitantes === */
+
/* === OCULTA MENU LATERAL COMPLETO: Navegação e Ferramentas === */
body.mw-anon #p-navigation,
+
body:not(.loggedin):not(.logged-in) #p-navigation,
body.mw-anon #p-tb {
+
body:not(.loggedin):not(.logged-in) #p-tb {
 
     display: none !important;
 
     display: none !important;
 
}
 
}

Edição das 21h05min de 12 de novembro de 2025

/* ========================================
   IMAGEM 900px RESPONSIVA – REFORMA TRIBUTÁRIA
   ======================================== */
.img-900-responsive {
    max-width: 1200px !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    image-rendering: -webkit-optimize-contrast; /* Nitidez em zoom */
    image-rendering: crisp-edges;
}
/* Telas menores que 960px: encolhe */
@media (max-width: 960px) {
    .img-900-responsive {
        max-width: 100% !important;
        border-radius: 4px !important;
    }
}
/* ========================================
   IMAGEM 400px RESPONSIVA – REFORMA TRIBUTÁRIA
   ======================================== */
.img-400-responsive {
    max-width: 50%!important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    image-rendering: -webkit-optimize-contrast; /* Nitidez em zoom */
    image-rendering: crisp-edges;
}
/* === OCULTA "Ver código-fonte" e "Ver histórico" no menu superior === */
body:not(.loggedin):not(.logged-in) #ca-viewsource,
body:not(.loggedin):not(.logged-in) #ca-history {
    display: none !important;
}
 
/* === OCULTA MENU LATERAL COMPLETO: Navegação e Ferramentas === */
body:not(.loggedin):not(.logged-in) #p-navigation,
body:not(.loggedin):not(.logged-in) #p-tb {
    display: none !important;
}