MediaWiki:Common.css: Difference between revisions

From The Muse
No edit summary
eee background
 
(12 intermediate revisions by the same user not shown)
Line 15: Line 15:
   input {
   input {
     font-family: 'Space Mono', monospace !important;
     font-family: 'Space Mono', monospace !important;
  }
  .mw-createacct-benefits-heading, .mw-number-text, .mw-number-text strong {
    font-family: 'Space Mono', monospace !important;
    background: none !important;
    padding: 0 !important;
   }
   }


Line 60: Line 66:
       padding-top: 1px;
       padding-top: 1px;
     }
     }
  }
  #site-navigation, #site-tools, #page-tools {
    background: #eee !important;
   }
   }


Line 81: Line 91:


   #mw-header-nav-hack {
   #mw-header-nav-hack {
    background: #eee !important;
     .color-middle, .color-left, .color-right {
     .color-middle, .color-left, .color-right {
       background: #E5B91A;
       background: #E5B91A;
Line 91: Line 103:
     border-bottom: solid 4px #E5B91A;
     border-bottom: solid 4px #E5B91A;


     input[type="button"], input[type="submit"] {
     input[type="button"], input[type="submit"], #wpCreateaccount {
       background-color: #E5B91A !important;
       background-color: #E5B91A !important;
       color: #11151C !important;
       color: #11151C !important;
Line 99: Line 111:
         color: #fff !important;
         color: #fff !important;
       }
       }
    }
    #mw-content {
      background: #eee !important;
     }
     }


Line 104: Line 120:
       border-color: #52698C;
       border-color: #52698C;
       padding-bottom: 6px;
       padding-bottom: 6px;
    }
    .mw-indicators {
      font-family: 'Space Mono',monospace !important;
      .mw-helplink-icon { display: none; }
     }
     }


     .tools-inline li {
     .tools-inline li {
      font-family: 'Space Mono',monospace !important;
       padding-bottom: 2px;
       padding-bottom: 2px;


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


       &#ca-nstab-main a, &#ca-nstab-mediawiki a, &#ca-talk a, &#ca-edit a, &#ca-history a {
       &:not(.mw-watchlink) a {
         background: none;
         background: none;
         padding: 0 2px;
         padding: 0 2px;
Line 120: Line 142:
       font-family: 'Space Mono', monospace !important;
       font-family: 'Space Mono', monospace !important;
       background: none;
       background: none;
      margin: 0;


       a:first-of-type {
       a:first-of-type {
Line 137: Line 160:
     #footer-poweredbyico {
     #footer-poweredbyico {
       background: #8197b8;
       background: #8197b8;
       padding: 4px 8px 4px 4px;
       padding: 4px;
       border-radius: 5px;
       border-radius: 5px;
     }
     }
   }
   }
}
}

Latest revision as of 21:52, 5 July 2026

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

  .mw-createacct-benefits-heading, .mw-number-text, .mw-number-text strong {
    font-family: 'Space Mono', monospace !important;
    background: none !important;
    padding: 0 !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;
    }
  }

  #site-navigation, #site-tools, #page-tools {
    background: #eee !important;
  }

  @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 {
    background: #eee !important;

    .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"], #wpCreateaccount {
      background-color: #E5B91A !important;
      color: #11151C !important;
      border-color: #E5B91A !important;

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

    #mw-content {
      background: #eee !important;
    }

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

    .mw-indicators {
      font-family: 'Space Mono',monospace !important;
      .mw-helplink-icon { display: none; }
    }

    .tools-inline li {
      font-family: 'Space Mono',monospace !important;
      padding-bottom: 2px;

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

      &:not(.mw-watchlink) 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;
      border-radius: 5px;
    }
  }
}