|
|
| (29 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-Dicionário_de_Favelas_Marielle_Franco.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } | | body.page-Página_principal.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } |
|
| |
|
| /* ocultar redirect */ | | /* Aplica css img-fluid para corrigir exibição de imagens versão 1.43 */ |
| #mw-redirectedfrom, .mw-redirectedfrom {display:none;}
| | .mw-file-element { |
| /* busca*/
| | max-width: 100%; |
| .mw-search{padding:0.3em;} | | height: auto; |
| /* Sitenotice*/
| | } |
| .siteNotice {padding-top:0.9em; margin-top:0.4em; text-align:center;}
| |
|
| |
|
| /* Página principal*/ | | /* Fixar Barra de ferramentas do editor */ |
| .jumbotron {background-color:#fff;} | | .ve-ui-toolbar-floating > .oo-ui-toolbar-bar { |
| .card-img-top {min-width: 240px;}
| | position: fixed; |
| | top: 4rem; |
| | border-top: 0; |
| | } |
|
| |
|
| /* Idiomas*/ | | /* Layout full com conteúdo em bloco */ |
| .uls-language-list {display: block;}
| |
| .uls-search {display: block;}
| |
|
| |
|
| /* índice */
| | .section-full { |
| .toc { display: block;} | | width: 100vw; |
| .toc, .mw-warning, .toccolours {border: 1px solid #d1deed;}
| | margin-left: calc(50% - 50vw); |
| | padding: 70px 0; |
| | } |
|
| |
|
| /*citação*/
| | .section-inner { |
| blockquote:not([class]) {margin: 0.5em 20px; border-left: 4px solid #fd7e14; padding-left:0.9em;}
| | max-width: 1400px; |
| | margin: 0 auto; |
| | padding: 1em 4em; |
| | } |
|
| |
|
| /* nuvem de palavras */ | | /* Background variante */ |
| .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 */
| | .section-light { |
| .CategoryTreeToggle {color: #e50b4c;} | | background: var(--wiki-bg-light, #f5f5f5); |
| .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 */
| | .section-dark { |
| .mw-newpages-time {text-transform: uppercase; font-size: small; display:inline-block; color: #747474;} | | background: var(--wiki-bg-dark, #ddd); |
| .mw-newpages-pagename {font-size:larger; font-weight: 600; background-color: #f4f6f9; border-bottom: solid 1px #f27405; display: block;}
| | color: white; |
| .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 */ | | /* Hero */ |
| .btn-eixo1 {background-color:#8f1b00; color:#fff; padding:1.5rem!important; border-radius:4px; text-align: center; vertical-align: middle;}
| |
| .btn-eixo2 {background-color:#326100; 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:#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 */
| | .hero { |
| .responsive {position: relative; width: 100%; overflow: hidden;} | | position: relative; |
| .responsive-iframe {position: absolute; top: 0; left: 0; bottom: 0; right: 0; width: 100%; height: 100%; border: none;}
| | width: 100vw; |
| | margin-left: calc(50% - 50vw); |
| | overflow: hidden; |
| | } |
|
| |
|
| /* PDF */
| | .hero img { |
| body .mw-body-content p > iframe,
| | width: 100%; |
| body .mw-body-content p > object {
| | height: clamp(260px, 45vh, 520px); |
| width: 100%;
| | object-fit: cover; |
| border: 1px solid #323639;
| | display: block; |
| } | | } |
| .mw-body-content .pdf-embed { | | |
| width: 100%;
| | .hero-content { |
| border: 1px solid #323639;
| | position: absolute; |
| | bottom: 40px; |
| | left: 50%; |
| | transform: translateX(-50%); |
| | max-width: 1400px; |
| | width: 100%; |
| | padding: 1em 4em; |
| | color: white; |
| } | | } |
|
| |
|
| /* Fixar Barra de ferramentas do editor */ | | /* Card grid */ |
| .ve-ui-toolbar-floating > .oo-ui-toolbar-bar { | | |
| position: fixed;
| | .card-grid { |
| top: 4rem;
| | display: flex; |
| border-top: 0;
| | flex-wrap: wrap; |
| | gap: 20px; |
| | max-width: 1400px; |
| | margin: 0 auto; |
| } | | } |
| /* 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*/ | | /* Split layout */ |
| .articleFeedbackv5-panel { | | |
| background-color: #f8f9fa;
| | .split { |
| border: 1px solid #d1deed;
| | display: flex; |
| padding-bottom: 1px;
| | gap: 40px; |
| margin: 0;
| | align-items: center; |
| width: 100%;
| | max-width: 1400px; |
| max-width: 100%;
| | margin: 0 auto; |
| }
| | padding: 0 20px; |
| .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
| | .split > div { |
| *
| | flex: 1; |
| * @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 {
| | /* mobile */ |
| -webkit-transform: scale(1.4);
| | @media (max-width: 768px) { |
| -moz-transform: scale(1.4);
| | .split { |
| -o-transform: scale(1.4);
| | flex-direction: column; |
| -ms-transform: scale(1.4);
| | } |
| transform: scale(1.4);
| |
| cursor: pointer;
| |
| }
| |
| @keyframes credits {
| |
| 0% { | |
| margin-left: 0px; | |
| }
| |
| 100% {
| |
| margin-left: -4000px;
| |
| }
| |
|
| |
| } | | } |
|
| |
|
| @-webkit-keyframes credits {
| | /* Infobox */ |
| 0% {
| |
| margin-left: 0px;
| |
| }
| |
| 100% {
| |
| margin-left: -4000px;
| |
| }
| |
|
| |
|
| | .infobox-modern { |
| | background: #fff; |
| | border-radius: 12px; |
| | padding: 20px; |
| | box-shadow: 0 2px 12px rgba(0,0,0,0.08); |
| | max-width: 360px; |
| } | | } |
| @-moz-keyframes credits {
| | |
| 0% { | | .infobox-modern h3 { |
| margin-left: 0px;
| | margin-top: 0; |
| }
| | font-size: 18px; |
| 100% {
| | border-bottom: 1px solid #eee; |
| margin-left: -4000px;
| | padding-bottom: 8px; |
| }
| |
|
| |
| } | | } |
| @-o-keyframes credits {
| | |
| 0% { | | .infobox-row { |
| margin-left: 0px;
| | display: flex; |
| }
| | justify-content: space-between; |
| 100% {
| | padding: 6px 0; |
| margin-left: -4000px;
| | border-bottom: 1px solid #f0f0f0; |
| }
| |
|
| |
| } | | } |