Jump to content

MediaWiki:Common.css: Difference between revisions

From Scrum Manager BoK
No edit summary
No edit summary
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 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 208: Line 218:
   flex-shrink: 0;
   flex-shrink: 0;
}
}
.bok-btn-p {
.bok-ecosistema .botones a {
   display: inline-block;
   display: inline-block;
  background: #3375d4;
  color: white !important;
   padding: 7px 14px;
   padding: 7px 14px;
   border-radius: 6px;
   border-radius: 6px;
Line 217: Line 225:
   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-ecosistema .botones a:first-child,
  background: #295ba4;
.bok-ecosistema .botones a:first-child:visited,
}
.bok-ecosistema .botones a:first-child:hover {
.bok-btn-s {
  display: inline-block;
   background: transparent;
   background: transparent;
   color: #3375d4 !important;
   color: #3375d4 !important;
   border: 1px solid #3375d4;
   border: 1px solid #3375d4;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none !important;
  white-space: nowrap;
}
}
.bok-ecosistema .botones a:last-child,
.bok-ecosistema .botones a:last-child:visited {
  background: #3375d4;
  color: white !important;
  border: 1px solid #3375d4;
}
.bok-ecosistema .botones a:last-child:hover {
  background: #295ba4;
  border-color: #295ba4;
  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 280:
   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 304:
.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); }
   .bok-manuals-grid { grid-template-columns: 1fr; }
   .bok-manuals-grid { grid-template-columns: 1fr; }
   .bok-ecosistema { flex-direction: column; }
   .bok-ecosistema { flex-direction: column; }
}
/* Quitar el icono de enlace externo en los botones */
.bok-ecosistema .botones a.external {
  background-image: none !important;
  padding-right: 0 !important;
}
/* Texto blanco en el botón primario */
.mw-parser-output .bok-btn-p {
  color: white !important;
}
.mw-parser-output .bok-ecosistema .botones a.bok-btn-p,
.mw-parser-output .bok-ecosistema .botones a.bok-btn-p:visited,
.mw-parser-output .bok-ecosistema .botones a.bok-btn-p:hover {
  color: white !important;
}
}

Revision as of 13:34, 11 May 2026

/* CSS placed here will be applied to all skins */
#ca-history { display:none!important; }
#ca-talk { display:none!important; }
/* To make images responsive */
.res-img img {
	max-width:100%;
	height:auto;
}
img {
	max-width:100%;
	height:auto;
}

/* =============================================
   SCRUM MANAGER BOK — ESTILOS PERSONALIZADOS
   ============================================= */

.bok-hero {
  text-align: center;
  padding: 28px 20px;
  margin-bottom: 24px;
}
.bok-hero p {
  color: #54617f;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 auto 14px;
  max-width: 560px;
}
.bok-hero-titulo {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #111 !important;
  margin-bottom: 14px !important;
  border: none !important;
  padding-bottom: 0 !important;
}
.bok-hero-etiqueta {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #3375d4;
  font-weight: 600;
  margin-bottom: 10px;
}
.bok-search-bar {
  border: 1px solid #3375d4;
  border-radius: 8px;
  padding: 10px 16px;
  max-width: 420px;
  margin: 0 auto 20px;
  text-align: center;
  background: #fff;
  box-shadow: 0 1px 4px rgba(51,117,212,0.10);
}
.bok-search-bar a {
  color: #3375d4 !important;
  text-decoration: none !important;
  font-size: 14px;
  background-image: none !important;
}
.bok-hero-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 0 auto 12px;
  max-width: 480px;
}
.bok-stats {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #77819a;
  margin-top: 0;
}
.bok-stats strong {
  color: #54617f;
  font-weight: 600;
}
.bok-stats a {
  color: #3375d4 !important;
  background-image: none !important;
}
.bok-section-label {
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #8c9ab5;
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}
.bok-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 4px 0 24px;
}
.bok-cat-card {
  background: #fff;
  border: 1px solid #d0d8e8;
  border-radius: 8px;
  padding: 14px 12px;
}
.bok-cat-card:hover {
  border-color: #3375d4;
}
.bok-cat-card a {
  color: #3375d4 !important;
  font-weight: 500;
  text-decoration: none !important;
  font-size: 13px;
  display: block;
  margin-bottom: 3px;
  background-image: none !important;
}
.bok-cat-count {
  font-size: 11px;
  color: #8c9ab5;
  display: block;
}
.bok-manuals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 4px 0 24px;
}
.bok-manual-card {
  display: flex;
  gap: 10px;
  border: 1px solid #d0d8e8;
  border-radius: 8px;
  padding: 12px;
  align-items: flex-start;
}
.bok-manual-card .info .titulo {
  font-size: 13px;
  font-weight: 500;
  color: #111;
  display: block;
  margin-bottom: 2px;
}
.bok-manual-card .info .sub {
  font-size: 11px;
  color: #77819a;
  display: block;
  margin-bottom: 6px;
}
.bok-manual-card .info a {
  font-size: 12px;
  color: #3375d4 !important;
  text-decoration: none !important;
  background-image: none !important;
}
.bok-updates {
  border: 1px solid #d0d8e8;
  border-radius: 8px;
  overflow: hidden;
  margin: 4px 0 24px;
}
.bok-update-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 14px;
  border-bottom: 1px solid #eef2f8;
  font-size: 13px;
}
.bok-update-item:last-child {
  border-bottom: none;
}
.bok-update-item a {
  color: #3375d4 !important;
  text-decoration: none !important;
  background-image: none !important;
}
.bok-update-meta {
  font-size: 11px;
  color: #8c9ab5;
  flex-shrink: 0;
  margin-left: 10px;
}
.bok-update-cat {
  font-size: 11px;
  color: #8c9ab5;
  display: block;
  margin-top: 1px;
}

