MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
(Undo revision 17827 by Knigh7s (talk))
Tag: Undo
No edit summary
Line 1: Line 1:
/* custom CSS */
/* custom CSS */
.page-Main_Page #contentSub { display: none }


.mw-parser-output #home-nav {
.mw-parser-output #home-nav {

Revision as of 20:10, 3 July 2023

/* custom CSS */

.page-Main_Page #contentSub { display: none }

.mw-parser-output #home-nav {
    margin-top: 2.4rem;
}
.mw-parser-output .home-grid {
    display: grid;
    grid: auto-flow dense/repeat(auto-fit,minmax(9.375rem,1fr));
    grid-auto-rows: minmax(3rem,auto);
    grid-gap: 0.625rem;
}
.mw-parser-output .home-card.home-card--button {
    padding: 0;
    background: #242a31;
    overflow: hidden;
}
.mw-parser-output .home-card {
    position: relative;
    padding: 15px;
    border: 1px solid;
    border-color: var(--border-color-base);
    background: var(--background-color-dp-02);
    border-radius: 8px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 4%), 0 3px 6px rgb(0 0 0 / 6%);
    font-size: 0.875rem;
}
.mw-parser-output .home-card__background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #242a31;
    border-radius: 8px;
}
.mw-parser-output #home-nav .home-card__foreground {
    pointer-events: none;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: #fff;
    font-weight: 500;
}
.mw-parser-output .home-card.home-card--button {
    padding: 0;
    background: #242a31;
    overflow: hidden;
}