Jump to content
Menú alternativo
Alternar el menú de preferencias
Menú alternativo personal
No has accedido
Tu dirección IP será visible si haces alguna edición

Diferencia entre revisiones de «Plantilla:Portada/styles.css»

De MundoConan Wiki
Configuración inicial de MundoConan Wiki
 
Correcciones de diseño
 
(No se muestra una edición intermedia del mismo usuario)
Línea 4: Línea 4:
display: flex;
display: flex;
align-items: center;
align-items: center;
gap: 24px;
gap: 28px;
padding: 28px 32px;
margin-bottom: 18px;
margin-bottom: 20px;
padding: 30px 34px;
border-radius: 18px;
border-radius: 20px;
color: #fff;
color: #ffffff;
background: linear-gradient(135deg, #13224a 0%, #0b1530 65%);
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: 120px; height: 120px; border-radius: 50%; box-shadow: 0 8px 30px rgba(0,0,0,.45); }
.mc-hero__logo img {
.mc-hero__txt h2 { margin: 0; padding: 0; border: 0; color: #fff; font-size: 2em; font-weight: 800; line-height: 1.15; }
width: 130px;
.mc-hero__txt h2 span { color: #f4c542; }
height: 130px;
.mc-hero__txt p { margin: 8px 0 0; color: #c3cde6; font-size: 1.05em; }
border-radius: 50%;
.mc-hero__txt a { color: #f4c542; }
box-shadow: 0 10px 34px rgba(0, 0, 0, 0.5);
.mc-stats { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: .95em; color: #c3cde6; }
}
.mc-stats b { color: #fff; font-size: 1.15em; }
.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(280px, 1fr)); gap: 18px; margin-bottom: 18px; }
/* 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;
padding: 18px 22px;
background-color: rgba(127, 140, 170, 0.05);
background: rgba(127,140,170,.06);
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;
display: flex;
align-items: center;
gap: 8px;
}
}
.mc-box h3::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #2557c2; }
.mc-box--oro { border-top: 4px solid #f4c542; }
.mc-box--rojo h3::before { background: #e5383b; }
.mc-box--rojo { border-top: 4px solid #e5383b; }
.mc-box--oro h3::before { background: #f4c542; }
.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-fit, minmax(150px, 1fr)); gap: 10px; }
/* Accesos rápidos */
.mc-tiles {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
gap: 10px;
margin-bottom: 18px;
}
.mc-tile a {
.mc-tile a {
display: block;
display: block;
padding: 12px 14px;
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: 1px solid rgba(127,140,170,.28);
}
.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;
text-decoration: none;
}
}
.mc-tile a:hover { border-color: #2557c2; background: rgba(37,87,194,.08); text-decoration: none; }
.mc-tile small { display: block; font-weight: 400; opacity: .75; font-size: .85em; }


.mc-cta {
/* Foro (lo rellena MediaWiki:Common.js) */
display: inline-block;
.mc-foro ul {
margin: 4px 6px 0 0;
margin: 0;
padding: 8px 16px;
padding: 0;
border-radius: 10px;
list-style: none;
background: #2557c2;
}
.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-cta a { color: #fff; text-decoration: none; }
.mc-foro__meta {
.mc-cta--rojo { background: #e5383b; }
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: 640px) {
@media screen and (max-width: 760px) {
.mc-hero { flex-direction: column; text-align: center; padding: 24px 18px; }
.mc-hero {
.mc-hero__logo img { width: 96px; height: 96px; }
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 actual - 03:33 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(190px, 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;
	}
}