MediaWiki:Common.css
Página de la interfaz de MediaWiki
Más acciones
Nota: Después de publicar, quizás necesite actualizar la caché de su navegador para ver los cambios.
- Firefox/Safari: Mantenga presionada la tecla Shift mientras pulsa el botón Actualizar, o presiona Ctrl+F5 o Ctrl+R (⌘+R en Mac)
- Google Chrome: presione Ctrl+Shift+R (⌘+Shift+R en Mac)
- Edge: mantenga presionada Ctrl mientras pulsa Actualizar, o presione Ctrl+F5
/* =========================================================
WIKIMDD — DISEÑO EDITORIAL
========================================================= */
.page-Inicio #firstHeading,
.page-Inicio .mw-page-title-main {
display: none;
}
.page-Inicio .mw-parser-output {
max-width: none !important;
}
.mdd-home {
--mdd-green: #086044;
--mdd-green-dark: #14372c;
--mdd-black: #121713;
--mdd-gray: #667069;
--mdd-border: #d3dad5;
--mdd-light: #f4f6f4;
width: 100%;
max-width: 1240px;
margin: 0 auto;
color: var(--mdd-black);
}
.mdd-home h1,
.mdd-home h2,
.mdd-home h3 {
border: 0;
color: inherit;
font-family: inherit;
}
/* HERO */
.mdd-hero {
position: relative;
min-height: 620px;
overflow: hidden;
background: var(--mdd-green-dark);
}
.mdd-hero__media,
.mdd-hero__media p,
.mdd-hero__media a,
.mdd-hero__media img {
display: block;
width: 100%;
height: 100%;
}
.mdd-hero__media {
position: absolute;
inset: 0;
}
.mdd-hero__media img {
object-fit: cover;
object-position: center;
}
.mdd-hero::after {
content: "";
position: absolute;
inset: 0;
background: rgba(5, 22, 15, 0.55);
}
.mdd-hero__content {
position: absolute;
z-index: 2;
left: 58px;
bottom: 58px;
max-width: 720px;
color: #ffffff;
}
.mdd-label {
display: block;
margin-bottom: 18px;
color: var(--mdd-green);
font-size: 0.72rem;
font-weight: 800;
letter-spacing: 0.18em;
}
.mdd-hero .mdd-label {
color: #ffffff;
}
.mdd-hero h1 {
margin: 0;
color: #ffffff;
font-size: clamp(3rem, 6vw, 5.4rem);
font-weight: 750;
line-height: 0.98;
letter-spacing: -0.055em;
}
.mdd-hero__content > p {
max-width: 660px;
margin: 28px 0;
color: rgba(255, 255, 255, 0.88);
font-size: 1.08rem;
line-height: 1.7;
}
/* ENLACES Y BOTONES */
.mdd-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 24px;
}
.mdd-button {
display: inline-flex;
min-height: 45px;
padding: 0 20px;
align-items: center;
border: 1px solid currentColor;
border-radius: 0;
font-weight: 700;
}
.mdd-button a {
color: inherit !important;
text-decoration: none !important;
}
.mdd-button--light {
color: var(--mdd-green-dark);
background: #ffffff;
border-color: #ffffff;
}
.mdd-button--green {
color: #ffffff;
background: var(--mdd-green);
border-color: var(--mdd-green);
}
.mdd-simple-link {
display: inline-block;
color: var(--mdd-green);
font-weight: 700;
}
.mdd-simple-link a {
color: inherit;
text-decoration: none;
border-bottom: 1px solid currentColor;
}
.mdd-hero .mdd-simple-link {
color: #ffffff;
}
/* INTRODUCCIÓN */
.mdd-introduction {
display: grid;
grid-template-columns: repeat(3, 1fr);
margin: 0;
border-right: 1px solid var(--mdd-border);
border-bottom: 1px solid var(--mdd-border);
border-left: 1px solid var(--mdd-border);
}
.mdd-introduction > div {
padding: 31px;
border-right: 1px solid var(--mdd-border);
}
.mdd-introduction > div:last-child {
border-right: 0;
}
.mdd-number,
.mdd-topic__number {
display: block;
margin-bottom: 20px;
color: var(--mdd-green);
font-size: 0.72rem;
font-weight: 800;
}
.mdd-introduction strong {
display: block;
margin-bottom: 8px;
font-size: 1rem;
}
.mdd-introduction p {
margin: 0;
color: var(--mdd-gray);
line-height: 1.55;
}
/* ENCABEZADO DE SECCIÓN */
.mdd-section-heading {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 70px;
margin: 100px 0 38px;
padding-bottom: 25px;
border-bottom: 1px solid var(--mdd-border);
}
.mdd-section-heading h2,
.mdd-feature h2,
.mdd-community h2 {
margin: 0;
font-size: clamp(2rem, 4vw, 3.1rem);
font-weight: 700;
line-height: 1.05;
letter-spacing: -0.04em;
}
.mdd-section-heading > p {
margin: 0;
color: var(--mdd-gray);
line-height: 1.75;
}
/* TEMAS */
.mdd-topics {
display: grid;
grid-template-columns: repeat(2, 1fr);
border-top: 1px solid var(--mdd-border);
border-left: 1px solid var(--mdd-border);
}
.mdd-topic {
display: grid;
grid-template-columns: 44% 56%;
min-height: 270px;
border-right: 1px solid var(--mdd-border);
border-bottom: 1px solid var(--mdd-border);
background: #ffffff;
}
.mdd-topic__image {
min-height: 270px;
overflow: hidden;
background: var(--mdd-light);
}
.mdd-topic__image p,
.mdd-topic__image a,
.mdd-topic__image img {
display: block;
width: 100%;
height: 100%;
margin: 0;
}
.mdd-topic__image img {
object-fit: cover;
}
.mdd-topic__content {
display: flex;
padding: 30px;
flex-direction: column;
justify-content: center;
}
.mdd-topic__content h3 {
margin: 0 0 12px;
font-size: 1.45rem;
}
.mdd-topic__content p {
margin: 0 0 24px;
color: var(--mdd-gray);
line-height: 1.6;
}
.mdd-topic__content > a {
color: var(--mdd-green);
font-size: 0.87rem;
font-weight: 700;
text-decoration: none;
}
/* ARTÍCULO DESTACADO */
.mdd-feature {
display: grid;
grid-template-columns: 1.2fr 0.8fr;
margin: 110px 0;
border-top: 1px solid var(--mdd-border);
border-bottom: 1px solid var(--mdd-border);
}
.mdd-feature__image {
min-height: 530px;
overflow: hidden;
}
.mdd-feature__image p,
.mdd-feature__image a,
.mdd-feature__image img {
display: block;
width: 100%;
height: 100%;
margin: 0;
}
.mdd-feature__image img {
object-fit: cover;
}
.mdd-feature__content {
display: flex;
padding: 56px;
flex-direction: column;
justify-content: center;
background: var(--mdd-light);
}
.mdd-feature__content p {
margin: 24px 0 0;
color: var(--mdd-gray);
line-height: 1.75;
}
.mdd-feature__content .mdd-simple-link {
margin-top: 30px;
}
/* COMUNIDAD */
.mdd-community {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 75px;
margin: 110px 0 40px;
padding: 58px;
color: #ffffff;
background: var(--mdd-green-dark);
}
.mdd-community .mdd-label,
.mdd-community h2,
.mdd-community .mdd-simple-link {
color: #ffffff;
}
.mdd-community p {
margin-top: 0;
color: rgba(255, 255, 255, 0.78);
line-height: 1.75;
}
/* RESPONSIVE */
@media screen and (max-width: 900px) {
.mdd-hero {
min-height: 560px;
}
.mdd-hero__content {
right: 35px;
left: 35px;
bottom: 40px;
}
.mdd-introduction {
grid-template-columns: 1fr;
}
.mdd-introduction > div {
border-right: 0;
border-bottom: 1px solid var(--mdd-border);
}
.mdd-section-heading {
grid-template-columns: 1fr;
gap: 20px;
}
.mdd-topics {
grid-template-columns: 1fr;
}
.mdd-feature {
grid-template-columns: 1fr;
}
.mdd-community {
grid-template-columns: 1fr;
gap: 30px;
}
}
@media screen and (max-width: 600px) {
.mdd-hero {
min-height: 520px;
}
.mdd-hero__content {
right: 22px;
left: 22px;
bottom: 30px;
}
.mdd-hero h1 {
font-size: 2.8rem;
}
.mdd-topic {
grid-template-columns: 1fr;
}
.mdd-topic__image {
min-height: 230px;
}
.mdd-feature__image {
min-height: 300px;
}
.mdd-feature__content,
.mdd-community {
padding: 32px 24px;
}
}