/* --- Ecosistema / Banner CTA --- */
.bok-ecosistema {
  background: #e5effa;
  border: 1px solid #3375d4;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.bok-ecosistema .titulo {
  font-size: 15px;
  font-weight: 500;
  color: #111;
  display: block;
  margin-bottom: 3px;
}
.bok-ecosistema .sub {
  font-size: 13px;
  color: #54617f;
}
.bok-ecosistema .botones {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.bok-ecosistema .botones a {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
  background-image: none !important;
  white-space: nowrap;
}
.bok-ecosistema .botones a:first-child,
.bok-ecosistema .botones a:first-child:visited,
.bok-ecosistema .botones a:first-child:hover {
  background: transparent;
  color: #3375d4 !important;
  border: 1px solid #3375d4;
}
.bok-ecosistema .botones a:last-child,
.bok-ecosistema .botones a:last-child:visited {
  background: #3375d4;
  color: white !important;
  border: 1px solid #3375d4;
}
.bok-ecosistema .botones a:last-child:hover {
  background: #295ba4;
  border-color: #295ba4;
  color: white !important;
}

/* --- Clases para artículos individuales --- */
.bok-def {
  border-left: 3px solid #3375d4;
  background: #e5effa;
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin: 14px 0 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #54617f;
}
.bok-aviso {
  border: 1px solid #f0c36d;
  background: #fffbf0;
  border-radius: 8px;
  padding: 11px 14px;
  margin: 12px 0;
  font-size: 13px;
  line-height: 1.65;
}
.bok-recurso {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid #d0d8e8;
  border-radius: 8px;
  padding: 10px 12px;
  margin: 6px 0;
  font-size: 13px;
}
.bok-recurso a {
  color: #3375d4 !important;
  text-decoration: none !important;
  background-image: none !important;
}
.bok-recurso .detalle {
  font-size: 11px;
  color: #8c9ab5;
  display: block;
  margin-top: 1px;
}
.bok-cta-articulo {
  background: #e5effa;
  border: 1px solid #b9d5f1;
  border-radius: 8px;
  padding: 14px 16px;
  margin: 20px 0;
  font-size: 13px;
}
.bok-cta-articulo .titulo {
  font-weight: 500;
  color: #111;
  display: block;
  margin-bottom: 4px;
}
.bok-cta-articulo a {
  color: #3375d4 !important;
  background-image: none !important;
}

/* --- Responsive --- */
@media (max-width: 700px) {
  .bok-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .bok-manuals-grid { grid-template-columns: 1fr; }
  .bok-ecosistema { flex-direction: column; }
}