MediaWiki:Common.css: mudanças entre as edições

Sem resumo de edição
Sem resumo de edição
Etiqueta: Reversão manual
 
(122 revisões intermediárias por 2 usuários não estão sendo mostradas)
Linha 1: Linha 1:
/** o código CSS colocado aqui será aplicado a todos os temas */
/** o código CSS colocado aqui será aplicado a todos os temas */
/* Ocultar título da página principal page-Main_Page */
/* Ocultar título da página principal page-Main_Page */
body.page-Página_principal.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading, .mw-body #siteSub { display: none; }
body.page-Página_principal.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
/* Ocultar criadores da página principal page-Main_Page */
 
body.page-Página_principal.action-view .mw-body #siteSub { display: none; }
/* Aplica css img-fluid para corrigir exibição de imagens versão 1.43 */
/* ocultar redirect */
.mw-file-element {
#mw-redirectedfrom, .mw-redirectedfrom {display:none;}
max-width: 100%;  
    height: auto;
}
 
/* Fixar Barra de ferramentas do editor */
/* Fixar Barra de ferramentas do editor */
.ve-ui-toolbar-floating > .oo-ui-toolbar-bar {
.ve-ui-toolbar-floating > .oo-ui-toolbar-bar {
Linha 12: Linha 15:
     border-top: 0;
     border-top: 0;
}
}
.siteNotice {color: #856404;background-color:#fff3cd;border-color:#ffeeba; background-clip: border-box;border: 1px solid rgb(0,0,0);border: 1px solid rgba(0,0,0,0.125);border-radius:0.25rem; padding-top:0.9em; margin-top:0.4em; text-align:center;}
.alert alert-dismissible alert-light {background-color:#ffffff; background-color: rgba(254,254,254, 0.6);}
.wiki-docs-header {padding-top: 0.3rem; padding-bottom: 2em;}
.jumbotron {background-color:#fff;}
.principal {background-image: url('/images/4/47/Imagem_favelas_mono.png'); background-repeat: no-repeat; background-size: cover;}
.card-img-top {min-width: 200px;}
blockquote:not([class]) {margin: 0.5em 20px; border-left: 4px solid #fd7e14; padding-left:0.9em;}
.tagcloud a:link, .tagcloud a:visited, .tagcloud a:active  {color: #f31d6c; background-color: transparent; border: 0 solid #eee; padding: 15px 10px 15px 10px; text-align: center;}


/* Feedback*/
/* Layout full com conteúdo em bloco */
.articleFeedbackv5-panel {
 
    background-color: #f8f9fa;
.section-full {
    border: 1px solid #d1deed;
  width: 100vw;
    padding-bottom: 1px;
  margin-left: calc(50% - 50vw);
    margin: 0;
  padding: 70px 0;
    width: 100%;
}
    max-width: 100%;
 
.section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1em 4em;
}
}
.ui-button .ui-button-text {display: inline;}
 
.articleFeedbackv5-ui .instructions-left {
/* Background variante */
float: left;
 
margin: 0 15px 0 0;
.section-light {
font-size: 1em;
  background: var(--wiki-bg-light, #f5f5f5);
}
}
.mw-body .articleFeedbackv5 h1, .mw-body .articleFeedbackv5 h2 {
 
margin-top: 0;
.section-dark {
  background: var(--wiki-bg-dark, #ddd);
  color: white;
}
}


/* índice */
/* Hero */
.toc { display: block;}
.toc, .mw-warning, .toccolours {border: 1px solid #d1deed;}


/* Categorias */
.hero {
.CategoryTreeToggle {color: #e50b4c;}
  position: relative;
.catlinks {border: 1px solid #d1deed; padding:0.5rem; background-color: #f8f9fa;}
  width: 100vw;
#catlinks {text-transform: uppercase; font-size: small; font-weight: bold;}
  margin-left: calc(50% - 50vw);
.catlinks li {border-left: 2px solid #d30350;}
  overflow: hidden;
.list-inline-item, .mw-body .catlinks ul > li {
margin-right: 0.5rem;
background-color: #f4f6f9;
padding: 0.3rem;  
    display: inline-block;
    line-height: 1;
    border-left: 2px solid #d30350;
}
}


/* listas de verbetes */
.hero img {
.mw-newpages-time {text-transform: uppercase; font-size: small; display:inline-block; color: #747474;}
  width: 100%;
.mw-newpages-pagename {font-size:larger; font-weight: 600; background-color: #f4f6f9;  border-bottom: solid 1px #f27405; display: block;}
  height: clamp(260px, 45vh, 520px);
.mw-parser-output li {margin-bottom: 1em;}
  object-fit: cover;
.navbar-nav right { justify-content: flex-start}
  display: block;
.not-patrolled {
background-color: #f4f6f9;
    border-left: solid 4px #f57a00;
    border-right: solid 4px #f57a00;
    padding-left: 2px;
}
}


span.mw-tag-markers, .mw-userlink, .mw-usertoollinks {
.hero-content {
    display: inline;
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1400px;
  width: 100%;
  padding: 1em 4em;
  color: white;
}
}


/* Card grid */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}


/* Buttons Eixos de análise */
/* Split layout */
.btn-eixo1 {background-color:#CF2800; color:#fff; padding:1.5rem!important; border-radius:4px;  text-align: center; vertical-align: middle;}
.btn-eixo2 {background-color:#75B82B; color:#fff; padding:1.5rem!important; border-radius:4px;  text-align: center; vertical-align: middle;}
.btn-eixo3 {background-color:#763687; color:#fff; padding:1.5rem!important; border-radius:4px;  text-align: center; vertical-align: middle;}
.btn-eixo4 {background-color:#00A8A6; color:#fff; padding:1.5rem!important; border-radius:4px;  text-align: center; vertical-align: middle;}
.btn-eixo1 a, .btn-eixo2 a, .btn-eixo3 a, .btn-eixo4 a {color:#fff; font-size: 1.1em; text-decoration:none; font-weight: 400!important;}   


/* Then style the iframe to fit in the container div with full height and width */
.split {
/* responsive iframe */
  display: flex;
.responsive {
  gap: 40px;
   position: relative;
  align-items: center;
   width: 100%;
  max-width: 1400px;
   overflow: hidden;
  margin: 0 auto;
  padding: 0 20px;
}
 
.split > div {
  flex: 1;
}
 
/* mobile */
@media (max-width: 768px) {
  .split {
    flex-direction: column;
  }
}
 
/* Infobox */
 
.infobox-modern {
   background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
   max-width: 360px;
}
 
.infobox-modern h3 {
  margin-top: 0;
  font-size: 18px;
  border-bottom: 1px solid #eee;
   padding-bottom: 8px;
}
}
.responsive-iframe {
 
   position: absolute;
.infobox-row {
   top: 0;
   display: flex;
   left: 0;
   justify-content: space-between;
   bottom: 0;
   padding: 6px 0;
  right: 0;
   border-bottom: 1px solid #f0f0f0;
  width: 100%;
  height: 100%;
  border: none;
}
}