MediaWiki:Common.css: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 53: Line 53:
}
}


/* Hide the first occurrence of a table header inside the infobox */
/* Hide only the text inside the "Image" header in the infobox */
.infoboxTable tr:nth-child(2) th {
.infoboxTable th {
     color: transparent; /* Hides text */
     font-size: 0; /* Hides text but keeps the column */
}
 
/* Ensure any icon, border, or other elements inside the th remain visible */
.infoboxTable th::after {
    content: ""; /* Prevents layout collapse */
    display: block;
    font-size: initial;
}
}