MediaWiki:Theme-Corruption.css

From Terraria Wiki
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.
/* theme: Corruption */
/*** Corruption theme ***/
:root {
  /* common */
  --theme-border-color--rgb: 0, 0, 0;
  --theme-highlight-background: rgba(20,20,20, 0.25);
  --theme-box-border-color-invert: rgba(255,255,255, 0.1);
  --theme-button-background: linear-gradient(rgba(20,20,20, 0.2), rgba(20,20,20, 0.2)), var(--theme-button-background-active);
  --theme-button-border-color: rgba(143, 119, 155, 0.7) rgba(57, 33, 86, 0.7) rgba(57, 33, 86, 0.7) rgba(143, 119, 155, 0.7);
  --theme-button-background-active: #7b573d var(--theme-image-button-background) center center / cover repeat-x;
  --theme-button-border-color-active: rgb(143, 119, 155) rgb(57, 33, 86) rgb(57, 33, 86) rgba(143, 119, 155);
  /* sidebar/content common */
  --theme-box-shadow: 0px 0px 15px 0px rgba(10,10,10, 0.7);
  /*** sidebar ***/
  --theme-sidebar-box-background: linear-gradient(rgba(20,20,20, 0.1), rgba(20,20,20, 0.1)),
  #60473b url(https://terraria.wiki.gg/images/f/f7/Content-background-corruption.jpg);
  --theme-sidebar-box-border-style: solid;
  --theme-sidebar-box-border-color: var(--theme-content-border-color); /* set it to "transparent" for no border */
  --theme-sidebar-box-shadow: var(--theme-box-shadow);
  --theme-sidebar-heading-text-color: var(--theme-text-color);
  --theme-sidebar-heading-arrow-color: rgba(234,227,209, 0.5);
  --theme-sidebar-heading-arrow-color-hover: rgb(234,227,209);
  --theme-sidebar-heading-background: rgba(20,20,20, 0.15);
  --theme-sidebar-heading-background-hover: var(--theme-sidebar-heading-background); /* for hover effect */
  /* following 3 values will affect the space between the heading and the list */
  --theme-sidebar-heading-border-bottom: 1px solid rgb(10,10,10);
  --theme-sidebar-list-border-top: 1px solid rgba(255,255,255, 0.1); /* will be hidden when collapsed */
  --theme-sidebar-list-padding-top: 4px;
  --theme-sidebar-list-item-background: none;
  --theme-sidebar-list-item-hover-mask: rgba(20,20,20, 0.25);
  --theme-sidebar-list-item-text-color: var(--theme-text-color-em);
  --theme-sidebar-list-item-text-color-hover: var(--theme-text-color-em);
  /* responsive */
  --theme-sidebar-box-background-2: #60473b url(https://terraria.wiki.gg/images/5/5a/Navbar-background-corruption.jpg);
  --theme-sidebar-dropdown-background: #60473b url(https://terraria.wiki.gg/images/f/f7/Content-background-corruption.jpg);
  /*** content box ***/
  --theme-content-background: #55424b;
  --theme-content-border-bottom-width: 0;
  --theme-content-border-style: solid;
  --theme-content-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-content-subpage-icon-color: rgba(234,227,209,0.4); /* color for "<" */
  /** category: box **/
  --theme-content-category-background: rgba(20,20,20, 0.25);
  --theme-content-category-border-style: solid;
  --theme-content-category-border-color: rgba(13, 4, 2, 0.5) rgba(255,255,255, 0.1) rgba(255,255,255, 0.1) rgba(13, 4, 2, 0.5);
  /** notification **/
  --theme-notification-background: url(https://terraria.wiki.gg/images/3/3d/Notification-background-corruption.png);
  --theme-notification-border-color: #cdab7b #562f21 #562f21 #cdab7b;
  --theme-notification-shadow: 0px 0px 10px 0px rgb(var(--theme-shadow-color-rgb));
  /******* "real" wiki content ********/
  --theme-widget-toc-arrow-color: rgba(234,227,209, 0.5);
  --theme-widget-toc-arrow-color-hover: rgba(234,227,209);
  --theme-widget-toc-item-hover-background: rgba(20,20,20, 0.25);
  --theme-collapsible-toggle-icon-color: var(--theme-text-color-note);
  --theme-collapsible-toggle-icon-color-hover: var(--theme-link-color-hover);
}
:root {
  --theme-site-background: #6a5a89 url(https://terraria.wiki.gg/images/e/e3/Site-background-corruption.jpg) center top / cover no-repeat fixed;
  --theme-site-logo-image: url(https://terraria.wiki.gg/images/d/d6/Site-logo-corruption.png);
}
:root {
  --theme-background: #55424b;
}
:root {
  --theme-top-background: url(https://terraria.wiki.gg/images/a/ac/Grass-top-corruption.png) top left repeat-x; /* the "grass" */
}
:root {
  --theme-text-color: #eae3d1;
  --theme-text-color-note: #b5bdb2; /* note text */
  --theme-text-color-em: #bcddec;
  --theme-text-color-green: #00d200;
}
:root {
  --theme-link-color: #bcddec;
  --theme-link-color--rgb: 188, 221, 236;
  --theme-link-color-hover: #bcddec;
  --theme-link-color-visited: #bcddec;
}
:root {
  --theme-widget-background: linear-gradient(rgba(20,20,20, 0.1), rgba(20,20,20, 0.1)),
  #4c3d44 url(https://terraria.wiki.gg/images/f/f7/Content-background-corruption.jpg);
}
:root {
  --theme-dropdown-background: #4c3d44 url(https://terraria.wiki.gg/images/f/f7/Content-background-corruption.jpg);
}
#mw-panel {
  --theme-background: #41343e url(https://terraria.wiki.gg/images/5/5a/Navbar-background-corruption.jpg);
}
#mw-head {
  --theme-background: #41343e url(https://terraria.wiki.gg/images/5/5a/Navbar-background-corruption.jpg);
  --theme-tab-background-selected: #55424b; /* same as #content background */
  --theme-tab-background: linear-gradient(rgba(20,20,20, 0.4), rgba(20,20,20, 0.4)), #55424b;
}
#footer {
  --theme-background: linear-gradient(rgba(20,20,20, 0.3), rgba(20,20,20, 0.3)), #41343e url(https://terraria.wiki.gg/images/5/5a/Navbar-background-corruption.jpg);
}
:root {
  --oouihelper--progressive: var(--theme-link-color);
  --oouihelper--progressive-transparent: rgba(var(--theme-link-color--rgb), 0.6);
  --oouihelper--progressive-lighter: rgba(var(--theme-link-color--rgb), 0.8);
}
:root {
  --oouihelper--disabled: var(--theme-text-color-note);
}
:root {
  --oouihelper--borderdark: var(--theme-border-color);
  --oouihelper--borderdark-lighter: rgba(var(--theme-border-color--rgb), 0.85);
  --oouihelper--borderdark-hover: rgba(var(--theme-border-color--rgb), 0.9);
}
:root {
  --oouihelper--placeholdertext: var(--theme-text-color-note);
}
:root {
  --oouihelper--themerelated: #94829c;
  --oouihelper--themerelated-lighter: #a693ae;
  --oouihelper--themerelated-lighter-transparent: rgba(166, 147, 174, 0.6);
  --oouihelper--themerelated-lightest: #c7b4cf;
  --oouihelper--themerelated-darker: #7f6789;
  --oouihelper--themerelated-darkest: #61496b;
  --oouihelper--themerelated-disabled: rgba(148, 130, 156, 0.1);
  --oouihelper--themerelated-disabled-lighter: rgba(166, 147, 174, 0.6);
}
:root {
  --oouihelper--text-deeper: var(--theme-text-color);
}
:root {
  --ooui--button-background--hover: #7b573d url(https://terraria.wiki.gg/images/4/43/Button-background-corruption.jpg) center center / cover repeat-x;
}
:root {
  --ooui--button-border-top: 1px solid rgba(143, 119, 155, 0.7);
  --ooui--button-border-right: 1px solid rgba(57, 33, 86, 0.7);
  --ooui--button-border-top--hover: 1px solid rgb(143, 119, 155);
  --ooui--button-border-right--hover: 1px solid rgb(57, 33, 86);
  --ooui--button-color--hover: var(--oouihelper--text-deeper);
}
:root {
  --ooui--button-frameless-on-color: var(--oouihelper--text-deeper);
}
:root {
  --ooui--checkbox-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Echeck%3C/title%3E%3Cg fill=%22%2394829c%22%3E%3Cpath d=%22M7 14.17L2.83 10l-1.41 1.41L7 17 19 5l-1.41-1.42z%22/%3E%3C/g%3E%3C/svg%3E");
  --ooui--checkbox-icon--hover: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Echeck%3C/title%3E%3Cg fill=%22%23a693ae%22%3E%3Cpath d=%22M7 14.17L2.83 10l-1.41 1.41L7 17 19 5l-1.41-1.42z%22/%3E%3C/g%3E%3C/svg%3E");
}
:root {
  --ooui--tagitem-color--hover: var(--theme-link-color-hover);
}
:root {
  --ooui--progressbar-pending-background-color-1: rgba(var(--theme-link-color--rgb), 0.5);
  --ooui--progressbar-pending-background-color-2: rgba(var(--theme-border-color--rgb), 0.5);
}
:root {
  --ooui--messagewidget-notice-background-color: #3b303b;
  --ooui--messagewidget-notice-border-color: #1c151c;
}
:root {
  --ooui--icon-progressive-filter: brightness(0) invert(90%) sepia(18%) saturate(662%) hue-rotate(180deg) brightness(99%) contrast(91%);
}