MediaWiki:Common.css: mudanças entre as edições
De Literacia da Memória
Sem resumo de edição |
Sem resumo de edição |
||
| Linha 81: | Linha 81: | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
/* ================================================== */ | |||
/* LAYOUT DOS CARDS */ | |||
/* ================================================== */ | |||
.responsive-cards { | .responsive-cards { | ||
width: 100%; | width: 100%; | ||
margin: 0 0 8px 0; | |||
border- | border-collapse: collapse; | ||
} | } | ||
.responsive-cards > tbody > tr { | .responsive-cards > tbody > tr { | ||
display: flex; | display: flex; | ||
gap: | width: 100%; | ||
gap: 10px; | |||
align-items: stretch; | align-items: stretch; | ||
} | } | ||
.responsive-cards .card-cell { | .responsive-cards .card-cell { | ||
flex: 1; | |||
margin: 0; | |||
padding: 0; | |||
vertical-align: top; | vertical-align: top; | ||
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 { | .card-gray { | ||
| Linha 117: | Linha 138: | ||
text-align: left; | text-align: left; | ||
font-size: 18px; | font-size: 18px; | ||
padding: | padding: 10px; | ||
background: #eaecf0; | background: #eaecf0; | ||
border-bottom: 1px solid #c8ccd1; | border-bottom: 1px solid #c8ccd1; | ||
| Linha 123: | Linha 144: | ||
.card-gray td { | .card-gray td { | ||
padding: | padding: 12px; | ||
} | } | ||
/* | /* ================================================== */ | ||
/* MOBILE */ | |||
/* ================================================== */ | |||
@media screen and (max-width: 768px) { | @media screen and (max-width: 768px) { | ||
.responsive-cards > tbody > tr { | .responsive-cards > tbody > tr { | ||
| Linha 141: | Linha 161: | ||
display: block; | display: block; | ||
width: 100% !important; | width: 100% !important; | ||
margin-bottom: | margin-bottom: 8px; | ||
padding: 0; | padding: 0; | ||
} | } | ||
| Linha 149: | Linha 168: | ||
width: 100% !important; | width: 100% !important; | ||
max-width: 100%; | max-width: 100%; | ||
} | } | ||
} | } | ||
} | } | ||
Edição das 16h55min de 27 de abril 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 {
width: 100%;
margin: 1.5em 0;
border: 1px solid #a2a9b1;
border-left: 6px solid #f28500; /* destaque lateral */
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 {
width: 100%;
margin: 0 0 8px 0;
border-collapse: collapse;
}
.responsive-cards > tbody > tr {
display: flex;
width: 100%;
gap: 10px;
align-items: stretch;
}
.responsive-cards .card-cell {
flex: 1;
margin: 0;
padding: 0;
vertical-align: top;
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%;
border: 1px solid #c8ccd1;
background: #f8f9fa;
border-collapse: collapse;
box-sizing: border-box;
}
.card-gray th,
.card-gray td {
box-sizing: border-box;
width: 100%;
}
.card-gray th {
text-align: left;
font-size: 18px;
padding: 10px;
background: #eaecf0;
border-bottom: 1px solid #c8ccd1;
}
.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%;
}
}
}