MediaWiki:Common.css
De Amereida
Revisión del 18:11 27 jun 2025 de Fauve.bellenger (discusión | contribuciones)
/* === LAYOUT GENERAL === */
.page-container {
display: flex;
align-items: flex-start;
gap: 2rem;
flex-wrap: wrap;
}
.main-content {
flex: 1;
max-width: 800px;
margin: 0 auto;
}
/* Permite subdivisiones dentro de .main-content */
.columns {
columns: 250px;
column-gap: 20px;
break-inside: avoid;
}
.columns-sm {
columns: 110px;
column-gap: 20px;
break-inside: avoid;
}
/* === LATERAL DE LOGOS === */
.side-content {
position: sticky;
top: 20px;
width: 140px;
flex-shrink: 0;
}
.logos-flotantes {
display: flex;
flex-direction: column;
gap: 12px;
}
.logo-container {
background: #f7f7f7;
padding: 0.5em;
border-radius: 4px;
text-align: center;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.logo {
max-width: 100%;
height: auto;
}
/* === FICHAS Y FLOTANTES INTERNOS === */
div.thumb-text {
float: right;
max-width: 320px;
background-color: #EFEFE1;
font-size: 80%;
margin: 0 0 2em 2em;
padding: 0 1em 2em 1em;
line-height: 120%;
break-inside: avoid;
}
div.thumb-text .key,
div.thumb-text .value {
display: table-cell;
padding: .3ex 1ex;
vertical-align: top;
}
div.thumb-text .img img {
border-radius: 3px;
}
div.thumb-text .title {
font-family: Alegreya;
font-size: 110%;
text-align: center;
padding: 1em 0;
}
/* === RESPONSIVE === */
@media (max-width: 768px) {
.page-container {
flex-direction: column;
}
.main-content {
width: 100%;
max-width: 100%;
padding: 1em;
box-sizing: border-box;
}
.side-content {
position: relative;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
background-color: #f9f9f9;
padding: 1em 0;
}
div.thumb-text {
float: none !important;
max-width: 100% !important;
margin: 0 0 2em 0 !important;
}
.columns,
.columns-sm {
columns: auto;
column-count: 1;
}
}
/* === TRANSICIONES === */
.side-content,
.logos-flotantes,
.logo {
transition: all 0.3s ease;
}