Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
(11 intermediate revisions by the same user not shown)
Line 137: Line 137:


.hover-table td span {
.hover-table td span {
    display: inline-block;
    max-width: 100%;
    text-align: center;
    font-size: 15px;
     white-space: nowrap;
     white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 768px) {
.hover-table td span {
     display: inline-block;
     display: inline-block;
     max-width: 100%;
     max-width: 100%;
    text-align: center;
     font-size: 15px; /* or scale down just a bit */
     font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}
 
@media (max-width: 768px) {
  .hover-table td span {
    font-size: 11px;
    white-space: normal; /* allow wrapping if needed */
    word-break: break-word;
  }
 
  .hover-table img {
    width: 80px;
    height: 80px;
  }
 
  .hover-table td {
    width: 50%; /* full two columns per row */
    padding: 6px;
  }
}
}