MediaWiki:Common.css

From Zeah RSPS - Wiki
Revision as of 19:14, 14 February 2022 by Soulgazer (talk | contribs)
Jump to navigation Jump to search

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.
/* CSS placed here will be applied to all skins */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }

/* <pre> */
:root {
    --body-main: #e2dbc8;
    --body-light: #d8ccb4;
    --body-mid: #d0bd97;
    --body-dark: #b8a282;
    --body-border: #94866d;
    --body-background-color: #c0a886;
    --button-background: #605443;
    --button-color: #ffffff;
    --button-border: #3c352a;
    --button-dark: #18140c;
    --button-light: #3a301d;
    --sidebar: #cfc08d;
    --sidebar-text-color: #444444;
    --sidebar-link-color: #442b18;
    --background-text-color: #444;
    --background-link-color: #52351e;
    --search-box: #efeee6;
    --link-color: #936039;
    --redlink-color: #ba0000;
    --text-color: #000;
    --admin-blue: #332e75;
    --bearcat-green: #13592e;
    --awb-purple: #933b96;
    --rsw-blue: #438ab6;
    --osrsw-brown: #605443;
}

#mw-content-text {
    line-height: 1.6em;
}

.mw-body-content {
    font-size: 0.9em;
    line-height: 1.8em;
}

::root {
    --base-text-color: #444e5a;
    --base-heading-color: #444e5a;
    --base-heading-border: #e4eaee;
    --mw-code-background-color: #ddd4bb;
    --ul-list-style-image: url("data:image/svg+xml,%3C?xml version='1.0' encoding='UTF-8'?%3E %3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' width='5' height='13'%3E %3Ccircle cx='2.5' cy='9.5' r='2.5' fill='%234c4c4c'/%3E %3C/svg%3E");
    --body-background-image: url('https://wiki.zeah.gg/w/images/e/e1/Zeah_Wiki_background.jpg');
}

#n-Discord a {
    color: white !important;
    font-size: 12px;
    font-weight: bold;
    border-radius: 5px;
    border: 1px solid #4c57d0;
    background-color: #5865f2;
    display: block;
    position: relative;
    padding: 4px 0 5px calc(17px + 6.5px * 2);
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
    transition: 0.2s ease;
}

#n-Discord a::before {
    content: 'Chat on ';
    font-weight: normal;
    opacity: 0.85;
}

#n-Discord a::after {
    content: '';
    background: url(/w/images/Discord_icon.png) no-repeat;
    background-size: 17px 13px;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
    position: absolute;
    top: 5px;
    left: 7px;
    width: 17px;
    height: 13px;
}

#n-Discord a:hover {
    text-decoration: none;
    background-color: #000000!important;
}

.mainpage-header .header-intro {
    flex: 2;
}

.mainpage-header .header-intro h1 {
    font-size: 2.5em;
    font-weight: bold;
    border: none;
    margin: 0 0 0.15em;
}

.mainpage-header .header-intro p {
    font-size: 1.1em;
    line-height: 1.7em;
}