MediaWiki:Common.css: Difference between revisions

From RexKraft
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
.leaderboard {
.leaderboard {
     width: 100%;
     width: 100%;
}
     overflow-x: auto; /* Allow horizontal scrolling if needed */
 
.row {
     display: flex;
    flex-wrap: wrap;
}
}


.donor {
.donor {
     margin-right: 10px; /* Adjust as needed */
    display: inline-block;
    display: flex;
     margin-right: 10px; /* Adjust spacing between donors */
    flex-direction: column;
    align-items: center;
}
}


.donor img {
.donor img {
     margin-bottom: 5px;
     display: block; /* Ensure images don't have extra space underneath */
}
}



Revision as of 16:18, 14 April 2024

.leaderboard {
    width: 100%;
    overflow-x: auto; /* Allow horizontal scrolling if needed */
}

.donor {
    display: inline-block;
    margin-right: 10px; /* Adjust spacing between donors */
}

.donor img {
    display: block; /* Ensure images don't have extra space underneath */
}

.donor-name {
    font-size: 12px;
    text-align: center;
    max-width: 50px; /* Adjust as needed */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}