MediaWiki:Common.css
Por equipe do Dicionário de Favelas Marielle Franco
Nota: Após publicar, você pode ter que limpar o "cache" do seu navegador para ver as alterações.
- Firefox / Safari: Pressione Shift enquanto clica Recarregar, ou pressione Ctrl-F5 ou Ctrl-R (⌘-R no Mac)
- Google Chrome: Pressione Ctrl-Shift-R (⌘-Shift-R no Mac)
- Internet Explorer/Edge: PressioneCtrl enquanto clica Recarregar, ou Pressione Ctrl-F5
- Opera: Pressione Ctrl-F5.
/** o código CSS colocado aqui será aplicado a todos os temas */
/* Ocultar título da página principal page-Main_Page */
body.page-Dicionário_de_Favelas_Marielle_Franco.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
/* ocultar redirect */
#mw-redirectedfrom, .mw-redirectedfrom {display:none;}
/* busca*/
.mw-search{padding:0.3em;}
/* Sitenotice*/
.siteNotice {padding-top:0.9em; margin-top:0.4em; text-align:center;}
/* Página principal*/
.jumbotron {background-color:#fff;}
.card-img-top {min-width: 240px;}
/* Idiomas*/
.uls-language-list {display: block;}
.uls-search {display: block;}
/* índice */
.toc { display: block;}
.toc, .mw-warning, .toccolours {border: 1px solid #d1deed;}
/*citação*/
blockquote:not([class]) {margin: 0.5em 20px; border-left: 4px solid #fd7e14; padding-left:0.9em;}
/* nuvem de palavras */
.tagcloud a:link, .tagcloud a:visited, .tagcloud a:active {color: #5c1bd7; background-color: transparent; border: 0 solid #eee; padding: 0.5em; white-space: nowrap; text-align: center; line-height: 2.1em;}
/* Categorias */
.CategoryTreeToggle {color: #e50b4c;}
.catlinks {border: 1px solid #d1deed; padding:0.5rem; background-color: #f8f9fa;}
#catlinks {text-transform: uppercase; font-size: small; font-weight: bold;}
.catlinks li {border-left: 2px solid #d30350;}
.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 */
.mw-newpages-time {text-transform: uppercase; font-size: small; display:inline-block; color: #747474;}
.mw-newpages-pagename {font-size:larger; font-weight: 600; background-color: #f4f6f9; border-bottom: solid 1px #f27405; display: block;}
.mw-parser-output li {margin-bottom: 1em;}
.navbar-nav right { justify-content: flex-start}
.not-patrolled {
background-color: #f4f6f9;
border-left: solid 4px #f57a00;
padding-left: 2px;
}
/* Buttons Eixos de análise */
/*Vermelho*/
.btn-eixo1 {background-color:#B30041; color:#fff; padding:1.5rem!important; border-radius:4px; text-align: center; vertical-align: middle;}
/*Verde*/
.btn-eixo2 {background-color:#7EA33F; color:#000; padding:1.5rem!important; border-radius:4px; text-align: center; vertical-align: middle;}
/*Violeta*/
.btn-eixo3 {background-color:#612670; color:#fff; padding:1.5rem!important; border-radius:4px; text-align: center; vertical-align: middle;}
/*Azul*/
.btn-eixo4 {background-color:#00615F; 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 */
.responsive {position: relative; width: 100%; overflow: hidden;}
.responsive-iframe {position: absolute; top: 0; left: 0; bottom: 0; right: 0; width: 100%; height: 100%; border: none;}
/* PDF */
body .mw-body-content p > iframe,
body .mw-body-content p > object {
width: 100%;
border: 1px solid #323639;
}
.mw-body-content .pdf-embed {
width: 100%;
border: 1px solid #323639;
}
/* MEMÓRIA VIVA - Alinhar os vídeos do CardEntrevistados no rodapé*/
.force-align-bottom {
display: flex !important;
flex-direction: column !important;
justify-content: flex-end !important;
}
.video-container iframe, .video-container embed, .video-container video {
max-width: 100%; /* Ajusta o vídeo ao tamanho da div */
height: auto; /* Mantém a proporção do vídeo */
display: block; /* Remove qualquer comportamento inline desnecessário */
}
/* MEMÓRIA VIVA - Ajuste para carrossel de imagens */
.bootstrap-carousel img {
width: 100%;
height: auto;
object-fit: contain; /* Exibe a imagem completa */
display: block;
margin: 0 auto;
}
/* Fixar Barra de ferramentas do editor */
.ve-ui-toolbar-floating > .oo-ui-toolbar-bar {
position: fixed;
top: 4rem;
border-top: 0;
}
/* falta identificar */
.lead{color:#4A4A4A;}
.mw-createacct-benefits-container {float:none;}
.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;}
/* Feedback*/
.articleFeedbackv5-panel {
background-color: #f8f9fa;
border: 1px solid #d1deed;
padding-bottom: 1px;
margin: 0;
width: 100%;
max-width: 100%;
}
.ui-button .ui-button-text {display: inline;}
.articleFeedbackv5-ui .instructions-left {
float: left;
margin: 0 15px 0 0;
font-size: 1em;
}
.mw-body .articleFeedbackv5 h1, .mw-body .articleFeedbackv5 h2 {
margin-top: 0;
}
/* CSS Sliding Image Gallery for Mediawiki
*
* @author: Unknown
* current version crafted together by [[User:Christharp]] from several CSS sites.
*/
/* Galeria de imagens Carrousel*/
.wrapper {
position: absolute;
top: 1%;
width: 4000px;
-webkit-animation: 60s credits linear infinite;
-moz-animation: 60s credits linear infinite;
-ms-animation:60s credits linear infinite;
-o-animation: 60s credits linear infinite;
animation: 60s credits linear infinite;
}
.wrapper img:hover {
-webkit-transform: scale(1.4);
-moz-transform: scale(1.4);
-o-transform: scale(1.4);
-ms-transform: scale(1.4);
transform: scale(1.4);
cursor: pointer;
}
@keyframes credits {
0% {
margin-left: 0px;
}
100% {
margin-left: -4000px;
}
}
@-webkit-keyframes credits {
0% {
margin-left: 0px;
}
100% {
margin-left: -4000px;
}
}
@-moz-keyframes credits {
0% {
margin-left: 0px;
}
100% {
margin-left: -4000px;
}
}
@-o-keyframes credits {
0% {
margin-left: 0px;
}
100% {
margin-left: -4000px;
}
}