MediaWiki:Common.css: mudanças entre as edições
De Literacia da Memória
Criou página com '→* o código CSS colocado aqui será aplicado a todos os temas: #mw-page-header-links {display:none};' |
Sem resumo de edição |
||
| (50 revisões intermediárias pelo mesmo usuário 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 */ | ||
#mw-page-header-links {display:none}; | #mw-page-header-links, #site-tools {display:none} | ||
.infobox-bio { | |||
float: right; | |||
width: 300px; | |||
margin: 0.5em 0 1em 1.5em; | |||
background: #f8f9fa; | |||
border: 1px solid #a2a9b1; | |||
font-size: 90%; | |||
border-collapse: collapse; | |||
} | |||
.infobox-bio th, | |||
.infobox-bio td { | |||
padding: 0.3em; | |||
vertical-align: top; | |||
border: 0; | |||
} | |||
.infobox-bio-img img { | |||
width: 250px; | |||
height: auto; | |||
max-width: 100%; | |||
} | |||
@media (max-width: 720px) { | |||
.infobox-bio { | |||
width: 220px; | |||
margin: 0.5em 0 1em 1em; | |||
font-size: 85%; | |||
} | |||
.infobox-bio-img img { | |||
width: 180px; | |||
} | |||
} | |||
.caixa-ia { | |||
width: 100%; | |||
border: 1px solid #a2a9b1; | |||
background-color: #f8f9fa; | |||
padding: 0.6em; | |||
margin-top: 1em !important; /* espaço acima */ | |||
} | |||
.caixa-erro-final { | |||
clear: both; | |||
display: table; | |||
width: 100%; | |||
box-sizing: border-box; | |||
margin: 8px 0 0 0; | |||
border: 1px solid #a2a9b1; | |||
border-left: 6px solid #f28500; | |||
background-color: #f8f9fa; | |||
border-collapse: collapse; | |||
font-size: 95%; | |||
} | |||
.caixa-erro-final td { | |||
padding: 8px 12px; | |||
vertical-align: middle; | |||
border: 0; | |||
} | |||
.caixa-erro-final td:first-child { | |||
width: 40px; | |||
text-align: center; | |||
font-size: 1.2em; | |||
} | |||
.caixa-erro-final b, | |||
.caixa-erro-final strong { | |||
font-weight: 600; | |||
} | |||
.caixa-erro-final a { | |||
color: #0645ad; | |||
text-decoration: none; | |||
} | |||
.caixa-erro-final a:hover { | |||
text-decoration: underline; | |||
} | |||
/* ================================================== */ | |||
/* LAYOUT DOS CARDS */ | |||
/* ================================================== */ | |||
.responsive-cards { | |||
clear: both; | |||
width: 100%; | |||
max-width: 100%; | |||
margin: 0 0 8px 0; | |||
border-collapse: collapse; | |||
table-layout: fixed; | |||
box-sizing: border-box; | |||
} | |||
.responsive-cards > tbody > tr { | |||
display: flex; | |||
width: 100%; | |||
max-width: 100%; | |||
gap: 10px; | |||
align-items: stretch; | |||
box-sizing: border-box; | |||
} | |||
.responsive-cards .card-cell { | |||
flex: 1 1 0; | |||
min-width: 0; | |||
margin: 0; | |||
padding: 0; | |||
vertical-align: top; | |||
box-sizing: border-box; | |||
} | |||
.card-gray { | |||
width: 100% !important; | |||
max-width: 100%; | |||
min-height: 100%; | |||
border: 1px solid #c8ccd1; | |||
background: #f8f9fa; | |||
border-collapse: collapse; | |||
box-sizing: border-box; | |||
} | |||
/* ================================================== */ | |||
/* BLOCO DE LARGURA TOTAL */ | |||
/* ================================================== */ | |||
.full-width { | |||
width: 100%; | |||
margin: 0 0 8px 0; | |||
border-collapse: collapse; | |||
} | |||
/* ================================================== */ | |||
/* ESTILO DOS CARDS */ | |||
/* ================================================== */ | |||
.card-gray { | |||
width: 100% !important; | |||
min-height: 100%; | |||
background: #ffffff; | |||
/* borda com melhor definição */ | |||
border: 1px solid #c8ccd1; | |||
/* cantos mais visíveis */ | |||
border-radius: 8px; | |||
/* sombra ligeiramente mais presente */ | |||
box-shadow: | |||
0 2px 6px rgba(0, 0, 0, 0.08), | |||
0 0 0 1px rgba(0, 0, 0, 0.03); | |||
/* necessário para o radius funcionar bem */ | |||
border-collapse: separate; | |||
border-spacing: 0; | |||
box-sizing: border-box; | |||
overflow: hidden; | |||
transition: box-shadow 0.2s ease, transform 0.2s ease; | |||
} | |||
.card-gray:hover { | |||
box-shadow: | |||
0 4px 10px rgba(0, 0, 0, 0.10), | |||
0 0 0 1px rgba(0, 0, 0, 0.04); | |||
transform: translateY(-2px); | |||
} | |||
.card-gray th, | |||
.card-gray td { | |||
box-sizing: border-box; | |||
width: 100%; | |||
} | |||
.card-gray th { | |||
text-align: left; | |||
font-size: 16px; | |||
background: #f8f9fa; | |||
padding: 12px; | |||
/* linha mais consistente com o contorno */ | |||
border-bottom: 1px solid #dcdfe3; | |||
} | |||
.card-gray td { | |||
padding: 12px; | |||
} | |||
/* ================================================== */ | |||
/* MOBILE */ | |||
/* ================================================== */ | |||
@media screen and (max-width: 768px) { | |||
.responsive-cards > tbody > tr { | |||
display: block; | |||
width: 100%; | |||
} | |||
.responsive-cards .card-cell { | |||
display: block; | |||
width: 100% !important; | |||
margin-bottom: 8px; | |||
padding: 0; | |||
} | |||
.card-gray { | |||
width: 100% !important; | |||
max-width: 100%; | |||
} | |||
} | |||
@media screen and (min-width: 769px) { | |||
.caixa-erro-final, | |||
.full-width { | |||
max-width: 100%; | |||
box-sizing: border-box; | |||
overflow: hidden; | |||
} | |||
} | |||
/* REMOVE ESPAÇO NO TOPO DA PÁGINA */ | |||
.mw-body-content > table:first-child, | |||
.mw-parser-output > table:first-child { | |||
margin-top: 0 !important; | |||
} | |||
.mw-parser-output { | |||
margin-top: 0 !important; | |||
} | |||
#content { | |||
padding-top: 0 !important; | |||
} | |||
/* reduz espaço da linha acima (hr do MediaWiki) */ | |||
.mw-parser-output hr { | |||
margin-top: 4px; | |||
margin-bottom: 4px; | |||
} | |||
/* controla espaço antes da primeira linha de cards */ | |||
.mw-parser-output table.responsive-cards:first-of-type { | |||
margin-top: 4px !important; | |||
} | |||
.ficha-tecnica { | |||
background: #eef5ff; | |||
border: 1px solid #8bb7e0; | |||
border-left: 6px solid #2a6ebb; | |||
border-radius: 8px; | |||
padding: 10px; | |||
} | |||
.ficha-tecnica-title { | |||
font-size: 130%; | |||
color: #1f4e79; | |||
padding: 10px; | |||
} | |||
@media screen and (max-width: 768px) { | |||
.ods-grid-inline { | |||
display: block !important; | |||
} | |||
.ods-grid-inline { | |||
display: flex; | |||
flex-direction: row; | |||
flex-wrap: nowrap; | |||
gap: 16px; | |||
width: 100%; | |||
margin-top: 16px; | |||
} | |||
.ods-card-inline { | |||
width: 25%; | |||
aspect-ratio: 1 / 1; | |||
background: #f5f5f5; | |||
border-radius: 10px; | |||
padding: 16px; | |||
box-sizing: border-box; | |||
display: flex; | |||
flex-direction: column; | |||
justify-content: space-between; | |||
} | |||
.ods-card-title { | |||
font-weight: bold; | |||
font-size: 115%; | |||
margin-bottom: 8px; | |||
} | |||
.ods-link { | |||
margin-top: 12px; | |||
font-weight: bold; | |||
font-size: 90%; | |||
} | |||
.ods-4 { border-top: 6px solid #c5192d; } | |||
.ods-10 { border-top: 6px solid #dd1367; } | |||
.ods-16 { border-top: 6px solid #00689d; } | |||
.ods-17 { border-top: 6px solid #19486a; } | |||
@media screen and (max-width: 768px) { | |||
.ods-grid-inline { | |||
display: block; | |||
} | |||
.ods-card-inline { | |||
width: 100%; | |||
aspect-ratio: auto; | |||
margin-bottom: 14px; | |||
} | |||
} | |||
.mw-parser-output img { | |||
max-width: 100%; | |||
height: auto; | |||
} | |||
.bloco-responsivo-memoria { | |||
display: flex; | |||
gap: 20px; | |||
align-items: flex-start; | |||
} | |||
.bloco-responsivo-memoria .imagem-memoria { | |||
width: 35%; | |||
min-width: 260px; | |||
} | |||
.bloco-responsivo-memoria .texto-memoria { | |||
width: 65%; | |||
} | |||
.bloco-responsivo-memoria img { | |||
max-width: 100%; | |||
height: auto; | |||
} | |||
@media (max-width: 768px) { | |||
.bloco-responsivo-memoria { | |||
display: block; | |||
} | |||
.bloco-responsivo-memoria .imagem-memoria, | |||
.bloco-responsivo-memoria .texto-memoria { | |||
width: 100%; | |||
} | |||
.bloco-responsivo-memoria .imagem-memoria { | |||
text-align: center; | |||
margin-bottom: 15px; | |||
} | |||
.material-pedagogico-card { | |||
transition: transform 0.25s ease, box-shadow 0.25s ease; | |||
will-change: transform; | |||
} | |||
.material-pedagogico-card:hover { | |||
transform: translateY(-6px); | |||
box-shadow: 0 10px 22px rgba(247,37,133,0.3); | |||
} | |||
} | |||
Edição atual tal como às 17h21min de 1 de maio de 2026
/** o código CSS colocado aqui será aplicado a todos os temas */
#mw-page-header-links, #site-tools {display:none}
.infobox-bio {
float: right;
width: 300px;
margin: 0.5em 0 1em 1.5em;
background: #f8f9fa;
border: 1px solid #a2a9b1;
font-size: 90%;
border-collapse: collapse;
}
.infobox-bio th,
.infobox-bio td {
padding: 0.3em;
vertical-align: top;
border: 0;
}
.infobox-bio-img img {
width: 250px;
height: auto;
max-width: 100%;
}
@media (max-width: 720px) {
.infobox-bio {
width: 220px;
margin: 0.5em 0 1em 1em;
font-size: 85%;
}
.infobox-bio-img img {
width: 180px;
}
}
.caixa-ia {
width: 100%;
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
padding: 0.6em;
margin-top: 1em !important; /* espaço acima */
}
.caixa-erro-final {
clear: both;
display: table;
width: 100%;
box-sizing: border-box;
margin: 8px 0 0 0;
border: 1px solid #a2a9b1;
border-left: 6px solid #f28500;
background-color: #f8f9fa;
border-collapse: collapse;
font-size: 95%;
}
.caixa-erro-final td {
padding: 8px 12px;
vertical-align: middle;
border: 0;
}
.caixa-erro-final td:first-child {
width: 40px;
text-align: center;
font-size: 1.2em;
}
.caixa-erro-final b,
.caixa-erro-final strong {
font-weight: 600;
}
.caixa-erro-final a {
color: #0645ad;
text-decoration: none;
}
.caixa-erro-final a:hover {
text-decoration: underline;
}
/* ================================================== */
/* LAYOUT DOS CARDS */
/* ================================================== */
.responsive-cards {
clear: both;
width: 100%;
max-width: 100%;
margin: 0 0 8px 0;
border-collapse: collapse;
table-layout: fixed;
box-sizing: border-box;
}
.responsive-cards > tbody > tr {
display: flex;
width: 100%;
max-width: 100%;
gap: 10px;
align-items: stretch;
box-sizing: border-box;
}
.responsive-cards .card-cell {
flex: 1 1 0;
min-width: 0;
margin: 0;
padding: 0;
vertical-align: top;
box-sizing: border-box;
}
.card-gray {
width: 100% !important;
max-width: 100%;
min-height: 100%;
border: 1px solid #c8ccd1;
background: #f8f9fa;
border-collapse: collapse;
box-sizing: border-box;
}
/* ================================================== */
/* BLOCO DE LARGURA TOTAL */
/* ================================================== */
.full-width {
width: 100%;
margin: 0 0 8px 0;
border-collapse: collapse;
}
/* ================================================== */
/* ESTILO DOS CARDS */
/* ================================================== */
.card-gray {
width: 100% !important;
min-height: 100%;
background: #ffffff;
/* borda com melhor definição */
border: 1px solid #c8ccd1;
/* cantos mais visíveis */
border-radius: 8px;
/* sombra ligeiramente mais presente */
box-shadow:
0 2px 6px rgba(0, 0, 0, 0.08),
0 0 0 1px rgba(0, 0, 0, 0.03);
/* necessário para o radius funcionar bem */
border-collapse: separate;
border-spacing: 0;
box-sizing: border-box;
overflow: hidden;
transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card-gray:hover {
box-shadow:
0 4px 10px rgba(0, 0, 0, 0.10),
0 0 0 1px rgba(0, 0, 0, 0.04);
transform: translateY(-2px);
}
.card-gray th,
.card-gray td {
box-sizing: border-box;
width: 100%;
}
.card-gray th {
text-align: left;
font-size: 16px;
background: #f8f9fa;
padding: 12px;
/* linha mais consistente com o contorno */
border-bottom: 1px solid #dcdfe3;
}
.card-gray td {
padding: 12px;
}
/* ================================================== */
/* MOBILE */
/* ================================================== */
@media screen and (max-width: 768px) {
.responsive-cards > tbody > tr {
display: block;
width: 100%;
}
.responsive-cards .card-cell {
display: block;
width: 100% !important;
margin-bottom: 8px;
padding: 0;
}
.card-gray {
width: 100% !important;
max-width: 100%;
}
}
@media screen and (min-width: 769px) {
.caixa-erro-final,
.full-width {
max-width: 100%;
box-sizing: border-box;
overflow: hidden;
}
}
/* REMOVE ESPAÇO NO TOPO DA PÁGINA */
.mw-body-content > table:first-child,
.mw-parser-output > table:first-child {
margin-top: 0 !important;
}
.mw-parser-output {
margin-top: 0 !important;
}
#content {
padding-top: 0 !important;
}
/* reduz espaço da linha acima (hr do MediaWiki) */
.mw-parser-output hr {
margin-top: 4px;
margin-bottom: 4px;
}
/* controla espaço antes da primeira linha de cards */
.mw-parser-output table.responsive-cards:first-of-type {
margin-top: 4px !important;
}
.ficha-tecnica {
background: #eef5ff;
border: 1px solid #8bb7e0;
border-left: 6px solid #2a6ebb;
border-radius: 8px;
padding: 10px;
}
.ficha-tecnica-title {
font-size: 130%;
color: #1f4e79;
padding: 10px;
}
@media screen and (max-width: 768px) {
.ods-grid-inline {
display: block !important;
}
.ods-grid-inline {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
gap: 16px;
width: 100%;
margin-top: 16px;
}
.ods-card-inline {
width: 25%;
aspect-ratio: 1 / 1;
background: #f5f5f5;
border-radius: 10px;
padding: 16px;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.ods-card-title {
font-weight: bold;
font-size: 115%;
margin-bottom: 8px;
}
.ods-link {
margin-top: 12px;
font-weight: bold;
font-size: 90%;
}
.ods-4 { border-top: 6px solid #c5192d; }
.ods-10 { border-top: 6px solid #dd1367; }
.ods-16 { border-top: 6px solid #00689d; }
.ods-17 { border-top: 6px solid #19486a; }
@media screen and (max-width: 768px) {
.ods-grid-inline {
display: block;
}
.ods-card-inline {
width: 100%;
aspect-ratio: auto;
margin-bottom: 14px;
}
}
.mw-parser-output img {
max-width: 100%;
height: auto;
}
.bloco-responsivo-memoria {
display: flex;
gap: 20px;
align-items: flex-start;
}
.bloco-responsivo-memoria .imagem-memoria {
width: 35%;
min-width: 260px;
}
.bloco-responsivo-memoria .texto-memoria {
width: 65%;
}
.bloco-responsivo-memoria img {
max-width: 100%;
height: auto;
}
@media (max-width: 768px) {
.bloco-responsivo-memoria {
display: block;
}
.bloco-responsivo-memoria .imagem-memoria,
.bloco-responsivo-memoria .texto-memoria {
width: 100%;
}
.bloco-responsivo-memoria .imagem-memoria {
text-align: center;
margin-bottom: 15px;
}
.material-pedagogico-card {
transition: transform 0.25s ease, box-shadow 0.25s ease;
will-change: transform;
}
.material-pedagogico-card:hover {
transform: translateY(-6px);
box-shadow: 0 10px 22px rgba(247,37,133,0.3);
}
}