Array

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
/* Responsive: Related articles - título arriba, contenido abajo */
/* Responsive: Related articles - título arriba, contenido abajo */
@media (max-width: 768px) {
@media only screen and (max-width: 768px), only screen and (max-device-width: 768px) {
  .related-articles-box,
   .related-articles-box{
  .related-articles-box tbody,
    word-break: keep-all;
  .related-articles-box tr,
  .related-articles-box td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
  }
 
   .related-articles-box td:first-child {
    padding-bottom: 0.5em;
    margin-bottom: 0.5em;
    border-bottom: 1px solid #99B36C; /* mismo color que tu título */
  }
 
  .related-articles-box tr {
    margin-bottom: 0.5em;
   }
   }
}
}

Revision as of 12:53, 28 January 2026

/* Responsive: Related articles - título arriba, contenido abajo */
@media only screen and (max-width: 768px), only screen and (max-device-width: 768px) {
  .related-articles-box{
     word-break: keep-all;
  }
}