MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 1: Line 1:
/* custom CSS */
/* custom CSS */


#home-nav {
.mw-parser-output #home-nav {
margin-top: 2.4rem;
    margin-top: 2.4rem;
}
}
#home-nav .home-card__background:after {
.mw-parser-output .home-grid {
position: absolute;
    display: grid;
     pointer-events: none;
    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;
     top: 0;
     right: 0;
     right: 0;
     bottom: 0;
     bottom: 0;
     left: 0;
     left: 0;
    display: block;
     background: #242a31;
     background: linear-gradient(to right,#000,transparent);
     border-radius: 8px;
     content: "";
}
}
 
.mw-parser-output #home-nav .home-card__foreground {
#home-nav .home-card__foreground {
    pointer-events: none;
pointer-events: none;
    height: 100%;
height: 100%;
     width: 100%;
     width: 100%;
     display: flex;
     display: flex;
Line 25: Line 43:
     color: #fff;
     color: #fff;
     font-weight: 500;
     font-weight: 500;
}
.mw-parser-output .home-card.home-card--button {
    padding: 0;
    background: #242a31;
    overflow: hidden;
}
}

Revision as of 03:38, 21 February 2022

/* custom CSS */

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