MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 8: Line 8:
     max-width: 100%;
     max-width: 100%;
     height: auto;
     height: auto;
}
.mainpage-title, .mainpage-edit, .mainpage-others {
    display: none;
}
.page-Main_Page .mainpage-title,
.page-Main_Page .mainpage-edit,
.page-Main_Page .mainpage-others {
    display: block;
    position: absolute; /* or relative if preferred */
    bottom: 0;
}
}

Revision as of 23:34, 1 June 2024

/* CSS placed here will be applied to all skins */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}
.image-grid img {
    max-width: 100%;
    height: auto;
}