Diferencia entre revisiones de «Plantilla:Portada/styles.css»
De MundoConan Wiki
Más acciones
Configuración inicial de MundoConan Wiki |
Plantillas y diseño de MundoConan Wiki |
||
| Línea 4: | Línea 4: | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
gap: | gap: 28px; | ||
margin-bottom: 18px; | |||
padding: 30px 34px; | |||
border-radius: | border-radius: 20px; | ||
color: # | color: #ffffff; | ||
background: linear-gradient(135deg, #13224a 0%, #0b1530 | background: | ||
radial-gradient(700px 300px at 90% -20%, rgba(37, 87, 194, 0.9) 0%, transparent 60%), | |||
linear-gradient(135deg, #13224a 0%, #0b1530 70%); | |||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
.mc-hero__logo img { width: | .mc-hero__logo img { | ||
.mc-hero__txt h2 { margin: 0; padding: 0; border: 0; color: # | width: 130px; | ||
.mc-hero__txt h2 span { color: #f4c542; } | height: 130px; | ||
.mc-hero__txt | border-radius: 50%; | ||
.mc-hero__txt a { color: # | box-shadow: 0 10px 34px rgba(0, 0, 0, 0.5); | ||
.mc-stats { display: flex; flex-wrap: wrap; gap: | } | ||
.mc- | .mc-hero__kicker { | ||
display: inline-block; | |||
margin-bottom: 8px; | |||
padding: 3px 12px; | |||
border: 1px solid rgba(244, 197, 66, 0.4); | |||
border-radius: 999px; | |||
color: #f4c542; | |||
font-size: 0.75em; | |||
font-weight: 700; | |||
letter-spacing: 0.08em; | |||
text-transform: uppercase; | |||
} | |||
.mc-hero__txt h2 { | |||
margin: 0 0 6px; | |||
padding: 0; | |||
border: 0; | |||
color: #ffffff; | |||
font-size: 2.1em; | |||
font-weight: 800; | |||
line-height: 1.15; | |||
} | |||
.mc-hero__txt h2 span { | |||
color: #f4c542; | |||
} | |||
.mc-hero__txt { | |||
color: #c3cde6; | |||
font-size: 1.04em; | |||
} | |||
.mc-hero__txt a { | |||
color: #ffffff; | |||
} | |||
.mc-stats { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 6px 22px; | |||
margin-top: 14px; | |||
font-size: 0.95em; | |||
} | |||
.mc-stats b { | |||
color: #ffffff; | |||
font-size: 1.2em; | |||
} | |||
.mc-chips { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 8px; | |||
margin-top: 16px; | |||
} | |||
.mc-chips span a { | |||
display: inline-block; | |||
padding: 6px 14px; | |||
border: 1px solid rgba(255, 255, 255, 0.18); | |||
border-radius: 999px; | |||
background-color: rgba(255, 255, 255, 0.07); | |||
color: #ffffff; | |||
font-size: 0.9em; | |||
font-weight: 600; | |||
text-decoration: none; | |||
} | |||
.mc-chips span a:hover { | |||
background-color: rgba(255, 255, 255, 0.15); | |||
text-decoration: none; | |||
} | |||
.mc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax( | /* Rejillas y cajas */ | ||
.mc-grid { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |||
gap: 18px; | |||
margin-bottom: 18px; | |||
} | |||
.mc-grid--2-1 { | |||
grid-template-columns: 2fr 1fr; | |||
} | |||
.mc-box { | .mc-box { | ||
border: 1px solid rgba(127,140,170,.28); | margin-bottom: 18px; | ||
padding: 18px 22px; | |||
border: 1px solid rgba(127, 140, 170, 0.28); | |||
border-radius: 16px; | border-radius: 16px; | ||
background-color: rgba(127, 140, 170, 0.05); | |||
background: rgba(127,140,170,. | min-width: 0; | ||
} | |||
.mc-grid .mc-box { | |||
margin-bottom: 0; | |||
} | } | ||
.mc-box h3 { | .mc-box h3 { | ||
| Línea 32: | Línea 110: | ||
font-size: 1.15em; | font-size: 1.15em; | ||
font-weight: 700; | font-weight: 700; | ||
} | } | ||
.mc-box | .mc-box--oro { border-top: 4px solid #f4c542; } | ||
.mc-box--rojo | .mc-box--rojo { border-top: 4px solid #e5383b; } | ||
.mc-box-- | .mc-box--azul { border-top: 4px solid #2557c2; } | ||
.mc-box p:last-child, .mc-box ul:last-child { margin-bottom: 0; } | .mc-box p:last-child, | ||
.mc-box ul:last-child { | |||
margin-bottom: 0; | |||
} | |||
.mc-box__pie { | |||
margin-top: 10px; | |||
font-size: 0.88em; | |||
opacity: 0.8; | |||
} | |||
.mc-tiles { display: grid; grid-template-columns: repeat(auto- | /* Accesos rápidos */ | ||
.mc-tiles { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); | |||
gap: 10px; | |||
margin-bottom: 18px; | |||
} | |||
.mc-tile a { | .mc-tile a { | ||
display: block; | display: block; | ||
padding: | height: 100%; | ||
padding: 14px 16px; | |||
border: 1px solid rgba(127, 140, 170, 0.28); | |||
border-radius: 14px; | |||
font-weight: 700; | |||
text-decoration: none; | |||
transition: transform 0.15s ease, border-color 0.15s ease; | |||
} | |||
.mc-tile a:hover { | |||
border-color: #2557c2; | |||
background-color: rgba(37, 87, 194, 0.07); | |||
text-decoration: none; | |||
transform: translateY(-2px); | |||
} | |||
.mc-tile__ico { | |||
display: block; | |||
margin-bottom: 4px; | |||
font-size: 1.5em; | |||
} | |||
.mc-tile small { | |||
display: block; | |||
font-weight: 400; | |||
font-size: 0.85em; | |||
opacity: 0.75; | |||
} | |||
/* Artículo destacado */ | |||
.mc-dest { | |||
display: flex; | |||
gap: 18px; | |||
align-items: flex-start; | |||
} | |||
.mc-dest__img img { | |||
border-radius: 12px; | border-radius: 12px; | ||
border: | } | ||
.mc-dest__txt { | |||
flex: 1; | |||
min-width: 0; | |||
} | |||
.mc-dest__titulo { | |||
margin-bottom: 4px; | |||
font-size: 1.35em; | |||
font-weight: 800; | |||
} | |||
/* Personaje del día */ | |||
.mc-pdd { | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
text-align: center; | |||
gap: 10px; | |||
} | |||
.mc-pdd__img { | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
width: 150px; | |||
height: 150px; | |||
border-radius: 50%; | |||
overflow: hidden; | |||
background-color: rgba(37, 87, 194, 0.1); | |||
box-shadow: 0 0 0 4px rgba(244, 197, 66, 0.5); | |||
} | |||
.mc-pdd__img img { | |||
height: auto; | |||
max-width: 100%; | |||
} | |||
.mc-pdd__sin { | |||
font-size: 4em; | |||
} | |||
.mc-pdd__nombre { | |||
font-size: 1.25em; | |||
font-weight: 800; | |||
} | |||
.mc-pdd__desc { | |||
font-size: 0.95em; | |||
opacity: 0.85; | |||
} | |||
.mc-pdd__mas { | |||
margin-top: 6px; | |||
font-weight: 600; | font-weight: 600; | ||
} | } | ||
.mc- | /* Foro (lo rellena MediaWiki:Common.js) */ | ||
.mc-foro ul { | |||
margin: | margin: 0; | ||
padding: 8px | padding: 0; | ||
border- | list-style: none; | ||
} | |||
.mc-foro li { | |||
margin: 0; | |||
padding: 8px 0; | |||
border-top: 1px solid rgba(127, 140, 170, 0.2); | |||
} | |||
.mc-foro li:first-child { | |||
border-top: 0; | |||
} | |||
.mc-foro__tema { | |||
font-weight: 600; | font-weight: 600; | ||
} | } | ||
.mc- | .mc-foro__meta { | ||
.mc- | display: block; | ||
font-size: 0.85em; | |||
opacity: 0.7; | |||
} | |||
/* Pasos */ | |||
.mc-pasos { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); | |||
gap: 14px; | |||
} | |||
.mc-paso { | |||
position: relative; | |||
padding: 14px 16px 14px 56px; | |||
border-radius: 12px; | |||
background-color: rgba(37, 87, 194, 0.06); | |||
} | |||
.mc-paso span { | |||
position: absolute; | |||
left: 14px; | |||
top: 14px; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
width: 30px; | |||
height: 30px; | |||
border-radius: 50%; | |||
background-color: #2557c2; | |||
color: #ffffff; | |||
font-weight: 800; | |||
} | |||
@media (max-width: | @media screen and (max-width: 760px) { | ||
.mc-hero { flex-direction: column; text-align: center; padding: | .mc-hero { | ||
.mc-hero__logo img { width: | flex-direction: column; | ||
.mc-stats { justify-content: center; } | text-align: center; | ||
padding: 26px 18px; | |||
} | |||
.mc-hero__logo img { | |||
width: 104px; | |||
height: 104px; | |||
} | |||
.mc-stats, | |||
.mc-chips { | |||
justify-content: center; | |||
} | |||
.mc-grid--2-1 { | |||
grid-template-columns: 1fr; | |||
} | |||
.mc-dest { | |||
flex-direction: column; | |||
} | |||
} | } | ||
Revisión del 03:24 15 oct 2026
/* Página principal de MundoConan Wiki */
.mc-hero {
position: relative;
display: flex;
align-items: center;
gap: 28px;
margin-bottom: 18px;
padding: 30px 34px;
border-radius: 20px;
color: #ffffff;
background:
radial-gradient(700px 300px at 90% -20%, rgba(37, 87, 194, 0.9) 0%, transparent 60%),
linear-gradient(135deg, #13224a 0%, #0b1530 70%);
overflow: hidden;
}
.mc-hero__logo img {
width: 130px;
height: 130px;
border-radius: 50%;
box-shadow: 0 10px 34px rgba(0, 0, 0, 0.5);
}
.mc-hero__kicker {
display: inline-block;
margin-bottom: 8px;
padding: 3px 12px;
border: 1px solid rgba(244, 197, 66, 0.4);
border-radius: 999px;
color: #f4c542;
font-size: 0.75em;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.mc-hero__txt h2 {
margin: 0 0 6px;
padding: 0;
border: 0;
color: #ffffff;
font-size: 2.1em;
font-weight: 800;
line-height: 1.15;
}
.mc-hero__txt h2 span {
color: #f4c542;
}
.mc-hero__txt {
color: #c3cde6;
font-size: 1.04em;
}
.mc-hero__txt a {
color: #ffffff;
}
.mc-stats {
display: flex;
flex-wrap: wrap;
gap: 6px 22px;
margin-top: 14px;
font-size: 0.95em;
}
.mc-stats b {
color: #ffffff;
font-size: 1.2em;
}
.mc-chips {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 16px;
}
.mc-chips span a {
display: inline-block;
padding: 6px 14px;
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 999px;
background-color: rgba(255, 255, 255, 0.07);
color: #ffffff;
font-size: 0.9em;
font-weight: 600;
text-decoration: none;
}
.mc-chips span a:hover {
background-color: rgba(255, 255, 255, 0.15);
text-decoration: none;
}
/* Rejillas y cajas */
.mc-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 18px;
margin-bottom: 18px;
}
.mc-grid--2-1 {
grid-template-columns: 2fr 1fr;
}
.mc-box {
margin-bottom: 18px;
padding: 18px 22px;
border: 1px solid rgba(127, 140, 170, 0.28);
border-radius: 16px;
background-color: rgba(127, 140, 170, 0.05);
min-width: 0;
}
.mc-grid .mc-box {
margin-bottom: 0;
}
.mc-box h3 {
margin: 0 0 10px;
padding: 0;
font-size: 1.15em;
font-weight: 700;
}
.mc-box--oro { border-top: 4px solid #f4c542; }
.mc-box--rojo { border-top: 4px solid #e5383b; }
.mc-box--azul { border-top: 4px solid #2557c2; }
.mc-box p:last-child,
.mc-box ul:last-child {
margin-bottom: 0;
}
.mc-box__pie {
margin-top: 10px;
font-size: 0.88em;
opacity: 0.8;
}
/* Accesos rápidos */
.mc-tiles {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
gap: 10px;
margin-bottom: 18px;
}
.mc-tile a {
display: block;
height: 100%;
padding: 14px 16px;
border: 1px solid rgba(127, 140, 170, 0.28);
border-radius: 14px;
font-weight: 700;
text-decoration: none;
transition: transform 0.15s ease, border-color 0.15s ease;
}
.mc-tile a:hover {
border-color: #2557c2;
background-color: rgba(37, 87, 194, 0.07);
text-decoration: none;
transform: translateY(-2px);
}
.mc-tile__ico {
display: block;
margin-bottom: 4px;
font-size: 1.5em;
}
.mc-tile small {
display: block;
font-weight: 400;
font-size: 0.85em;
opacity: 0.75;
}
/* Artículo destacado */
.mc-dest {
display: flex;
gap: 18px;
align-items: flex-start;
}
.mc-dest__img img {
border-radius: 12px;
}
.mc-dest__txt {
flex: 1;
min-width: 0;
}
.mc-dest__titulo {
margin-bottom: 4px;
font-size: 1.35em;
font-weight: 800;
}
/* Personaje del día */
.mc-pdd {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
gap: 10px;
}
.mc-pdd__img {
display: flex;
align-items: center;
justify-content: center;
width: 150px;
height: 150px;
border-radius: 50%;
overflow: hidden;
background-color: rgba(37, 87, 194, 0.1);
box-shadow: 0 0 0 4px rgba(244, 197, 66, 0.5);
}
.mc-pdd__img img {
height: auto;
max-width: 100%;
}
.mc-pdd__sin {
font-size: 4em;
}
.mc-pdd__nombre {
font-size: 1.25em;
font-weight: 800;
}
.mc-pdd__desc {
font-size: 0.95em;
opacity: 0.85;
}
.mc-pdd__mas {
margin-top: 6px;
font-weight: 600;
}
/* Foro (lo rellena MediaWiki:Common.js) */
.mc-foro ul {
margin: 0;
padding: 0;
list-style: none;
}
.mc-foro li {
margin: 0;
padding: 8px 0;
border-top: 1px solid rgba(127, 140, 170, 0.2);
}
.mc-foro li:first-child {
border-top: 0;
}
.mc-foro__tema {
font-weight: 600;
}
.mc-foro__meta {
display: block;
font-size: 0.85em;
opacity: 0.7;
}
/* Pasos */
.mc-pasos {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 14px;
}
.mc-paso {
position: relative;
padding: 14px 16px 14px 56px;
border-radius: 12px;
background-color: rgba(37, 87, 194, 0.06);
}
.mc-paso span {
position: absolute;
left: 14px;
top: 14px;
display: flex;
align-items: center;
justify-content: center;
width: 30px;
height: 30px;
border-radius: 50%;
background-color: #2557c2;
color: #ffffff;
font-weight: 800;
}
@media screen and (max-width: 760px) {
.mc-hero {
flex-direction: column;
text-align: center;
padding: 26px 18px;
}
.mc-hero__logo img {
width: 104px;
height: 104px;
}
.mc-stats,
.mc-chips {
justify-content: center;
}
.mc-grid--2-1 {
grid-template-columns: 1fr;
}
.mc-dest {
flex-direction: column;
}
}