MediaWiki:Theme-Dark.css

来自Fear and Hunger Wiki
跳转到导航 跳转到搜索

注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:Ctrl-F5
:root {
/* default to dark theme */
  --theme-site-background-L-D: url(/images/c/c4/Site-background-dark.jpg) center top / cover no-repeat fixed;
/*  --theme-site-logo-L-D: url(/images/e/e6/Site-logo.png);*/
  --theme-site-logo-L-D: url(/zh/images/2/2d/Site-logo-Dark.png);
  --wiki-content-background-color: #060606;
  --wiki-content-background-color--rgb: 6,6,6;
  --wiki-content-background-color--secondary: #2b2b2b;
  --wiki-content-background-color--secondary--rgb: 43,43,43;
  --theme-link-color-redlink: #bf0017;
  --table-navbox-border-color: 1px solid #838383;
  --table-navbox-font-color: white;
  --table-navbox-subgroup-color: #0E0E0E;
  --table-navbox-th-color: none repeat scroll 0 0 #2b2b2b;
  --table-navbox-subgroup-title-color: none repeat scroll 0 0 #2b2b2b;
  --table-navbox-subgroup-abovebelow-color: none repeat scroll 0 0 #606060;
  --table-navbox-subgroup-even-color: none repeat scroll 0 0 #2E2E2E;
  --table-navbox-selflink-color: #d1d1d1;
  --theme-text-color-em: #af8965;
  --theme-widget-border-color: rgba(255,255,255,0.1) rgba(13,4,2,0.2) rgba(13,4,2,0.2) rgba(255,255,255,0.1);
  --theme-link-color: #af8965;
  --theme-link-color-visited: #af8965;
  --theme-link-color-visited: #af8965;    
  --theme-link-color-hover: #af8965;
  --theme-link-color-accent: #af8965;
  --theme-text-color: white;
  --theme-widget-background: linear-gradient(rgba(20,20,20,0.1),rgba(20,20,20,0.1)),#2a2a2a;
  --theme-background: url(/zh/images/3/39/Bg-fh-icon-dark.png) repeat rgba(26,26,26,0.9);
  --theme-tab-background: linear-gradient(rgba(20,20,20,0.1),rgba(20,20,20,0.1)),#2a2a2a;
  --theme-background-head: linear-gradient(rgba(20,20,20,0.1),rgba(20,20,20,0.1)),#2a2a2a;
  --theme-tab-background-head: linear-gradient(rgba(20,20,20,0.4),rgba(20,20,20,0.4)),#464646;
  --wiki-table-backgrond-head: #2b2b2b;
  --wiki-table-backgrond: #060606;
  --wiki-content-border-color: #2b2b2b;
}
:root {
      --wiki-body-dynamic-color: #fff;
      --wiki-body-dynamic-color--rgb: 255, 255, 255;
      --wiki-body-dynamic-color--inverted: #000;
      --wiki-body-dynamic-color--inverted--rgb: 0, 0, 0;

      --wiki-content-background-color: #060606;
      --wiki-content-background-color--rgb: 6,6,6;
      --wiki-content-background-color--secondary: #2b2b2b;
      --wiki-content-background-color--secondary--rgb: 43,43,43;
      --wiki-content-border-color: #3e3e3e;
      --wiki-content-text-color: #e6e6e6;
      --wiki-content-text-color--rgb: 230,230,230;
      --wiki-content-link-color: #af8965;
      --wiki-content-link-color--rgb: 175,137,101;
      --wiki-content-link-label-color: #000;
      --wiki-content-redlink-color: #bf0017;
      --wiki-content-text-mix-color: #767676;
      --wiki-content-text-mix-color-95: #111111;
      --wiki-content-dynamic-color: #fff;
      --wiki-content-dynamic-color--rgb: 255, 255, 255;
      --wiki-content-dynamic-color--inverted: #000;
      --wiki-content-dynamic-color--inverted--rgb: 0, 0, 0;
      --theme-heading-color:var(--wiki-content-link-color);
      --wiki-heading-color: #EAEAEA;
  
      --wiki-accent-color: #7d2e2b;
      --wiki-accent-color--rgb: 125,46,43;
      --wiki-accent-color--hover: #c1504c;
      --wiki-accent-text-color: #fff;
  
      --wiki-sidebar-background-color: var(--wiki-content-background-color);
      --wiki-sidebar-border-color: var(--wiki-content-border-color);
      --wiki-sidebar-link-color: var(--wiki-content-link-color);
      --wiki-sidebar-header-color: var(--wiki-heading-color);
  
      --wiki-navigation-background-color: #7d2e2b;
      --wiki-navigation-border-color: var(--wiki-content-border-color);
      --wiki-navigation-text-color: #fff;
  
      --wiki-alert-color: #bf0017;
      --wiki-alert-color--rgb: 191,0,23;
      --wiki-alert-label-color: #fff;
      --wiki-warning-color: #cf721c;
      --wiki-warning-color--rgb: 207, 114, 28;
      --wiki-success-color: #0c742f;
      --wiki-success-color--rgb: 12, 116, 47;
      --wiki-success-label-color: #fff;
  
      --table-navbox-border-color: 1px solid #838383;
      --table-navbox-font-color: white;
      --table-navbox-subgroup-color: #0E0E0E;
      --table-navbox-th-color: none repeat scroll 0 0 #2b2b2b;
      --table-navbox-subgroup-title-color: none repeat scroll 0 0 #2b2b2b;
      --table-navbox-subgroup-abovebelow-color: none repeat scroll 0 0 #606060;
      --table-navbox-subgroup-even-color: none repeat scroll 0 0 #2E2E2E;
      --table-navbox-selflink-color: #d1d1d1;
      --tabber-header-color: invert(1);
      --theme-icon-color: white;
      --theme-tab-background-selected: #262626; /* same as #content background */
  }
.oo-ui-iconElement-icon {
  filter: invert(100%);
}
.mw-ui-icon-before::before {
  filter: invert(1);
}
.CodeMirror {
    --codemirror-yellow: #ffd700;
    --codemirror-light-blue: #adf;
    --codemirror-blue: #08f;
    --codemirror-green: #290;
    --codemirror-red: #f50;
    --codemirror-dark-red: #dd1616;
    --codemirror-purple: #a900fe;
    --codemirror-pink: #e0e;
    --codemirror-light-gray: #eee;
    --codemirror-gray: #84a0a0;
}