MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
(Created page with "→‎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; }")
 
No edit summary
Tag: Reverted
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:33, 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;
}

.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;
}