MediaWiki:Common.css

MediaWiki interface page
Revision as of 03:38, 21 February 2022 by Knigh7s (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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;
}