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 - IDENTIDAD VISUAL PRINCIPAL
===================================================== */
.wikimdd-home {
--wikimdd-green-900: #063f32;
--wikimdd-green-800: #075c46;
--wikimdd-green-700: #087a58;
--wikimdd-green-600: #0c9569;
--wikimdd-green-100: #dcf5ea;
--wikimdd-gold: #f2b84b;
--wikimdd-river: #168aad;
--wikimdd-earth: #a7633a;
--wikimdd-text: #15231d;
--wikimdd-muted: #64736b;
--wikimdd-surface: #ffffff;
--wikimdd-background: #f5f8f6;
--wikimdd-border: rgba(6, 63, 50, 0.12);
--wikimdd-shadow: 0 18px 50px rgba(16, 58, 44, 0.10);
max-width: 1240px;
margin: 0 auto;
color: var(--wikimdd-text);
font-family: inherit;
}
.page-Inicio #firstHeading,
.page-Inicio .mw-page-title-main {
display: none;
}
/* HERO PRINCIPAL */
.wikimdd-hero {
position: relative;
overflow: hidden;
padding: 82px 58px;
border-radius: 30px;
color: #ffffff;
background:
radial-gradient(
circle at 90% 10%,
rgba(242, 184, 75, 0.34),
transparent 30%
),
radial-gradient(
circle at 5% 100%,
rgba(22, 138, 173, 0.35),
transparent 35%
),
linear-gradient(
135deg,
#043c30 0%,
#07634a 48%,
#0b8a61 100%
);
box-shadow: 0 28px 70px rgba(4, 60, 48, 0.24);
}
.wikimdd-hero::after {
content: "";
position: absolute;
width: 420px;
height: 420px;
right: -170px;
bottom: -230px;
border: 1px solid rgba(255, 255, 255, 0.20);
border-radius: 50%;
box-shadow:
0 0 0 45px rgba(255, 255, 255, 0.04),
0 0 0 90px rgba(255, 255, 255, 0.03);
}
.wikimdd-hero > * {
position: relative;
z-index: 1;
}
.wikimdd-hero__eyebrow,
.wikimdd-kicker {
display: block;
margin-bottom: 12px;
font-size: 0.76rem;
font-weight: 800;
letter-spacing: 0.13em;
}
.wikimdd-hero__eyebrow {
color: #dff8ed;
}
.wikimdd-hero h1 {
max-width: 780px;
margin: 0;
color: #ffffff;
border: 0;
font-size: clamp(2.7rem, 6vw, 5.4rem);
font-weight: 850;
line-height: 0.98;
letter-spacing: -0.055em;
}
.wikimdd-hero__description {
max-width: 720px;
margin: 25px 0 30px;
color: rgba(255, 255, 255, 0.86);
font-size: 1.15rem;
line-height: 1.7;
}
/* BUSCADOR */
.wikimdd-search {
max-width: 760px;
margin: 0 0 27px;
}
.wikimdd-search form {
display: flex;
align-items: stretch;
gap: 10px;
}
.wikimdd-search input[type="text"],
.wikimdd-search input[type="search"] {
box-sizing: border-box;
flex: 1;
min-width: 0;
height: 54px;
padding: 0 20px;
border: 1px solid rgba(255, 255, 255, 0.28);
border-radius: 14px;
outline: none;
color: #143126;
background: rgba(255, 255, 255, 0.96);
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
font-size: 1rem;
}
.wikimdd-search input[type="submit"],
.wikimdd-search button {
min-height: 54px;
padding: 0 25px;
border: 0;
border-radius: 14px;
color: #083e31;
background: var(--wikimdd-gold);
font-weight: 800;
cursor: pointer;
}
/* BOTONES */
.wikimdd-hero__actions,
.wikimdd-community-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 12px;
}
.wikimdd-button {
display: inline-flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
min-height: 46px;
padding: 12px 20px;
border-radius: 12px;
font-weight: 750;
line-height: 1.2;
text-decoration: none;
}
.wikimdd-button a {
color: inherit !important;
text-decoration: none !important;
}
.wikimdd-button--primary {
color: #ffffff;
background: var(--wikimdd-green-700);
}
.wikimdd-hero .wikimdd-button--primary {
color: #083e31;
background: var(--wikimdd-gold);
}
.wikimdd-button--secondary {
color: #ffffff;
border: 1px solid rgba(255, 255, 255, 0.40);
background: rgba(255, 255, 255, 0.09);
backdrop-filter: blur(8px);
}
.wikimdd-button--dark {
color: #ffffff;
background: var(--wikimdd-green-900);
}
.wikimdd-button--light {
color: var(--wikimdd-green-900);
background: #ffffff;
}
/* ESTADÍSTICAS */
.wikimdd-stats {
position: relative;
z-index: 3;
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1px;
width: calc(100% - 90px);
margin: -24px auto 70px;
overflow: hidden;
border: 1px solid var(--wikimdd-border);
border-radius: 20px;
background: var(--wikimdd-border);
box-shadow: var(--wikimdd-shadow);
}
.wikimdd-stat {
padding: 25px 22px;
text-align: center;
background: var(--wikimdd-surface);
}
.wikimdd-stat__number {
display: block;
color: var(--wikimdd-green-700);
font-size: 1.85rem;
font-weight: 850;
}
.wikimdd-stat__label {
display: block;
margin-top: 4px;
color: var(--wikimdd-muted);
font-size: 0.83rem;
}
/* SECCIONES */
.wikimdd-section {
margin: 75px 0;
}
.wikimdd-section__heading {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 30px;
margin-bottom: 30px;
}
.wikimdd-section__heading h2,
.wikimdd-panel h2,
.wikimdd-feature h2,
.wikimdd-cta h2 {
margin: 0;
border: 0;
color: var(--wikimdd-text);
font-size: clamp(1.8rem, 4vw, 2.7rem);
font-weight: 820;
line-height: 1.1;
letter-spacing: -0.035em;
}
.wikimdd-section__heading > p {
max-width: 520px;
margin: 0;
color: var(--wikimdd-muted);
line-height: 1.65;
}
.wikimdd-kicker {
color: var(--wikimdd-green-700);
}
/* TARJETAS DE CATEGORÍAS */
.wikimdd-category-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 18px;
}
.wikimdd-category-card {
position: relative;
min-height: 230px;
padding: 26px;
overflow: hidden;
border: 1px solid var(--wikimdd-border);
border-radius: 22px;
background: var(--wikimdd-surface);
box-shadow: 0 8px 26px rgba(15, 55, 42, 0.05);
transition:
transform 180ms ease,
box-shadow 180ms ease,
border-color 180ms ease;
}
.wikimdd-category-card:hover {
transform: translateY(-5px);
border-color: rgba(8, 122, 88, 0.35);
box-shadow: 0 22px 45px rgba(15, 55, 42, 0.12);
}
.wikimdd-category-card::after {
content: "";
position: absolute;
width: 110px;
height: 110px;
right: -35px;
bottom: -35px;
border-radius: 50%;
background: var(--card-accent, #dcf5ea);
opacity: 0.55;
}
.wikimdd-category-card__icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 54px;
height: 54px;
margin-bottom: 23px;
border-radius: 16px;
background: var(--card-accent, #dcf5ea);
font-size: 1.65rem;
}
.wikimdd-category-card h3 {
margin: 0 0 9px;
color: var(--wikimdd-text);
font-size: 1.3rem;
}
.wikimdd-category-card p {
min-height: 64px;
margin: 0 0 20px;
color: var(--wikimdd-muted);
line-height: 1.55;
}
.wikimdd-category-card__link {
position: relative;
z-index: 2;
font-weight: 750;
}
.wikimdd-category-card__link a {
color: var(--wikimdd-green-700);
text-decoration: none;
}
.wikimdd-category-card--turismo {
--card-accent: #d9f1fd;
}
.wikimdd-category-card--biodiversidad {
--card-accent: #dcf5e7;
}
.wikimdd-category-card--cultura {
--card-accent: #f7e5ff;
}
.wikimdd-category-card--gastronomia {
--card-accent: #fff0ce;
}
.wikimdd-category-card--historia {
--card-accent: #f4e5dc;
}
.wikimdd-category-card--ambiente {
--card-accent: #e3f2d8;
}
/* CONTENIDO DESTACADO */
.wikimdd-feature {
display: grid;
grid-template-columns: 0.9fr 1.1fr;
margin: 85px 0;
overflow: hidden;
border-radius: 28px;
color: #ffffff;
background: var(--wikimdd-green-800);
box-shadow: var(--wikimdd-shadow);
}
.wikimdd-feature__visual {
display: flex;
min-height: 390px;
padding: 34px;
flex-direction: column;
align-items: center;
justify-content: space-between;
background:
radial-gradient(
circle at center,
rgba(255, 255, 255, 0.20),
transparent 45%
),
linear-gradient(
145deg,
#168aad,
#0a6a6c 55%,
#075043
);
}
.wikimdd-feature__badge {
align-self: flex-start;
padding: 7px 11px;
border: 1px solid rgba(255, 255, 255, 0.28);
border-radius: 999px;
background: rgba(255, 255, 255, 0.12);
font-size: 0.7rem;
font-weight: 800;
letter-spacing: 0.10em;
}
.wikimdd-feature__symbol {
font-size: 7rem;
filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.25));
}
.wikimdd-feature__location {
align-self: flex-start;
color: rgba(255, 255, 255, 0.8);
font-size: 0.87rem;
}
.wikimdd-feature__content {
display: flex;
padding: 52px;
flex-direction: column;
justify-content: center;
}
.wikimdd-feature__content .wikimdd-kicker {
color: #b9f0d8;
}
.wikimdd-feature h2 {
color: #ffffff;
}
.wikimdd-feature__content > p {
margin: 22px 0;
color: rgba(255, 255, 255, 0.80);
font-size: 1.06rem;
line-height: 1.7;
}
.wikimdd-feature__details {
display: flex;
flex-wrap: wrap;
gap: 9px;
margin-bottom: 28px;
}
.wikimdd-feature__details span {
padding: 7px 11px;
border-radius: 999px;
color: #ffffff;
background: rgba(255, 255, 255, 0.10);
font-size: 0.78rem;
}
/* PANELES */
.wikimdd-columns {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
margin: 70px 0;
}
.wikimdd-panel {
padding: 36px;
border: 1px solid var(--wikimdd-border);
border-radius: 24px;
background: var(--wikimdd-surface);
}
.wikimdd-panel--community {
background:
linear-gradient(
145deg,
rgba(220, 245, 234, 0.72),
rgba(255, 255, 255, 0.92)
);
}
.wikimdd-panel > p {
color: var(--wikimdd-muted);
line-height: 1.7;
}
.wikimdd-link-list {
padding: 0;
margin: 24px 0 0;
list-style: none;
}
.wikimdd-link-list li {
display: flex;
justify-content: space-between;
gap: 15px;
padding: 15px 0;
border-bottom: 1px solid var(--wikimdd-border);
}
.wikimdd-link-list li:last-child {
border-bottom: 0;
}
.wikimdd-link-list a {
color: var(--wikimdd-text);
font-weight: 720;
text-decoration: none;
}
.wikimdd-link-list span {
color: var(--wikimdd-muted);
font-size: 0.78rem;
}
.wikimdd-text-link {
font-weight: 750;
}
.wikimdd-text-link a {
color: var(--wikimdd-green-700);
text-decoration: none;
}
/* LLAMADO FINAL */
.wikimdd-cta {
display: flex;
align-items: center;
justify-content: space-between;
gap: 35px;
margin: 80px 0 30px;
padding: 45px;
border-radius: 26px;
color: #ffffff;
background:
linear-gradient(
135deg,
var(--wikimdd-green-900),
var(--wikimdd-green-700)
);
}
.wikimdd-cta .wikimdd-kicker {
color: #bcefd9;
}
.wikimdd-cta h2 {
max-width: 720px;
color: #ffffff;
}
.wikimdd-cta p {
margin-bottom: 0;
color: rgba(255, 255, 255, 0.78);
}
/* MODO OSCURO DE CITIZEN */
html.skin-citizen-dark .wikimdd-home,
html.skin-theme-clientpref-night .wikimdd-home {
--wikimdd-text: #edf7f2;
--wikimdd-muted: #abbdb4;
--wikimdd-surface: #15251f;
--wikimdd-background: #0f1d18;
--wikimdd-border: rgba(214, 244, 229, 0.12);
--wikimdd-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
html.skin-citizen-dark .wikimdd-panel--community,
html.skin-theme-clientpref-night .wikimdd-panel--community {
background: #173229;
}
/* DISEÑO RESPONSIVE */
@media screen and (max-width: 900px) {
.wikimdd-hero {
padding: 60px 34px;
border-radius: 23px;
}
.wikimdd-stats {
grid-template-columns: repeat(2, 1fr);
width: calc(100% - 30px);
}
.wikimdd-category-grid {
grid-template-columns: repeat(2, 1fr);
}
.wikimdd-feature {
grid-template-columns: 1fr;
}
.wikimdd-feature__visual {
min-height: 285px;
}
.wikimdd-columns {
grid-template-columns: 1fr;
}
.wikimdd-section__heading {
align-items: flex-start;
flex-direction: column;
}
}
@media screen and (max-width: 600px) {
.wikimdd-hero {
padding: 45px 22px;
}
.wikimdd-hero h1 {
font-size: 2.8rem;
}
.wikimdd-search form {
flex-direction: column;
}
.wikimdd-search input[type="submit"],
.wikimdd-search button {
width: 100%;
}
.wikimdd-stats,
.wikimdd-category-grid {
grid-template-columns: 1fr;
}
.wikimdd-stats {
margin-bottom: 55px;
}
.wikimdd-category-card {
min-height: auto;
}
.wikimdd-feature__content,
.wikimdd-panel,
.wikimdd-cta {
padding: 29px 23px;
}
.wikimdd-cta {
align-items: flex-start;
flex-direction: column;
}
.wikimdd-link-list li {
align-items: flex-start;
flex-direction: column;
gap: 3px;
}
}