MediaWiki:Theme-Underground.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: Underground */
.hp > div .text-red {
  /* high contrast */
  color: #fe7c7c;
}
.hp > div .text-golden {
  /* high contrast */
  color: #db9d40;
}
/*** Underground 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(120, 118, 162, 0.7) rgba(63, 44, 92, 0.7) rgba(63, 44, 92, 0.7) rgba(120, 118, 162, 0.7);
  --theme-button-background-active: #3e393d var(--theme-image-button-background) center center / cover repeat-x;
  --theme-button-border-color-active: rgb(120, 118, 162) rgb(63, 44, 92) rgb(63, 44, 92) rgb(120, 118, 162);
  /* 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/8/84/Content-background-underground.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/a/ae/Navbar-background-underground.jpg);
  --theme-sidebar-dropdown-background: #60473b url(https://terraria.wiki.gg/images/8/84/Content-background-underground.jpg);
  /*** content box ***/
  --theme-content-background: #3e393d;
  --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/c/c0/Notification-background-underground.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);
  /* temp */
  --theme-image-button-background: url(https://terraria.wiki.gg/images/0/0a/Button-background-underground.jpg);
}
:root {
  --theme-site-background: #000 url(https://terraria.wiki.gg/images/1/1b/Site-background-underground.jpg) center top / cover no-repeat fixed;
  --theme-site-logo-image: url(https://terraria.wiki.gg/images/d/d2/Site-logo-underground.png);
}
:root {
  --theme-background: #3e393d;
}
:root {
  --theme-top-background: url(https://terraria.wiki.gg/images/1/15/Grass-top-underground.png) top left repeat-x; /* the "grass" */
}
:root {
  --theme-text-color: #f7e8d1; /* main text color. 234,227,209 */
  --theme-text-color-note: #b5bdb2; /* note text */
  --theme-text-color-em: #f7e8d1; /* 196,235,208 */
  --theme-text-color-green: #00be00;
  --theme-text-color-red: #fe7c7c;
}
:root {
  --theme-link-color: #9cfffd;
  --theme-link-color--rgb: 156, 255, 253;
  --theme-link-color-hover: #9cfffd;
  --theme-link-color-visited: #9cfffd;
}
:root {
  --theme-widget-background: linear-gradient(rgba(20,20,20, 0.1), rgba(20,20,20, 0.1)),
  #444041 url(https://terraria.wiki.gg/images/8/84/Content-background-underground.jpg);
}
:root {
  --theme-dropdown-background: #444041 url(https://terraria.wiki.gg/images/8/84/Content-background-underground.jpg);
}
#mw-panel {
  --theme-background: #40404a url(https://terraria.wiki.gg/images/a/ae/Navbar-background-underground.jpg);
}
#mw-head {
  --theme-background: #40404a url(https://terraria.wiki.gg/images/a/ae/Navbar-background-underground.jpg);
  --theme-tab-background-selected: #3e393d; /* same as #content background */
  --theme-tab-background: linear-gradient(rgba(20,20,20, 0.4), rgba(20,20,20, 0.4)), #3e393d;
}
#footer {
  --theme-background: linear-gradient(rgba(20,20,20, 0.3), rgba(20,20,20, 0.3)), #40404a url(https://terraria.wiki.gg/images/a/ae/Navbar-background-underground.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: #8696b6;
  --oouihelper--themerelated-lighter: #9caccc;
  --oouihelper--themerelated-lighter-transparent: rgba(156, 172, 204, 0.6);
  --oouihelper--themerelated-lightest: #b7c7e6;
  --oouihelper--themerelated-darker: #62708a;
  --oouihelper--themerelated-darkest: #4b586e;
  --oouihelper--themerelated-disabled: rgba(134, 150, 182, 0.1);
  --oouihelper--themerelated-disabled-lighter: rgba(156, 172, 204, 0.6);
}
:root {
  --oouihelper--text-deeper: var(--theme-text-color);
}
:root {
  --ooui--button-background--hover: #7b573d url(https://terraria.wiki.gg/images/0/0a/Button-background-underground.jpg) center center / cover repeat-x;
}
:root {
  --ooui--button-border-top: 1px solid rgba(120, 118, 162, 0.7);
  --ooui--button-border-right: 1px solid rgba(63, 44, 92, 0.7);
  --ooui--button-border-top--hover: 1px solid rgb(120, 118, 162);
  --ooui--button-border-right--hover: 1px solid rgb(63, 44, 92);
  --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%238696b6%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%239caccc%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: #343031;
  --ooui--messagewidget-notice-border-color: #1f1c1e;
}
:root {
  --ooui--icon-progressive-filter: brightness(0) invert(90%) sepia(18%) saturate(662%) hue-rotate(140deg) brightness(99%) contrast(91%);
}