MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
Tag: Reverted
(Undo revision 17827 by Knigh7s (talk))
Tag: Undo
Line 1: Line 1:
/* Hide title and edit tools on main page */
/* custom CSS */
.page-Star_Citizen_Wiki .mw-side,
 
.page-Star_Citizen_Wiki .firstHeading,
.mw-parser-output #home-nav {
.page-Star_Citizen_Wiki #siteSub {
    margin-top: 2.4rem;
display: none!important;
}
.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 {
/* Force override until skin is updated */
    position: relative;
.skin-citizen blockquote {
    padding: 15px;
margin: 0.8rem 20px;
    border: 1px solid;
padding: 0;
    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;
}
}

Revision as of 11:46, 2 July 2023

/* 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;
}