MediaWiki:Common.css

From The Muse
Revision as of 16:35, 5 July 2026 by Olive (talk | contribs) (spacing)

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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */

/* latin */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');


body {
  background: #1a212b;
  font-family: 'Open Sans', 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif;

  h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Mono', monospace !important;
  }

  input {
    font-family: 'Space Mono', monospace !important;
  }

  #simpleSearch {
    border: solid 1px #36455C;

    #searchInput {
      font-family: 'Space Mono', monospace;
      background: #11151C;
      color: white;
      border-radius: 0;
    }

    #searchButton {
      background-image: url(/skins/Timeless/resources/images/search-ltr-light.svg);
      background-size: 20px 20px;
    }
  }

  #mw-header-container {
    background: #1a212b;
    border-bottom: 4px solid #E5B91A;

    #p-logo-text a {
      font-family: 'Space Mono', monospace;
      text-transform: uppercase;
      color: #8197b8;
    }

    #personal h2 {
      font-family: 'Space Mono', monospace;
      color: #8197b8;
      background-image: url(/skins/Timeless/resources/images/user-light.svg);
      @media screen and (min-width: 850px) {
        background-size: 20px 20px;
        background-position: left 13px;
      } 

      &::after {
        background-image: url(/skins/Timeless/resources/images/arrow-down-light.svg);
      }
    }

    #p-search {
      padding-top: 1px;
    }
  }

  @media screen and (max-width: 850px) {
    #site-navigation h2 {
      background-image: url(/skins/Timeless/resources/images/menu-large-light.svg);
    }

    #site-tools h2 {
      background-image: url(/skins/Timeless/resources/images/gear-large-light.svg);

      &::after {
        background-image: url(/skins/Timeless/resources/images/arrow-down-light.svg);
      }
    }
  }

  #mw-header-hack {
    display: none;
  }

  #mw-header-nav-hack {
    .color-middle, .color-left, .color-right {
      background: #E5B91A;
      height: 4px;
    }
  }

  #mw-content-container {
    background: #36455C;
    border-bottom: solid 4px #E5B91A;

    input[type="button"], input[type="submit"] {
      background-color: #E5B91A !important;
      color: #11151C !important;
      border-color: #E5B91A !important;

      &:hover {
        color: #fff !important;
      }
    }

    .mw-body h1.firstHeading {
      border-color: #52698C;
      padding-bottom: 6px;
    }

    .tools-inline li {
      padding-bottom: 2px;

      &.selected { border-color: #52698C; }

      &#ca-nstab-main a, &#ca-nstab-mediawiki a, &#ca-talk a, &#ca-edit a, &#ca-history a {
        background: none;
        padding: 0 2px;
      }
    }

    .mw-editsection {
      font-family: 'Space Mono', monospace !important;
      background: none;
      margin: 0;

      a:first-of-type {
        padding: 0;
        margin: 0;
      }
    }
  }

  #mw-footer-container {
    color: #8197b8;

    a {
      color: #8197b8;
    }

    #footer-poweredbyico {
      background: #8197b8;
      padding: 4px 8px 4px 4px;
      border-radius: 5px;
    }
  }
}