MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
 
(22 intermediate revisions by the same user not shown)
Line 58: Line 58:
   text-decoration: none !important;
   text-decoration: none !important;
   font-size: 14px;
   font-size: 14px;
  background-image: none !important;
}
}
.bok-hero-divider {
.bok-hero-divider {
Line 77: Line 78:
   color: #54617f;
   color: #54617f;
   font-weight: 600;
   font-weight: 600;
}
.bok-stats a {
  color: #3375d4 !important;
  background-image: none !important;
}
}
.bok-section-label {
.bok-section-label {
Line 89: Line 94:
.bok-cat-grid {
.bok-cat-grid {
   display: grid;
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   grid-template-columns: repeat(3, 1fr);
   gap: 10px;
   gap: 10px;
   margin: 4px 0 24px;
   margin: 4px 0 24px;
Line 109: Line 114:
   display: block;
   display: block;
   margin-bottom: 3px;
   margin-bottom: 3px;
  background-image: none !important;
}
}
.bok-cat-count {
.bok-cat-count {
Line 146: Line 152:
   color: #3375d4 !important;
   color: #3375d4 !important;
   text-decoration: none !important;
   text-decoration: none !important;
  background-image: none !important;
}
}
.bok-updates {
.bok-updates {
Line 167: Line 174:
   color: #3375d4 !important;
   color: #3375d4 !important;
   text-decoration: none !important;
   text-decoration: none !important;
  background-image: none !important;
}
}
.bok-update-meta {
.bok-update-meta {
Line 180: Line 188:
   margin-top: 1px;
   margin-top: 1px;
}
}
/* --- Ecosistema / Banner CTA --- */
.bok-ecosistema {
.bok-ecosistema {
   background: #e5effa;
   background: #e5effa;
Line 207: Line 217:
   gap: 8px;
   gap: 8px;
   flex-shrink: 0;
   flex-shrink: 0;
  align-items: center;
}
}
.bok-btn-p {
.bok-btn-outline a,
.bok-btn-outline a:visited,
.bok-btn-outline a:hover {
   display: inline-block;
   display: inline-block;
   background: #3375d4;
   background: transparent;
   color: white !important;
   color: #3375d4 !important;
  border: 1px solid #3375d4;
   padding: 7px 14px;
   padding: 7px 14px;
   border-radius: 6px;
   border-radius: 6px;
Line 217: Line 231:
   font-weight: 500;
   font-weight: 500;
   text-decoration: none !important;
   text-decoration: none !important;
  background-image: none !important;
   white-space: nowrap;
   white-space: nowrap;
}
}
.bok-btn-p:hover {
.bok-btn-filled a,
  background: #295ba4;
.bok-btn-filled a:visited {
}
.bok-btn-s {
   display: inline-block;
   display: inline-block;
   background: transparent;
   background: #3375d4;
   color: #3375d4 !important;
   color: white !important;
   border: 1px solid #3375d4;
   border: 1px solid #3375d4;
   padding: 7px 14px;
   padding: 7px 14px;
   border-radius: 6px;
   border-radius: 6px;
   font-size: 13px;
   font-size: 13px;
  font-weight: 500;
   text-decoration: none !important;
   text-decoration: none !important;
  background-image: none !important;
   white-space: nowrap;
   white-space: nowrap;
}
}
.bok-btn-filled a:hover {
  background: #295ba4 !important;
  border-color: #295ba4 !important;
  color: white !important;
}
/* --- Clases para artículos individuales --- */
.bok-def {
.bok-def {
   border-left: 3px solid #3375d4;
   border-left: 3px solid #3375d4;
Line 265: Line 287:
   color: #3375d4 !important;
   color: #3375d4 !important;
   text-decoration: none !important;
   text-decoration: none !important;
  background-image: none !important;
}
}
.bok-recurso .detalle {
.bok-recurso .detalle {
Line 288: Line 311:
.bok-cta-articulo a {
.bok-cta-articulo a {
   color: #3375d4 !important;
   color: #3375d4 !important;
  background-image: none !important;
}
}
/* --- Responsive --- */
@media (max-width: 700px) {
@media (max-width: 700px) {
   .bok-cat-grid { grid-template-columns: repeat(2, 1fr); }
   .bok-cat-grid { grid-template-columns: repeat(2, 1fr); }
Line 295: Line 321:
}
}


/* Quitar el icono de enlace externo en los botones */
/* --- Pie de página portada --- */
.bok-ecosistema .botones a.external {
.bok-footer-divider {
  border: none;
  border-top: 1px solid #c0cce0;
  margin: 16px 0 12px;
  height: 0;
}
.bok-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  flex-wrap: nowrap;
}
.bok-footer-redes {
  display: flex;
  gap: 6px;
  align-items: center;
}
.bok-footer-redes a,
.bok-footer-redes a:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
   background-image: none !important;
   background-image: none !important;
   padding-right: 0 !important;
   padding: 3px 5px;
  border: none;
}
.bok-footer-redes a:first-child,
.bok-footer-redes a:first-child:visited {
  background: #0077b5;
  color: white !important;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 800;
  width: 14px;
  height: 14px;
  padding: 2px 3px;
}
.bok-footer-redes a:last-child,
.bok-footer-redes a:last-child:visited {
  background: #FF0000;
  color: white !important;
  border-radius: 4px;
  font-size: 10px;
  padding: 2px 5px;
  height: 14px;
}
.bok-footer-redes a:first-child:hover {
  background: #005f8e !important;
}
.bok-footer-redes a:last-child:hover {
  background: #cc0000 !important;
  color: white !important;
}
.bok-footer-meta {
  font-size: 11px;
  color: #8c9ab5;
}
.bok-footer-meta a,
.bok-footer-meta a:visited {
  color: #77819a !important;
  text-decoration: none !important;
  background-image: none !important;
}
.bok-footer-meta a:hover {
  color: #3375d4 !important;
}
}


/* Texto blanco en el botón primario */
/* --- Véase también: etiquetas burbuja --- */
.mw-parser-output .bok-btn-p {
.bok-tags {
   color: white !important;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 16px;
}
.bok-tags a {
  display: inline-block;
  background: #eef2f8;
  color: #3375d4 !important;
  border: 1px solid #d0d8e8;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  text-decoration: none !important;
  background-image: none !important;
  white-space: nowrap;
}
.bok-tags a:hover {
  background: #e5effa;
  border-color: #3375d4;
}
 
/* --- Encabezados de artículos --- */
.mw-parser-output h2 {
  font-family: 'Optima', 'Candara', 'Calibri', 'Segoe UI', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #54617f !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  border-bottom: 1px solid #eef2f8 !important;
  padding-bottom: 6px !important;
  margin-top: 28px !important;
  margin-bottom: 10px !important;
}
.mw-parser-output h3 {
  font-family: 'Optima', 'Candara', 'Calibri', 'Segoe UI', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #77819a !important;
  text-transform: uppercase !important;
  letter-spacing: 0.10em !important;
  border-bottom: none !important;
  margin-top: 18px !important;
  margin-bottom: 8px !important;
}
.mw-parser-output h4 {
  font-family: 'Optima', 'Candara', 'Calibri', 'Segoe UI', sans-serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
   color: #8c9ab5 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.10em !important;
  border-bottom: none !important;
  margin-top: 14px !important;
  margin-bottom: 6px !important;
}
 
/* --- Título de página (h1) --- */
#firstHeading {
  font-family: 'Optima', 'Candara', 'Calibri', 'Segoe UI', sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em !important;
}
 
/* --- Título del CTA --- */
.bok-ecosistema .titulo {
  font-family: 'Optima', 'Candara', 'Calibri', 'Segoe UI', sans-serif !important;
  letter-spacing: 0.06em !important;
}
 
/* --- Meta de artículo (tiempo de lectura + fecha) --- */
.bok-meta {
  font-size: 12px;
  color: #8c9ab5;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef2f8;
  letter-spacing: 0.02em;
}
}